Recently, we have released a new PVS-Studio version — 7.19. In this note, we'll tell you about new features in the analyzer, the enhanced documentation, as well as what to read and... what to play.
Now, you can use PVS-Studio to analyze projects on Unreal Engine 5. For the most part, projects on UE 5 are analyzed in the same way as projects on UE 4. The difference is described in the documentation.
Unreal Engine 5 bug: Unable to find PVS-Studio
Unreal Engine 5 has a bug that doesn't let Unreal Build Tool find PVS-Studio by the default installation path. A pull request is made to fix this issue. The fix will be included in one of the next versions of the engine.
As of now, there's a temporary workaround. You can read about it in the documentation.
We have enhanced the work of the C++ analyzer with the QNX compilers:
The PVS-Studio plugin for SonarQube now supports JSON reports. Since PVS-Studio reports in the JSON format are available for all platforms, this simplifies cross-platform work scenarios.
The blame-notifier utility is used to notify developers and managers about code errors found by the analyzer. The notifications are sent via emails containing analyzer warnings.
Now you can attach files to such emails (for example, the full analyzer report) and change the subject of the email.
You can find the documentation for the blame-notifier utility here.
You can convert PVS-Studio analysis results to various formats using special utilities (PlogConverter.exe, plog-converter). To browse various formats, you can read the document which describes:
You can find the information here.
We have updated the documentation on using Unreal Engine and PVS-Studio. It describes:
The documentation is available here.
PVS-Studio enhancements
We not only improve the analyzer, but also tell you what we are doing, how and why. You can read about it in the following articles:
Project checks
We continue to check the quality of the Open Source projects code. What errors did we find there? Read in these articles:
We've made a quiz where you can test your skills and find errors in code fragments. So far, the quiz has only the C++ version. Do you want this quiz to be for C# too? Leave a comment. :)
You can play this game here.
You can download the latest version of PVS-Studio here. Don't have a license? Request a trial key!