Download List

Project Description

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.

System Requirements

System requirement is not defined
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.

2004-10-19 20:47
2.0

This release comes with 10 new rules, including a new "logging" ruleset. It includes a feature to ignore violations using a "NOPMD" comment in the code. It also can process zip/jar files of source, the HTML report can now link to online source code, and a data flow analysis package is included. Existing rules have been enhanced, and there are several bugfixes as well.
Tags: Major feature enhancements

2004-07-14 19:56
1.9

Four new rules were added. Some improvements were
made to various existing rules. UnusedLocal now
catches variables which are assigned but not used.
Some bugs were fixed to reduce false positives.
Tags: Minor feature enhancements

2004-05-19 20:38
1.8

New rules: ExceptionAsFlowControlRule, BadComparisonRule, AvoidThrowingCertainExceptionTypesRule, AvoidCatchingNPERule, and OptimizableToArrayCallRule. Major grammar changes: many new node types have been added, and many superfluous nodes have been removed from the runtime AST. Bug 786611 has been fixed. Expressions are no longer over-expanded in the AST. Bug 874284 has been fixed. The AST now contains tokens for bitwise or expressions, e.g. "|".
Tags: Minor feature enhancements

2004-04-22 19:47
1.7

Messages were no longer getting variable names plugged in correctly. XMLRenderer was still messed up; it was missing a quotation mark. PMD now uses the default platform character set encoding; optionally, you can pass in a character encoding to use. Some more detail has been added to the UseSingletonRule. An optional 'failuresPropertyName' attribute has been added to the Ant task.
Tags: Minor bugfixes

2004-03-15 18:59
1.6

There are major performance enhancements to the copy/paste detector. Bug 895661 has been fixed: XML reports containing error elements no longer have malformed XML. UnconditionalIfStatement no longer flags things like "if (x==true)". Two new renderers, SummaryHTMLRenderer and PapariTextRenderer, have been added. The development environment has been moved to Ant 1.6 and JavaCC 3.2.
Tags: Major feature enhancements

Project Resources