Difference between revisions of "PMD"

From HaFrWiki
Jump to: navigation, search
(Created page with " PMD scans Java source code and looks for potential problems like: * Possible bugs - empty try/catch/finally/switch statements * Dead code - unused local variables, parameters...")
 
m (See also)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{TOCright}}
  
 
PMD scans Java source code and looks for potential problems like:
 
PMD scans Java source code and looks for potential problems like:
Line 10: Line 11:
 
PMD is integrated with JDeveloper, [[Eclipse]], [[JEdit]], JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, [[Maven]], [[Maven 2]], [[Ant]], Gel, JCreator, and Emacs.
 
PMD is integrated with JDeveloper, [[Eclipse]], [[JEdit]], JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, [[Maven]], [[Maven 2]], [[Ant]], Gel, JCreator, and Emacs.
  
==Links==
+
== See also ==
 +
<span class="editsection">[[#content|top]]</span>
 +
* [http://www.sw-engineering-candies.com/blog-1/howtorunfindbugspmdcheckstylejunitcobertruawithasimpleantbuildscript ANT & PMD], How to Run Findbugs, Pmd, Checkstyle, JUnit and Cobertrua with an Ant Build-Script?
 +
 
 +
==Internal ==
 
* [[Eclipse]]
 
* [[Eclipse]]
 
* [[FindBugs]] finds bugs in Java code, also an eclipse plugin.
 
* [[FindBugs]] finds bugs in Java code, also an eclipse plugin.
 +
* [[Maven]] and [[Maven 2]], Apache maven
  
 
===External links===
 
===External links===
 
* [http://pmd.sourceforge.net PMD], Sourceforge Homepage.
 
* [http://pmd.sourceforge.net PMD], Sourceforge Homepage.
 +
 +
== Reference ==
 +
<span class="editsection">[[#content|top]]</span>
 +
<references/>
 +
  
 
[[Category:Index]]
 
[[Category:Index]]

Latest revision as of 12:14, 9 July 2015

PMD scans Java source code and looks for 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

Integration

PMD is integrated with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Maven 2, Ant, Gel, JCreator, and Emacs.

See also

top

  • ANT & PMD, How to Run Findbugs, Pmd, Checkstyle, JUnit and Cobertrua with an Ant Build-Script?

Internal

External links

  • PMD, Sourceforge Homepage.

Reference

top