On top of the coding rules provided by the SonarQube engine, you can activate rules from Checkstyle, FindBugs, PMD, Clirr, and fb-contrib. ButHowever, we highly recommend you to use rules that you limit your Quality Profiles to from the SonarQube engine as much as possible because we believe that they are faster, more accurate (fewer false positives and false negatives), faster and more usable (they have better descriptions, etc). Read this blog post for more details.
The Java Ecosystem is compatible with the SonarQube Eclipse and SonarQube IntelliJ plugins for tracking issues while coding. It is also compatible with the Issues Report plugin to run pre-commit local analysis.
Run a SonarQube Analysis
- Java Ecosystem FAQ
- Metric definitions
- Additional plugins are available:
- Extending Coding Rules using XPath. To navigate the AST, download the SSLR Java Toolkit.
All the valuable rules from PMD and Checkstyle were rewritten based on our own SSLR technology. These rules are now available in the SonarQube repository. Deprecated rules from PMD and Checkstyle are flagged as so and their replacement is stated in the rule description:
sonar.surefire.reportsPathis deprecated. Use has been removed and replaced by