发布于 2016-07-28 00:33:24 | 162 次阅读 | 评论: 0 | 来源: 网友投递
PMD Java代码检查工具
PMD是一种开源分析Java代码错误的工具。与其他分析工具不同的是,PMD通过静态分析获知代码错误。也就是说,在不运行Java程序的情况下报告错误。PMD附带了许多可以直接使用的规则,利用这些规则可以找出Java源程序的许多问题。此外,用户还可以自己定义规则,检查Java代码是否符合某些特定的编码规范。
PMD 5.5.1 发布了,
该版本主要改进记录如下:
Pull Requests:
#101: [java] Improve multithreading performance: do not lock on classloader
#102: [apex] Restrict AvoidLogicInTrigger rule to max. 1 violation per file
#103: [java] [apex] Fix for 1501: CyclomaticComplexity rule causes OOM when class reporting is disabled
#104: [core] [java] Close opened file handles
apex #43: [apex] Basic apex unit test rules
Bugfixes:
Apex
#1501: [java] [apex] CyclomaticComplexity rule causes OOM when class reporting is disabled
Java
#1501: [java] [apex] CyclomaticComplexity rule causes OOM when class reporting is disabled
General
PMD支持的编辑器包括:
JDeveloper、 Eclipse、JEdit、JBuilder、BlueJ、CodeGuide、NetBeans/Sun Java Studio Enterprise/Creator、IntelliJ IDEA、TextPad、Maven、Ant,、Gel、JCreator和Emacs。
下载地址: