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.
Some potential users complain that options of free licensing described here aren't user-friendly or don't suit them in order to try PVS-Studio. So here's a very important note: what is written here is not the way to try PVS-Studio! To investigate the abilities of the tool, one has to use a temporary license key that you can request on the download page. And only if you decide to use PVS-Studio (in addition, for free), this article will give a clue how to do it.

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.
Note. The free licensing option that required adding special comments to the code is no longer supported.
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!
0