源代碼分析器,PMD 5.3.3 發布

ynnc 9年前發布 | 10K 次閱讀 PMD

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.
pmd_logo.png
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

5.3.3 (25th July 2015)