Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top
>
>
PVS-Studio 7.23: Qt Creator 9 plugin, a…

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

16 Fév 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.

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):

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:

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:

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:

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.

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

S'abonner

Comments (0)

close comment form
close form

Remplissez le formulaire ci‑dessous en 2 étapes simples :

Vos coordonnées :

Étape 1
Félicitations ! Voici votre code promo !

Type de licence souhaité :

Étape 2
Team license
Enterprise licence
** En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité
close form
Demandez des tarifs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
La licence PVS‑Studio gratuit pour les spécialistes Microsoft MVP
close form
Pour obtenir la licence de votre projet open source, s’il vous plait rempliez ce formulaire
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
I want to join the test
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
check circle
Votre message a été envoyé.

Nous vous répondrons à


Si l'e-mail n'apparaît pas dans votre boîte de réception, recherchez-le dans l'un des dossiers suivants:

  • Promotion
  • Notifications
  • Spam