SonarQube PMD 2.3 发布,此版本把 PMD 升级到了 5.2.1 版本,可以通过更新中心进行安装升级,更新内容如下: Bug 修复 [SONARPMD-35] - The SQALE remediation function on PMD rules is often highly overestimated [SONARPMD-38] - Remove usage of ProjectClasspath [SONARPMD-42] - Correct EmptyStatementBlock deprecation [SONARPMD-45] - Fix deprecation message for UselessParentheses 改进 [SONARPMD-13] - Deprecate AvoidFieldNameMatchingMethodName [SONARPMD-16] - Deprecate CompareObjectsWithEquals [SONARPMD-17] - Deprecate AvoidCatchingNPE [SONARPMD-21] - Deprecate BrokenNullCheck [SONARPMD-23] - deprecate UnnecessaryLocalBeforeReturn [SONARPMD-24] - Deprecate AbstractClassWithoutAbstractMethod [SONARPMD-25] - Deprecate AvoidFieldNameMatchingTypeName [SONARPMD-26] - deprecate IdempotentOperations [SONARPMD-29] - Do not embed unnecessary dependencies [SONARPMD-33] - Update Rule: "Unnecessary Local Before Return" [SONARPMD-36] - Change remediation on UnusedModifier rule [SONARPMD-37] - Upgrade PMD to version 5.2.1 [SONARPMD-41] - Upgrade to version 4.5.1 LTS of sonarqube API [SONARPMD-44] - Update PMD XPath rule deprecation 新特性 [SONARPMD-10] - Deprecate AvoidThrowingNullPointerException 更多更新内容请看发行说明,文档提供在软件主页。 SonarQube PMD 2.3 发布下载地址