PMD Results
The following document contains the results of PMD 6.55.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 | 184–186 |
UnusedPrivateMethod | Avoid unused private methods such as 'createSession()'. | 335 |
UnusedPrivateMethod | Avoid unused private methods such as 'createProject(InternalSession)'. | 342 |
UnusedPrivateMethod | Avoid unused private methods such as 'createMojoExecution()'. | 359 |
UnusedPrivateMethod | Avoid unused private methods such as 'createLog()'. | 384 |
UnusedPrivateMethod | Avoid unused private methods such as 'isEmpty(String)'. | 543 |
org/apache/maven/api/plugin/testing/stubs/ProjectStub.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'properties'. | 41 |
org/apache/maven/api/plugin/testing/stubs/SessionMock.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–441 |
Files
org/apache/maven/api/plugin/testing/MojoExtension.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 184–186 |
UnusedPrivateMethod | Avoid unused private methods such as 'createSession()'. | 3 | 335 |
UnusedPrivateMethod | Avoid unused private methods such as 'createProject(InternalSession)'. | 3 | 342 |
UnusedPrivateMethod | Avoid unused private methods such as 'createMojoExecution()'. | 3 | 359 |
UnusedPrivateMethod | Avoid unused private methods such as 'createLog()'. | 3 | 384 |
UnusedPrivateMethod | Avoid unused private methods such as 'isEmpty(String)'. | 3 | 543 |
org/apache/maven/api/plugin/testing/stubs/ProjectStub.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'properties'. | 3 | 41 |
org/apache/maven/api/plugin/testing/stubs/SessionMock.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–441 |