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.
This release fixes a few bugs but does not introduce major changes. The refactoring effort that will lead to PMD 5.0 has been started on the main trunk.
URL: PMD - PMD