免費軟體資源 soft.registry
⚠ 這是歷史版本頁面 — 查看 PMD 最新版本 →
PMD 圖示

PMD 5.4.1

v 5.4.1
Windows 開源軟體 9/10 (2)
  • 目前版本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

##

歷史版本

完整清單 →