I recently came across PVS Studio. I would like to know how PVS Studio is different from SonarQube. I see that, both tools perform static code analysis. I am trying to understand which is the best tool to opt for.
Any insights are helpful.
Best Regards Gowtham
You will certainly get additional advantage when using PVS-Studio together with SonarQube. We do not have a direct comparison between the analyzers, but you can look at this article: "Analysis of PascalABC.NET using SonarQube plugins: SonarC# and PVS-Studio". The thing is, SonarQube is a code quality assurance platform, and it is not primarily orientated at finding errors. In general, it looks for "code smells". For example, a file does not start with a comment block. This is not an error in itself. PVS-Studio is orientated toward finding the 'direct' errors.