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, PLSQL, Apache Velocity, XML, XSL.
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go.

Latest version

Latest version

5.3.0 (1st April 2015)

Get Involved

Get Involved

Plugins

Recent Announcements

Recent Announcements

Next development version

Next development version

5.4.0-SNAPSHOT

Previous versions

Previous versions