Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
PVS-Studio 7.23: Qt Creator 9 plugin, a…

PVS-Studio 7.23: Qt Creator 9 plugin, and more

Feb 16 2023

PVS-Studio 7.23 is released. We improved the Qt Creator support, increased the stability of PVS-Studio Java, solved issues with the analysis of NMake projects, added a number of new diagnostics, and much more. The following note describes the details.

1034_PressRelease_7_23/image1.png

Improved Qt Creator support

In the previous release, we released the PVS-Studio plugin for Qt Creator. It looks as follows (click the screenshot to enlarge the picture):

1034_PressRelease_7_23/image2.png

Almost at the same time, Qt Creator 9 was released. Of course, back then we wouldn't have had time to support the new version. However, now the PVS-Studio plugin works for Qt Creator 9.0.* versions.

Moreover, the 7.23 release made it possible to use the plugin for Qt Creator not only on Windows and Linux, but also on macOS on the x86-64 architecture.

For now, the plugin allows you to open the report, view warnings, filter them, etc. In future releases, we plan to add the ability to run analysis in the plugin.

You can find the documentation for the plugin here.

Stabilized Java analyzer

Some time ago, we found some issues with the Java analyzer on Unix systems. In some cases, the analyzer crashed right after starting and issued an error as follows:

1034_PressRelease_7_23/image4.png

The issue appeared due to undetected dependency libraries. We fixed this issue in the 7.23 release. Now, Java developers can use PVS-Studio to analyze their projects on Unix systems :). If you still have this or any other error, feel free to email us — we will try to help.

Solved issues with NMake projects analysis

Sometimes, the following error appeared when analyzing a CMake project that uses NMake:

1034_PressRelease_7_23/image6.png

This issue relates to NMake restrictions on the length of the command, however, we managed to solve it. Now, the analyzer successfully generates a report for the entire project.

If you've previously tried PVS-Studio and encountered the described error, then try a new version where we solved the issue.

New diagnostics

C, C++

  • V1093. The result of the right shift operation will always be 0. The right operand is greater than or equal to the number of bits in the left operand.
  • V1094. Conditional escape sequence in literal. Its representation is implementation-defined.

C#

  • V3184. The argument's value is greater than the size of the collection. Passing the value into the 'Foo' method will result in an exception.
  • V3185. An argument containing a file path could be mixed up with another argument. The other function parameter expects a file path instead.
  • V3186. The arguments violate the bounds of collection. Passing these values into the method will result in an exception.

Entertainment

This time our team made quite an addictive game — Endless coding:

1034_PressRelease_7_23/image7.png

You can try it here. Be careful — the game is very relatable!

We also created a Christmas quiz — Save Christmas from bugs! You can take it here. You will have to answer questions about Christmas bug stories in various well-known companies.

1034_PressRelease_7_23/image8.png

A great opportunity to feel the holiday atmosphere again :).

You can also take our quick poll. A small gift will be waiting for you at the end.

Articles

For C++ developers:

For C# developers:

What else to read:

**

You can download the latest PVS-Studio version here.

If you want to get press releases by email, subscribe to the newsletter.

Popular related articles


Comments (0)

Next comments next comments
close comment form
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam