PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/cling/invoker/BaseParser.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19307

Priority 4

org/apache/maven/cling/invoker/BaseParser.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Constants': 'MAVEN_HOME' is already in scope because it is imported in this file 152
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Constants': 'MAVEN_HOME' is already in scope because it is imported in this file 154
org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Options': 'SOURCE_CLI' is already in scope because it is inherited by an enclosing type 41

Files

org/apache/maven/cling/invoker/BaseParser.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 19307
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Constants': 'MAVEN_HOME' is already in scope because it is imported in this file 4 152
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Constants': 'MAVEN_HOME' is already in scope because it is imported in this file 4 154

org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Options': 'SOURCE_CLI' is already in scope because it is inherited by an enclosing type 4 41