PMD

Description

PMD scans Java source code and looks for potential problems like possible bugs, dead code, sub-optimal code, overcomplicated expressions, duplicate code... The XML results file it generates is read to create findings.

For more details, refer to http://pmd.sourceforge.net.

Usage

PMD has the following options:

  • XML results file ( xml ) Specify the path to the PMD XML results file. Note that the minimum supported version of PMD for this data provider is 4.2.5.​

The full command line syntax for PMD is:

-d "type=PMD,xml=[text]"