Open Source Projects

Go to the page: Free PVS-Studio License for Open Source

Enter your name and the e-mail, to which you'd like to receive a license key;

Enter the link to your GitHub/GitLab/Bitbucket profile;

Send a request for a free license.

Closed Projects

// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

Security experts

Microsoft MVP

Conclusion

A trial analyzer version is available on the site. Here is the page where you can download PVS-Studio and get a trial key.

A company can purchase the license and get quick and proficient support. Your developers will communicate directly with our developers from the PVS-Studio team. No middlemen, support staff and so on. Only direct communication with programmers and me (technical director). Example.

There are several ways to get a free license of the PVS-Studio static code analyzer, which is meant for searching for errors and potential vulnerabilities. Open source projects, small closed projects, public security specialists and owners of the Microsoft MVP status can use the license for free. The article briefly describes each of these options. PVS-Studio is a tool designed to detect errors and potential vulnerabilities in the source code of programs, written in C, C++, C# and Java. It works in Windows, Linux and macOS environments.PVS-Studio is a paid B2B solution, it is used by many teams in various companies. List of clients So let's consider the cases, when the PVS-Studio analyzer can be used free of charge.PVS-Studio can be used for free by the programmers, participating in development of open source projects, posted on GitHub, GitLab or Bitbucket. Everyone who wishes, can get a free license for 1 year. To get a license, you need to:Upon expiration of the license, you can get a new license key in the same way.The key is individual and can only be used to check open source projects hosted on GitHub/GitLab/Bitbucket. Free license doesn't extend to projects' mirrors.More details about this type of free licensing are given in the article " Free PVS-Studio for those who develops open source projects ".There are many small private projects developed by enthusiasts. For example, games, created by indie developers or projects of academic focus.The option of free licensing, based on adding comments of a special type in the code, will be right for these projects. The point is that such comments are unacceptable in large corporate projects, but developers may well add them in their individual projects.Here are these comments:By the way, this type of free licenses can be actually used not only in closed, but in open projects as well.You need to go through two steps to start using PVS-Studio code analyzer for free.If you are using PVS-Studio as a Visual Studio plugin or you're using the Standalone utility, then enter the following license key:Name: PVS-Studio FreeKey: FREE-FREE-FREE-FREEIf you are using PVS-Studio for Linux, then go to the second step, you won't need a license file.Make edits in all the compilable files of your project. We mean files with the extensions c, cc, cpp, cs, java and others. You don't have to change header files.You have to write two lines of comments at the beginning of each file. If your project has a large number of files, then you can use the 'how-to-use-pvs-studio-free' utility. You will need to specify the comment to insert and the directory with the code. After that the utility will recursively traverse all the files in the folder and subfolders, adding necessary comments to the code. You can download the utility (together with the source code) here: how-to-use-pvs-studio-free You can read about some additional details of this type of free licensing in the article " How to use PVS-Studio for Free ". Please, be sure to read this article in case if you decided to choose the above option of free usage.Public security experts, specialized in searching for vulnerabilities, can write to us and get a free license for the PVS-Studio analyzer.Everyone who wishes to get the license and support will have to confirm, that they specialize in security issues and conduct public activities, for example, write articles. We'll specify these things by mail.Read more: " Handing out PVS-Studio Analyzer Licenses to Security Experts ".The first people, whom we offered free licenses, were Microsoft MVPs. The post " Free PVS-Studio licenses for MVPs " appeared back in 2011. Hardly anyone remembers about this now, but this offer still stands.If you are a Microsoft MVP, email us and specify your MVP profile on Microsoft's website. We will send you the license, which allows using PVS-Studio for 12 months without any restrictions, including usage for commercial purposes. After it expires, it will be possible to extend the license.We probably need to remind about the main scenario.Thanks for your attention and we wish you to prevent as many errors as possible by using PVS-Studio. Just don't forget that the point of static code methodology is in its regular use, not in single checks. Good luck!