新支持的语言: CPD 现在支持 Swift (参见 PR#33) 新特性和改进 与 CodeClimate 兼容的 PMD 的 JSON-renderer (参见PR#83) 规则修改 java-design/UseVargs: 公共静态无效的主要方法现在被忽略,所以一些方法被注解为 Override。(参见 PR#79) Pull Requests: #27: Added support for Raw String Literals (C++11). #29: Added support for files with UTF-8 BOM to JSP tokenizer. #30: Removed file filter for files that are explicitly specified on the CPD command line using the '--files' command line option. #31: Added file encoding detection to CPD. #32: Extended Objective-C grammar to accept UTF-8 escapes (\uXXXX) in string literals. #33: Added support for Swift to CPD. #79: do not flag public static void main(String[]) as UseVarargs; ignore @Override for UseVarargs #80: Update mvn-plugin.md #83: Adds new Code Climate-compliant JSON renderer #85: #1340 UseStringBufferForStringAppends False Positive with Ternary Operator bug修复 略 详细改进请看发行说明 下载地址: pmd-bin-5.3.7.zip pmd-doc-5.3.7.zip pmd-src-5.3.7.zip Source code (zip) Source code (tar.gz) PMD 5.3.7 发布,Java 程序代码检查工具下载地址