PMD

PMD 6.10.0

PMD
開源軟體

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 6.10.0
檔案名稱 pmd-bin-6.10.0.zip
檔案大小 42.27MB
系統 Windows (All Versions)
支援語系 Multiple languages
軟體類型 開源軟體
更新日期 2018-12-12
更新日誌

New Rules
The new Java rule UseUnderscoresInNumericLiterals (java-codestyle) verifies that numeric literals over a given length (4 chars by default, but configurable) are using underscores every 3 digits for readability. The rule only applies to Java 7+ codebases.

Modified Rules
The Java rule JUnitTestsShouldIncludeAssert (java-bestpractices) now also detects Soft Assertions.
The property exceptionfile of the rule AvoidDuplicateLiterals (java-errorprone) has been deprecated and will be removed with 7.0.0. Please use exceptionList instead.

Fixed Issues
All
[doc] Keep record of every currently deprecated API.
[test] Kotlin DSL to ease test writing.
[ci] Building docs for release fails.
[doc] Documentation Error with Regex Properties.
[doc] Missing escaping leads to XSS.
[core] XMLRenderer: ProcessingErrors from exceptions without a message missing.
[core] Analysis cache fails with wildcard classpath entries.

作者 PMD
官網 暫無資訊