PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/codehaus/gmavenplus/mojo/AbstractCompileMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 524–526 |
org/codehaus/gmavenplus/mojo/AbstractGenerateStubsMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 445–447 |
org/codehaus/gmavenplus/mojo/ConsoleMojo.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 17–262 |
org/codehaus/gmavenplus/mojo/GroovyDocJarMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 159–161 |
org/codehaus/gmavenplus/mojo/GroovyDocTestsJarMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 159–161 |
org/codehaus/gmavenplus/mojo/ShellMojo.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 17–179 |
org/codehaus/gmavenplus/util/ClassWrangler.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 91–93 |
EmptyCatchBlock | Avoid empty catch blocks | 104–106 |
org/codehaus/gmavenplus/util/FileUtils.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 86–88 |
EmptyCatchBlock | Avoid empty catch blocks | 101–103 |
EmptyCatchBlock | Avoid empty catch blocks | 116–118 |
EmptyCatchBlock | Avoid empty catch blocks | 131–133 |
Priority 4
org/codehaus/gmavenplus/util/ReflectionUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 119 |
org/codehaus/gmavenplus/gmavenplus_plugin/HelpMojo.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 43 |
Files
org/codehaus/gmavenplus/mojo/AbstractCompileMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 524–526 |
org/codehaus/gmavenplus/mojo/AbstractGenerateStubsMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 445–447 |
org/codehaus/gmavenplus/mojo/ConsoleMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 17–262 |
org/codehaus/gmavenplus/mojo/GroovyDocJarMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 159–161 |
org/codehaus/gmavenplus/mojo/GroovyDocTestsJarMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 159–161 |
org/codehaus/gmavenplus/mojo/ShellMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 17–179 |
org/codehaus/gmavenplus/util/ClassWrangler.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 91–93 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 104–106 |
org/codehaus/gmavenplus/util/FileUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 86–88 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 101–103 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 116–118 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 131–133 |
org/codehaus/gmavenplus/util/ReflectionUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 119 |
org/codehaus/gmavenplus/gmavenplus_plugin/HelpMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 43 |