PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, Salesforce.com Apex, PLSQL, Apache Velocity, XML, XSL.
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go, Swift and Salesforce.com Apex.

Latest version(s)

Latest version(s)

5.5.2 (5th November 2016)

5.4.3 (4th November 2016)

5.3.8 (4th November 2016)

Get Involved

Get Involved

Plugins

Recent Announcements

Recent Announcements

Next development version

Next development version

5.5.3-SNAPSHOT

Previous versions

Previous versions