PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, XML, XSL.
Available Plugins include:
- Maven PMD.
- Eclipse.
- NetBeans.
- JBuilder.
- JDeveloper.
- IntelliJ IDEA.
PMD additionally includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Matlab, Python, Go.
軟體資訊 |
檔案版本 |
PMD 5.4.1 |
檔案名稱 |
pmd-bin-5.4.1.zip
|
檔案大小 |
26.97MB |
系統 |
Windows (All Versions) |
支援語系 |
Multiple languages |
軟體類型 |
開源軟體 |
更新日期 |
2015-12-08 |
更新日誌 |
# Feature Request and Improvements: * CPD: New command line parameter --ignore-usings: Ignore using directives in C# when comparing text. # Modified Rules: * java-comments/CommentRequired: New property serialVersionUIDCommentRequired which controls the comment requirements for serialVersionUID fields. By default, no comment is required for this field. # Pull Requests: * Added option to exclude C# using directives from CPD analysis * Added capability in Java and JSP parser for tracking tokens. * Fix rendering CommentDefaultAccessModifier description as code * RuleSetFactory Performance Enhancement # Bugfixes: * java-comments/CommentDefaultAccessModifier - CommentDefaultAccessModifier triggers on field annotated with @VisibleForTesting * java-comments/CommentRequired - CommentRequired raises violation on serialVersionUID field * java-design/UseNotifyAllInsteadOfNotify - UseNotifyAllInsteadOfNotify gives false positive * java-finalizers/AvoidCallingFinalize - NPE in AvoidCallingFinalize * java-imports/UnnecessaryFullyQualifiedName - UnnecessaryFullyQualifiedName false positive on clashing static imports with enums * java-junit/JUnitAssertionsShouldIncludeMessage - JUnitAssertionsShouldIncludeMessage is no longer compatible with TestNG * java-migrating/JUnit4TestShouldUseBeforeAnnotation - False positive with JUnit4TestShouldUseBeforeAnnotation when TestNG is used * java-naming/SuspiciousEqualsMethodName - SuspiciousEqualsMethodName false positive * java-optimizations/RedundantFieldInitializer - RedundantFieldInitializer: False positive for small floats * java-unnecessary/UselessQualifiedThis - UselessQualifiedThis: False positive with Java 8 Function * java-unusedcode/UnusedPrivateField - False positive in UnusedPrivateField when local variable hides member variable * General - Invalid XML Characters in Output - Java - Parse Error: Cast in return expression - PMD: Update documentation how to compile after modularization |
作者 |
PMD |
官網 |
暫無資訊 |