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.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
There are several new rules (LocalVariableCouldBeFinal, MethodArgumentCouldBeFinal, AvoidInstantiatingObjectsInLoops, ArrayIsStoredDirectly, MethodReturnsInternalArray, AssignmentToNonFinalStatic, and AvoidConcatenatingNonLiteralsInStringBuffer), a few bugfixes, and a few new features. CPD supports any language, the symbol table code is much cleaner, the "run PMD" scripts are now in the "bin/" directory vs the "etc/" directory, and the rule overriding works better.