PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and more. It includes CPD, a tool to detect chunks of identical code.

Changes:
This is a maintenance release with many bugfixes.

URL:
PMD

Pmd 5.0.2-0206_pmd_5.0.2.png