17.5. PMD Plugin

PMD finds 'violations' (common programming flaws) in Java code.

The user can specify custom rule sets for the PMD plugin as comma separated entries of the 'Rule Sets' field on the corresponding property page. If no rule set is specified for the PMD plugin an internal default rule set is used.

NOTE: The path of a custom rule set needs to start with either './' or '../'. Those relative paths are resolved relative to the parent directory containing the Sonargraph system folder. E.g.: If the system is called 'MySystem' those relative paths are resolved relative to the parent directory of the directory 'MySystem.sonargraph'.