April 2005
Intermediate to advanced
344 pages
11h 59m
English
PMD runs on any Windows or *nix system with the following installed:
JDK 1.3 or higher
WinZip or the Unix zip utility from Info-ZIP
You can download PMD as either a binary or a source distribution at http://sourceforge.net/project/showfiles.php?group_id=56262. To install PMD from the command line:
C:\>unzip -q pmd-src-x.y.zi
p
C:\>cd pmd-x.yTo test PMD from the command line:
C:\pmd-x.y>cd etc C:\pmd-x.y\etc> pmd ..\mysourcefile.java html ..\rulesets\basic.xml > out.html
You can also install PMD as a plug-in to many popular IDEs. Refer to the PMD SourceForge.net home page for a current list of supported IDEs. It’s advantageous to run PMD within an IDE because the tester can immediately jump to vulnerable code, whereas from the command line PMD shows the line number and description of the offending code.
Read now
Unlock full access