Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonarqube, PMD, findbugs and checkstyle

Tags:

java

sonarqube

I am using sonarqube community version 6.7.2, and, as I remember, SonarJava plugin was aiming to replace (mostly at least) Findbugs and PMD rules by squid ones. There was an information on rules from those providers when there was a proper squid rule replacement, but now I am unable to find it and some rules from findbugs, for example, are very similar to others I know from squid.

Sonarqube recommends using only squid rules? Does those rules replaces well rules from PMD and Findbugs?

like image 657
VitorCruz Avatar asked Oct 19 '25 13:10

VitorCruz


1 Answers

It is recommended to use squid rules because they are supported by SonarLint.

Unfortunately, there is no available a rules mapping which allows you to easily migrate from Checkstyle, FindBugs or PMD to SonarJava plugin (it was, but has been dropped: Where is dist.sonarsource.com content?).

like image 178
agabrys Avatar answered Oct 22 '25 01:10

agabrys



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!