PMD(Programming Mess Detector)
PMD is a Code Analyzer that scans Java source code and identify potential problems like:
* Possible bugs - empty try/catch/finally/switch statements
* Dead code - unused local variables, parameters and private methods
* Suboptimal code - wasteful String/StringBuffer usage
* Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
* Duplicate code - copied/pasted code means copied/pasted bugs
PMD can be integrated with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.
PMD has a lot of rules defined which are used to check the code and detect potential problems. You can remove the rules you don’t think are potential problems, create new rules or change the priority of the rules.
Useful Links
- The first place to check to find more details if the PMD homepage.
- A comprehensive guide to integrate PMD in your IDE: Integrations with IDEs
- How to write a PMD rule
Project Summary from SourceForge
Project name: PMD - Thu, 11 Mar 2010
Project description: PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.
Developers on project: 21 - Thu, 11 Mar 2010
Project administrators: dpeugh, tomcopeland, xlv
Activity percentile (last week): 99.71% - Thu, 11 Mar 2010
Most recent daily statistics (11 Mar 2010): Ranking: 859, Activity percentile: 99.71%,
Downloadable files: 548592 total downloads to date - Thu, 11 Mar 2010
Most recent daily statistics (11 Mar 2010): Download count: 283
Mailing lists (public): 1 - Thu, 11 Mar 2010
Public mailing lists: pmd-devel
Discussion forums (public): 3, containing 5743 messages - Thu, 11 Mar 2010
Public discussion forums: Developers, Open Discussion, Horror Stories
Latest Files
pmd-eclipse 3.2.6 released (Tue, 31 Mar 2009 01:05:48 GMT) - Tue, 31 Mar 2009
Released at Tue, 31 Mar 2009 01:05:48 GMT by xlv
Includes files: net.sourceforge.pmd.eclipse-3.2.6.v200903300643.zip (4497697 bytes, 9209 downloads to date)
[Download] [Release Notes]
pmd-netbeans pmd-netbeans-2.2.5 released (Thu, 05 Mar 2009 05:11:02 GMT) - Thu, 05 Mar 2009
Released at Thu, 05 Mar 2009 05:11:02 GMT by kubacki
Includes files: pmd-netbeans65-2.2.5-src.zip (2691411 bytes, 742 downloads to date), pmd-netbeans65-2.2.5-bin.zip (1336456 bytes, 4992 downloads to date)
[Download] [Release Notes]
pmd 4.2.5 released (Mon, 09 Feb 2009 01:40:06 GMT) - Mon, 09 Feb 2009
Released at Mon, 09 Feb 2009 01:40:06 GMT by xlv
Includes files: pmd-src-4.2.5.zip (10801078 bytes, 7067 downloads to date), pmd-bin-4.2.5.zip (10025171 bytes, 34391 downloads to date)
[Download] [Release Notes]
Latest News
PMD 4.2.5 released - Mon, 09 Feb 2009
This release includes:
bug fixes to existing rules
PMD: 4.2.3 released - Wed, 03 Sep 2008
PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.
PMD 4.2.2 released - Tue, 20 May 2008
This release fixes a few bugs in the 4.2.1 version
but does not introduce major changes. See the
Changelog for details.


Leave a comment