Webinar: Evaluation - 05.12
PVS-Studio 7.22 has been released. It includes plugins for Visual Studio Code and Qt Creator, support of .NET 7 projects analysis, enhanced Best Warnings filter and new diagnostic rules. Learn more information on the release in this short note.
Plugins for Visual Studio Code and Qt Creator
New plugins provide even more options for cross-platform work. Now you can use them to work with logs: view warnings, filter them, sort them in a grid, etc. You can't run the analysis yet — we plan to add this feature in future releases.
This is how the plugin for Visual Studio Code looks like (the screenshot is clickable):
And here is the plugin for Qt Creator (the screenshot is also clickable):
The documentation on the new plugins can be found on the following pages:
Support of Blazor components analysis, C# 11, and .NET 7
In this case, pretty much everything is evident from the title. The C# analyzer on Linux and macOS now works on .NET 7 as well.
Let us clarify a couple of things regarding Blazor components: PVS-Studio now checks @code blocks in .razor files. We're going to write an article exploring this topic in more details.
Enhanced Best Warnings mechanism
Best Warnings is a mechanism that selects the analyzer's most interesting warnings. It's particularly useful when you try PVS-Studio for the first time, as it helps you see in one click the most interesting issues the analyzer has detected.
There are several Best Warnings updates in this release at once:
1. We've modified the filter interface. The "Best Warnings" button is now easier to find — you can see it on the main panel of the PVS-Studio main window (the screenshot is clickable):
If needed, you can hide the filter button through the settings (the "Show Best Warnings Button" option).
2. We've adjusted the "weights" of diagnostics and selection algorithms. This should make the list of warnings more interesting.
3. We've integrated the filter into several more IDEs. Previously, the Best Warnings mechanism was only available in the Visual Studio plugin. Now, in addition to VS, the filter can be used in the "C and C++ Compiler Monitoring UI" utility, as well as in plugins for IntelliJ IDEA, Rider, CLion.
See the updated Best Warnings documentation on this page.
New diagnostic rules
C, C++
C#
Articles
For those who code in C++:
For those who code in C#:
Other:
**
You can download PVS-Studio 7.22 here.
Subscribe to the PVS-Studio newsletter to receive the PVS-Studio press releases by email.
0