发布于 2016-06-26 00:21:22 | 142 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

PMD Java代码检查工具

PMD是一种开源分析Java代码错误的工具。与其他分析工具不同的是,PMD通过静态分析获知代码错误。也就是说,在不运行Java程序的情况下报告错误。PMD附带了许多可以直接使用的规则,利用这些规则可以找出Java源程序的许多问题。此外,用户还可以自己定义规则,检查Java代码是否符合某些特定的编码规范。


PMD 5.5.0 发布了,
支持的语言:

  • Salesforce.com Apex is now supported by PMD and CPD. See PR#86.

  • CPD now supports Perl. See PR#82.

  • CPD now supports Swift. See PR#33.

一些提升 & CLI 改进:

  • A JSON-renderer for PMD which is compatible with CodeClimate. See PR#83.

  • #1360: [core] [java] Provide backwards compatibility for PMD configuration file

  • CPD: If a complete filename is specified, the language dependent filename filter is not applied. This allows to scan files, that are not using the standard file extension. If a directory is specified, the filename filter is still applied and only those files with the correct file extension of the language are scanned.

  • CPD: If no problems found, an empty report will be output instead of nothing. See also #1481

  • CPD: New command line parameter --ignore-usings: Ignore using directives in C# when comparing text.

  • PMD: New command line parameter: -norulesetcompatibility - this disables the ruleset factory compatibility filter and fails, if e.g. an old rule name is used in the ruleset. See also #1360. This option is also available for the ant task: <noRuleSetCompatibility>true</noRuleSetCompatibility>.

  • PMD: New command line parameter: -filelist- this provides an alternative way to define, which files should be process by PMD. With this option, you can provide the path to a single file containing a comma delimited list of files to analyze. If this is given, then you don't need to provide -dir. See PR#98.

了解更多发布信息,可以参看发布说明

下载地址:



历史版本 :
PMD 6.0.1 发布,Java 程序代码检查工具
Java 程序代码检查工具 PMD 6.0.0 发布,支持 Java 9
PMD 5.8.1 发布,Java 程序代码检查工具
PMD 5.8.0 发布,Java 程序代码检查工具
PMD 5.7.0 发布,Java 程序代码检查工具
PMD 5.5.7 发布,Java 程序代码检查工具 
PMD 5.6.0 发布,Java 程序代码检查工具
PMD 5.5.6 发布,Java 程序代码检查工具 
PMD 5.5.4/5.4.5 发布,Java 程序代码检查工具
PMD 5.5.3/5.4.4 发布,Java 程序代码检查工具
PMD 5.5.2 发布,Java 程序代码检查工具
PMD 5.4.3 和 5.3.8 发布,Java 程序代码检查工具
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务