源代码分析器,PMD 5.3.3 发布
PMD是源代码分析器。它发现常见的编程漏洞像未使用的变量,空的catch块,不必要的对象的创建,等等。它支持 Java, JavaScript, PLSQL, Apache Velocity, XML, XSL.
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go.
2015年07月25日 PMD 5.3.3 发布,此版本现已提供下载,更新内容如下:
Pull Requests:
#55: Fix run.sh for paths with spaces
Bugfixes:
#1364: FieldDeclarationsShouldBeAtStartOfClass false positive using multiple annotations
#1365: Aggregated javadoc report is missing
#1366: UselessParentheses false positive on multiple equality operators
#1369: ConsecutiveLiteralAppends not detected properly on StringBuffer
#1372: False Negative for CloseResource rule.
#1375: CloseResource not detected properly
#1376: CompareObjectsWithEquals fails for type annotated method parameter
#1379: PMD CLI: Cannot specify multiple properties
#1381: CPD Cannot use CSV/VS Renderers because they don’t support encoding property