PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/codehaus/gmavenplus/model/GroovyCompileConfiguration.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'groovyVersion'. | 36 |
org/codehaus/gmavenplus/mojo/AbstractGroovyMojo.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 283–285 |
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 | 90–92 |
| EmptyCatchBlock | Avoid empty catch blocks | 103–105 |
org/codehaus/gmavenplus/util/FileUtils.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 85–87 |
| EmptyCatchBlock | Avoid empty catch blocks | 100–102 |
| EmptyCatchBlock | Avoid empty catch blocks | 115–117 |
| EmptyCatchBlock | Avoid empty catch blocks | 130–132 |
org/codehaus/gmavenplus/util/GroovyCompiler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 682–684 |
Priority 4
org/codehaus/gmavenplus/mojo/AbstractGroovyDocMojo.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused import 'org.apache.maven.shared.model.fileset.util.FileSetManager' | 21 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.file': 'Files' is already in scope because it is imported in this file | 357 |
org/codehaus/gmavenplus/util/ReflectionUtils.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 118 |
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/model/GroovyCompileConfiguration.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'groovyVersion'. | 3 | 36 |
org/codehaus/gmavenplus/mojo/AbstractGroovyDocMojo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused import 'org.apache.maven.shared.model.fileset.util.FileSetManager' | 4 | 21 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.file': 'Files' is already in scope because it is imported in this file | 4 | 357 |
org/codehaus/gmavenplus/mojo/AbstractGroovyMojo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 283–285 |
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 | 90–92 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 103–105 |
org/codehaus/gmavenplus/util/FileUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 85–87 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 100–102 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 115–117 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 130–132 |
org/codehaus/gmavenplus/util/GroovyCompiler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 682–684 |
org/codehaus/gmavenplus/util/ReflectionUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 118 |
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 |
GMavenPlus