PMD Results
The following document contains the results of PMD 6.49.0.
Violations By Priority
Priority 3
org/apache/maven/api/plugin/testing/MojoExtension.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 215–217 |
org/apache/maven/api/plugin/testing/stubs/SessionStub.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–280 |
org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'releaseArtifactRepository'. | 96 |
UnusedPrivateField | Avoid unused private fields such as 'snapshotArtifactRepository'. | 98 |
UnusedPrivateField | Avoid unused private fields such as 'artifactMap'. | 106 |
UnusedPrivateField | Avoid unused private fields such as 'pluginArtifactMap'. | 110 |
UnusedPrivateField | Avoid unused private fields such as 'reportArtifactMap'. | 112 |
UnusedPrivateField | Avoid unused private fields such as 'extensionArtifactMap'. | 114 |
UnusedPrivateField | Avoid unused private fields such as 'projectReferences'. | 116 |
UnusedPrivateField | Avoid unused private fields such as 'buildOverlay'. | 118 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'project'. | 202 |
Files
org/apache/maven/api/plugin/testing/MojoExtension.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 215–217 |
org/apache/maven/api/plugin/testing/stubs/SessionStub.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–280 |
org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'releaseArtifactRepository'. | 3 | 96 |
UnusedPrivateField | Avoid unused private fields such as 'snapshotArtifactRepository'. | 3 | 98 |
UnusedPrivateField | Avoid unused private fields such as 'artifactMap'. | 3 | 106 |
UnusedPrivateField | Avoid unused private fields such as 'pluginArtifactMap'. | 3 | 110 |
UnusedPrivateField | Avoid unused private fields such as 'reportArtifactMap'. | 3 | 112 |
UnusedPrivateField | Avoid unused private fields such as 'extensionArtifactMap'. | 3 | 114 |
UnusedPrivateField | Avoid unused private fields such as 'projectReferences'. | 3 | 116 |
UnusedPrivateField | Avoid unused private fields such as 'buildOverlay'. | 3 | 118 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'project'. | 3 | 202 |