PMD是一个开源的java原代码分析工具,它可以发现未使用的变量,空的catch块,不必要的对象创建,以及更多其他的。他还包括一个CPD工具,能够检测大量相同的代码。PMD可以插件的形式支持
JDeveloper, Eclipse, JEdit, JBuilder, Omnicore's CodeGuide, NetBeans/Sun ONE Studio, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs等工具.
This release includes eight new rules, a slew of bugfixes, and better support for JDK 1.5. Several rules were optimized; for example, UnusedModifer now runs about ten times faster.
You can download it from sourceforge.
Form:http://www.theserverside.com/news/thread.tss?thread_id=33852 google_ad_client = "pub-9232855773311077"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000";
本文地址:http://com.8s8s.com/it/it9915.htm