DOC

pmd : pmd-jdk14

Maven & Gradle

Feb 09, 2009
3 usages

PMD · <p>PMD scans Java source code and looks for potential problems like:</p> <ul> <li>Possible bugs - empty try/catch/finally/switch statements</li> <li>Dead code - unused local variables, parameters and private methods</li> <li>Suboptimal code - wasteful String/StringBuffer usage</li> <li>Overcomplicated expressions - unnecessary if statements, for loops that could be while loops</li> <li>Duplicate code - copied/pasted code means copied/pasted bugs</li> </ul> <p>You can <b><a href="http://sourceforge.net/project/showfiles.php?group_id=56262">download everything from here</a></b>, and you can get an overview of all the rules at the <a href="rules/index.html">rulesets index</a> page.</p> <p>PMD is <a href="integrations.html">integrated</a> with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.</p>

Table Of Contents

Latest Version

Download pmd : pmd-jdk14 Javadoc & API Documentation - Latest Versions:

All Versions

Download pmd : pmd-jdk14 Javadoc & API Documentation - All Versions:

Version Size Javadoc Updated
4.2.x
4.2
4.1.x
4.1

How to open Javadoc JAR file in web browser

  1. Rename the file pmd-jdk14-4.2.5-javadoc.jar to pmd-jdk14-4.2.5-javadoc.zip
  2. Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder pmd-jdk14-4.2.5-javadoc
  3. Double click index.html will open the index page on your default web browser.

How to generate Javadoc from a source JAR?

Running the command javadoc:

javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "pmd-jdk14-4.2.5-sources.jar" -d "pmd-jdk14-4.2.5-javadoc" -subpackages