- 目前版本5.4.1
- 更新日期2015-12-08
- 檔案大小26.97MB
- 檔案名稱pmd-bin-5.4.1.zip
- 作業系統Windows (All Versions)
- 支援語系Multiple languages
- 授權型式開源軟體
- 開發商 PMD
- 軟體分類Windows 軟體 / 開發者工具
軟體介紹
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.
更新日誌
5.4.1 # 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
- 2019-01-29 PMD 6.11.0 43.91MB
- 2018-12-12 PMD 6.10.0 42.27MB
- 2018-10-30 PMD 6.9.0 42.18MB
- 2018-07-30 PMD 6.6.0 41.92MB
- 2018-03-28 PMD 6.2.0 41.04MB
- 2018-01-22 PMD 6.0.1 43.35MB
- 2017-07-03 PMD 5.8.1 56.19MB
- 2017-05-23 PMD 5.7.0 56.14MB