PMD

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(PMD (software)移动到重定向页PMD)
 
(未显示1个用户的1个中间版本)
第1行: 第1行:
{{top news}}
 
 
{{SeeWikipedia|PMD (software)}}
 
{{SeeWikipedia|PMD (software)}}
  
PMD scans Java source code and looks for potential problems like:
+
PMD scans [[Java]] source code and looks for potential problems like:
  
 
* Possible bugs - empty try/catch/finally/switch statements
 
* Possible bugs - empty try/catch/finally/switch statements
第12行: 第11行:
 
http://pmd.sourceforge.net/
 
http://pmd.sourceforge.net/
  
[[Category:Software Development]]
+
[[category:software development]]
 +
[[category:source code]]
 +
[[category:java]]

2013年3月1日 (五) 15:58的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 PMD Thanks, Wikipedia.

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

http://pmd.sourceforge.net/

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱