PMD 6.7.0 发布,跨语言静态代码自动分析工具

栏目: 软件资讯 · 发布时间: 7年前

内容简介:PMD 6.7.0 发布,PMD 是一个代码分析器,能够帮助发现常见的编程瑕疵,像是未使用的变量、空的 catch 块、不必要的对象创建等等。最初仅支持 Java 代码,目前还可支持 JavaScript、Salesforce.com Apex 和 Visual...

PMD 6.7.0 发布,PMD 是一个代码分析器,能够帮助发现常见的编程瑕疵,像是未使用的变量、空的 catch 块、不必要的对象创建等等。最初仅支持 Java 代码,目前还可支持 JavaScript、Salesforce.com Apex 和 Visualforce、PLSQL、Apache Velocity、XML 和 XSL 。

此次更新主要包括:

  • The new Java rule LinguisticNaming (java-codestyle) detects cases

  • The new PL/SQL rule ForLoopNaming (plsql-codestyle) enforces a naming convention for "for loops".

  • The new Java rule FieldNamingConventions (java-codestyle) detects field names that don't comply to a given convention.

  • The new Apex rule OneDeclarationPerLine (apex-codestyle) enforces declaring a
    single field / variable per line; or per statement if the strictMode property is set.

另外还包含一些 Bug 修复等内容,详情请查看发布说明

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《PMD 6.7.0 发布,跨语言静态代码自动分析工具》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Design systems

Design systems

Not all design systems are equally effective. Some can generate coherent user experiences, others produce confusing patchwork designs. Some inspire teams to contribute to them, others are neglected. S......一起来看看 《Design systems》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具