欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
PMD
来自开放百科 - 灰狐
(版本间的差异)
小 |
小 |
||
第12行: | 第12行: | ||
[[category:software development]] | [[category:software development]] | ||
− | [[category:code]] | + | [[category:source code]] |
[[category:java]] | [[category:java]] |
2013年3月1日 (五) 15:58的最后版本
您可以在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
分享您的观点