皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

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

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

此次更新主要包括:

New Rules

  • The new Apex rule ApexDoc (apex-documentation)
    enforces the inclusion of ApexDoc on classes, interfaces, properties and methods; as well as some
    sanity rules for such docs (no missing parameters, parameters’ order, and return value). By default,
    method overrides and test classes are allowed to not include ApexDoc.

Modified Rules

  • The rule MissingSerialVersionUID (java-errorprone) has been modified
    in order to recognize also missing serialVersionUID fields in abstract classes, if they are serializable.
    Each individual class in the inheritance chain needs an own serialVersionUID field. See also Should an abstract class have a serialVersionUID.
    This change might lead to additional violations in existing code bases.

更多细节可查阅发行说明

下载地址:

转自 https://www.oschina.net/news/100479/pmd-6-8-0-released