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

PMD 5.7.0

v 5.7.0
Windows 開源軟體 9/10 (2)
  • 目前版本5.7.0
  • 更新日期2017-05-23
  • 檔案大小56.14MB
  • 檔案名稱pmd-bin-5.7.0.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.7.0

Modified Rules:
The rule “FieldDeclarationsShouldBeAtStartOfClass” of the java-design ruleset has a new property ignoreInterfaceDeclarations. Setting this property to true ignores interface declarations, that precede fields.
Renderers:
Added the ‘empty’ renderer which will write nothing. Does not affect other behaviors, for example the command line PMD exit status will still indicate whether violations were found.
Fixed Issues:
General
[core] Use maven wrapper and upgrade to maven 3.5.0.
[core] Improve build time on travis.
[java] Parser Error for empty statements.
java-coupling
[java] Law of Demeter violations for the Builder pattern.
Java-design
[java] FieldDeclarationsShouldBeAtStartOfClass: Add ability to ignore interfaces.
[java] RuleSetCompatibility - not taking rename of UnusedModifier into account.
Java-junit
[java] Mockito verify method is not taken into account in JUnitTestsShouldIncludeAssert rule.
Java-strings
[java] [doc] Add suggestion to use StringUtils#isBlank for InefficientEmptyStringCheck.
Jsp-basic
[jsp] Wrong issue “JSP file should use UTF-8 encoding”.
API Changes:
The method net.sourceforge.pmd.util.StringUtil#htmlEncode(String) is deprecated. org.apache.commons.lang3.StringEscapeUtils#escapeHtml4(String) should be used instead.
External Contributions:
[vf] Adding proper AST support for negation expressions.
[core] Fix XSS in HTML renderer.
[java] Add property to ignore interfaces in FieldDeclarationsShouldBeAtStartOfClassRule.
[core] Fix broken link in the site’s doc.
[java] Added documentation details on InefficientEmptyStringCheck.
[jsp] Fixed JspEncoding false positive.
[java] Remove trailing whitespaces in design.xml.
[apex] Fix documentation typo.
[java] False positive for Law Of Demeter (Builder pattern).
[java] Mockito verify method is not taken into account in JUnitTestsShouldIncludeAssert rule.

##

歷史版本

完整清單 →