PMD

Information

PMD scans Java source code and looks for potential problems like:

Homepage: http://pmd.sourceforge.net

Example

To use the pmd target, you need to set the properties described in the Common Build Targets document.

<target name="pmd"> <ant antfile="$" target="pmd"> <property name="report.dir" value="C:\temp\myproject"/> <property name="source.dir" value="$\src"/> </ant> </target> The common target will add the directory pmd to the report dir you provided and create a report with the name pmd-report.html.


DeadEd.com
http://www.deaded.com/staticpages/index.php/pmd