PMD

PMD 5.6.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 5.6.0
檔案名稱 pmd-bin-5.6.0.zip
檔案大小 56.14MB
系統 Windows (All Versions)
支援語系 Multiple languages
軟體類型 開源軟體
更新日期 2017-04-25
更新日誌

Fixed Issues:
General:
Inconsistent behavior of Rule.start/Rule.end.
Zip file stream closes spuriously when loading rulesets.
Shortnames option is broken with relative paths.
PMD not executing under git bash.
Automated release - github release notes missing.
Version 5.5.4 seems to hold file lock on rules JAR (affects Windows only).
Apex-apexunit:
ApexUnitTestClassShouldHaveAsserts assumes APEX is case sensitive.
Apex-complexity:
NCSS Method length is incorrect when using method chaining.
NCSS Type length is incorrect when using method chaining.
apex-security:
ApexXSSFromURLParamRule shouldn’t enforce ESAPI usage. String.escapeHtml4 is sufficient.
Documentation flaw on Apex Sharing Violations.
java:
CPD runs into NPE when analyzing Lucene.
Parse error on annotation fields with generics.
Parse error on method reference with generics.
Parse error with local class with 2 or more annotations.
CPD: OutOfMemory when analyzing Lucene.
Parse error on method reference.
CPD throws an NPE when parsing enums with -ignore-identifiers.
Symbol Table fails to resolve inner classes.
java-basic:
SimplifiedTernary: Incorrect ternary operation can be simplified.
java-coupling:
LoD false positive.
java-design:
UnnecessaryLocalBeforeReturn false positive for SuppressWarnings annotation.
ImmutableField: Private field in inner class gives false positive with lambdas.
UnnecessaryLocalBeforeReturn with assert.
New Rule: AccesorMethodGeneration - complements accessor class rule.
Combine rules AvoidConstantsInInterface and ConstantsInInterface.
MissingBreakInSwitch - False positive for continue.
UseLocaleWithCaseConversions does not works with ResultSet (false negative).
SingularField with lambdas as final fields.
NonThreadSafeSingleton: Be more explicit as to why double checked locking is not recommended.
UnnecessaryLocalBeforeReturn: ClassCastException in switch case with local variable returned.
UnnecessaryLocalBeforeReturn: Enhance by checking usages.
AccessorMethodGeneration: Method inside static inner class incorrectly reported.
FinalFieldCouldBeStatic: Constant in @interface incorrectly reported as “could be made static”.
UnnecessaryLocalBeforeReturn false positive when cloning Maps.
Improve quality of AccessorClassGeneration.
UnnecessaryLocalBeforeReturn enhancement is overly restrictive – method order matters.
AccessorClassGeneration throws ClassCastException when seeing array construction.
java-imports:
False positive on DontImportJavaLang when importing java.lang.ProcessBuilder.
False positive on DontImportJavaLang when importing Java 7’s java.lang.invoke.MethodHandles.
UnnecessaryFullyQualifiedNameRule doesn’t take into consideration conflict resolution.
UnusedImportRule - False Positive for only usage in Javadoc - {@link ClassName#CONSTANT}.
UnnecessaryFullyQualifiedName: Really necessary fully qualified name.
java-junit:
JUnitTestsShouldIncludeAssertRule should support @Rule as well as @Test(expected = …).
NPE applying rule JUnitTestsShouldIncludeAssert.
java-logging-java:
InvalidSlf4jMessageFormat: False positive with placeholder and exception.
InvalidSlf4jMessageFormat: fails with NPE.
java-optimizations:
RedundantFieldInitializer report for annotation field not explicitly marked as final.
UseStringBufferForStringAppends: False Positive with ternary operator.
java-strings:
ConsecutiveAppendsShouldReuse is not really an optimization.
InefficientEmptyStringCheck misses String.trim().isEmpty().
java-unnecessary:
UselessParentheses: Parentheses in return statement are incorrectly reported as useless.
java-unusedcode:
UnusedModifier doesn’t check annotations.
UnusedModifier doesn’t check annotations inner classes.
UnusedModifier doesn’t check static keyword on nested enum declaration.
UnusedLocalVariable false positive.
XML:
Error while processing xml file with “.webapp” in the file or directory name.
psql:
Parse error for IS [NOT] NULL construct.
javascript:
Template strings are not correctly parsed.

作者 PMD
官網 暫無資訊

  • 2017年1月11日 - I use pmd-4.2.6.jar to detect clones with "net.sourceforge.pmd.cpd.GUI" (java -Xmx4g -XX:-UseGCOverheadLimit -cp pmd-4.2.6.jar ...
    PMD
    1559 [Java] Bug in PMD-5.5.2 and 5.6.0 - SourceForge
    https://sourceforge.net
  • Find great deals on eBay for 6.5 pmd and 6.5 diesel pmd. Shop with confidence. Skip to main content eBay Shop by category ... 0 bids CHEVROLET GM 6.5 TURBO DIESEL FSD / PMD MODULE 6.5L 34264 Tested st...
    PMD
    6.5 pmd | eBay
    http://www.ebay.com
  • PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
    PMD
    Download PMD 5.6.0 - FileHippo.com
    http://filehippo.com
  • Contribute to pmd development by creating an account on GitHub. ... You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh...
    PMD
    GitHub - pmd/pmd
    https://github.com
  • 2017年4月22日 - The PMD team is pleased to announce PMD 5.6.0. ... The experimental feature allows PMD to cache analysis results between executions to ...
    PMD
    PMD - Browse /pmd/5.6.0 at SourceForge.net
    https://sourceforge.net
  • pmd-src-5.6.0-SNAPSHOT.zip 2017-03-29 28.5 MB 16 pmd-bin-5.6.0-SNAPSHOT.zip 2017-03-29 58.9 MB 19 ReadMe.md 2017-03-29 27.3 kB 4 Totals: 4 Items 150.8 MB 59 PMD Release Notes????? - 5.6.0-SNAPSHOT The...
    PMD
    PMD - Browse /pmd/5.6.0-SNAPSHOT at SourceForge.net
    https://sourceforge.net
  • PMD is literally building Brilliant Confidence throughout the world. With the help of 1000’s of men and women across the globe, ... PMD featured on San Diego 6 News - Duration: 77 seconds. pmd 874 vie...
    PMD
    pmd - YouTube
    http://www.youtube.com
  • For Bug tickets / Feature Requests / Patches we have moved to github now. Please use https://github.com/pmd/pmd/issues for new bugs and feature requests.
    PMD
    PMD / Issues / Milestone PMD-5.6.0 - SourceForge
    https://sourceforge.net
  • 2017年4月22日 - major version with many contributions, new languages, new rules; Changelog: https://pmd.github.io/pmd-5.6.0/overview/changelog.html ...
    PMD
    PMD / News: PMD 5.6.0 released - SourceForge
    https://sourceforge.net
  • PMD 5.6.0 released. 22-April-2017 - 5.6.0. The PMD team is pleased to announce PMD 5.6.0. The most significant changes are on analysis performance, ...
    PMD
    PMD 5.6.0 released
    https://pmd.github.io
  • PMD 5.6.0 发布了。PMD 是一款采用 BSD 协议发布的 Java 程序代码检查工具。该工具可以做到检查 Java 代码中是否含有未使用的变量、是否含有空的抓取块、是否含有不必要的对象等。该软件功能强大,扫描效率高,是 Java 程序员 debug 的好帮手。
    PMD
    PMD 5.6.0 发布,Java 程序代码检查工具 - 开源中国社区
    https://static.oschina.net
  • Free Download PMD 5.5.2 / 5.6.0 Snapshot - A simple source code scanner and analysis utility that can help you with your work by detecting inefficie ... SOFTPEDIA® Windows Drivers Games Mac Android Li...
    PMD
    PMD Download - Softpedia - Free Downloads Encyclopedia
    http://www.softpedia.com
  • 5.0 Stars (40) 3,009 Downloads (This Week) Last Update: 2 days ago Download pmd-bin-5.5.5.zip Browse All Files Windows Mac Linux Description PMD is a source code analyzer. It finds common programming ...
    PMD
    PMD download | SourceForge.net
    https://sourceforge.net
  • Download PMD 5.6.0 What's new in PMD 5.6.0 Previous versions PMD in the news PMD-related products and books Best practices Future directions Similar projects Credits License What does 'PMD&#39...
    PMD
    PMD – Frequently Asked Questions
    https://pmd.github.io
  • pmd-src-5.5.5.zip and pmd-src-5.5.6.zip About: PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, ...
    PMD
    PMD: Source code changes report for 5.5.5 vs. 5.5.6 | Fossies Diffs
    https://fossies.org
  • PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
    PMD
    Scarica PMD 5.6.0 - FileHippo.com
    http://filehippo.com
  • PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
    PMD
    Télécharger PMD 5.6.0 - FileHippo.com
    http://filehippo.com
  • Last Published: 2012-05-01 | Version: 5.0.0 | SourceForge > PMD > Welcome to PMD SourceForge.net Project Page | Hosted by SourceForge Overview Download PMD 5.0.0 What's new in PMD 5.0.0 PMD ...
    PMD
    Welcome to PMD
    http://pmd.sourceforge.net