Description / Feature
To check code against rules provided by PMD.
This plugin is included in the Java Ecosystem.
It uses PMD to provide coding rules.
SonarQube Java Plugin
- Install the PMD plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory from the Java Ecosystem page
- Restart the Sonar server
In the quality profile, activate some rules from PMD and run a Sonar an analysis on your project.
sonar.java.source property to tell PMD which version of Java your source code complies to. The default value is 1.5. Possible values: 1.4, 1.5 or 5, 1.6 or 6, 1.7 or 7.