Pour obtenir une clé
d'essai remplissez le formulaire ci-dessous
Demandez des tariffs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
RUB
* En cliquant sur ce bouton, vous acceptez notre politique de confidentialité

Free PVS-Studio license for Microsoft MVP specialists
To get the licence for your open-source project, please fill out this form
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

I am interested to try it on the platforms:
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

Votre message a été envoyé.

Nous vous répondrons à


Si vous n'avez toujours pas reçu de réponse, vérifiez votre dossier
Spam/Junk et cliquez sur le bouton "Not Spam".
De cette façon, vous ne manquerez la réponse de notre équipe.

>
>
PVS-Studio as a plugin for SonarQube

PVS-Studio as a plugin for SonarQube

16 Jui 2017

SonarQube is an open source platform, designed for continuous analysis and measurement of code quality. More than a year PVS-Studio has a plugin for the integrating the results of the work in SonarQube. Thanks to it, the abilities of detection critical errors in C/C++/C# can be expanded by the functionality of the quality monitoring. PVS-Studio and SonarQube greatly complement each other, allowing to build a powerful factory to bring the program code to the ideal state.

0513_PVS-Studio_and_SonarQube/image1.png

High-quality static analysis, in addition to the analysis itself, includes tasks of displaying the results of the work in the user-friendly format and providing a wide range of abilities to handle these results. Following these principles, PVS-Studio analyzer offers the following features:

  • Working with the bug report right in the tool window of Microsoft Visual Studio or a separate Standalone utility. Navigation along the code, filtering and sorting of the report, suppression of the display of certain warnings, particular files and folders are excluded from the analysis and so on.
  • The report file (xml) can be converted to a readable format (html, text) for further distribution among those who are interested.
  • The error list can be mailed to those developers who made the errors. To do this, there are special utilities built in PVS-Studio.
  • To accumulate the launch statistics and its further analysis in dynamics, there is a possibility to use a special tool Analysis Statistics, built into plugin for Microsoft Visual Studio or Standalone utility.

However, for the full management of the software project lifecycle, it's necessary to control not only errors, but also other metrics of the source code: the number of rows, cyclomatic complexity, amount of errors per KLOC, unit test code coverage, duplication and so on.

Despite the fact that PVS-Studio does not have built-in tools for continuous analysis and measurement of code quality, thanks to the possibility of integration with the SonarQube platform, all this is available to users of the Enterprise version of PVS-Studio already out of the box.

Using the PVS-Studio plugin for the integration of the C/C++/C# analysis results to SonarQube, in addition to the power of PVS-Studio, you get the following abilities:

  • Reports of code duplication, compliance with the coding standards, unit tests coverage, possible errors in the code, density of comments in the code, technical debt and much more.
  • Storing the history of metrics and building graphs for the changes of these metrics over time.
  • Fully automated analysis: integration with Maven, Ant, Gradle and common continuous integration systems.
  • Integration with such IDEs as Visual Studio, IntelliJ IDEA and Eclipse plugin using SonarLint.
  • Integration with external tools: JIRA, Mantis, LDAP, Fortify and so on.
  • Possibility of extending the existing functionality with the help of third-party plugins.
  • SQALE methodology to evaluate the technical debt.

Configuring of the SonarQube plugin won't take more than 15 minutes, after that you can load the analysis results to SonarQube using PVS-Studio and start using all the abilities of this tool, for example:

  • Advanced abilities of filtering, categorisation and sorting of warnings:
0513_PVS-Studio_and_SonarQube/image2.png

  • Code navigation:
0513_PVS-Studio_and_SonarQube/image3.png

  • Metrics and reports:
0513_PVS-Studio_and_SonarQube/image4.png

0513_PVS-Studio_and_SonarQube/image6.png

  • And much more ...

You can find the full list of SonarQube features on the official site. This article provides a detailed description of the integration of PVS-Studio into SonarQube.

Check your C/C++/C# projects using PVS-Studio analyzer, implement continuous analysis and management of your code using SonarQube plugin!

Download and try PVS-Studio: http://www.viva64.com/en/pvs-studio/

An example of using PVS-Studio and SonarQube plugin in the analysis of PascalABC.NET is given in the article.

To purchase a commercial license, please contact us via the email. You can also write to us to get a temporary license key for a comprehensive investigation of PVS-Studio, if you want to avoid the limitations of the demo version.

Popular related articles
I want to use PVS-Studio in my project. The manager is against it. How to convince them?

Date: 02 Aoû 2022

Author: Sergey Vasiliev

You decided to integrate PVS-Studio into your project. But suddenly it turns out that the manager is against it, because... because why, actually? Let's try to figure out what to do with potential ob…
How PVS-Studio for Windows got new monitoring mode

Date: 14 Jui 2022

Author: Alexey Govorov

In PVS-Studio 7.18, the compiler monitoring utility for Windows got new mechanism that completely eliminates missed compiler launches. In this article, we will remind you how our analyzer copes with …
SAST in Secure SDLC: 3 reasons to integrate it in a DevSecOps pipeline

Date: 19 Avr 2022

Author: Sergey Vasiliev

Vulnerabilities produce enormous reputational and financial risks. That's why many companies are fascinated by security and desire to build a secure development life cycle (SSDLC). So, today we're go…
What's new in PVS-Studio in 2021?

Date: 31 Déc 2021

Author: Maxim Stefanov, Oleg Lisiy, Sergey Vasiliev

2021 is coming to an end, which means it's time to sum up the year! Today we'll tell you about the new features we added to PVS-Studio in the past year. Buckle up and let's go!
VSCode: how to view reports of static analyzers that support SARIF

Date: 09 Aoû 2021

Author: Nikolay Mironov

People increasingly start optimizing the process of finding code errors using static analyzers. Nowadays, we can choose from a variety of products to view analysis results. This post covers the ways …

Comments (0)

Next comments
Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter