PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 3
org/apache/rat/plugin/BaseRatMojo.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 154–156 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 172–179 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 202–208 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 220–230 |
Priority 4
org/apache/rat/mp/AbstractRatMojo.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 357 |
org/apache/rat/plugin/BaseRatMojo.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused import 'java.util.stream.Collectors' | 39 |
org/apache/rat/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/apache/rat/mp/AbstractRatMojo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 4 | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 4 | 357 |
org/apache/rat/plugin/BaseRatMojo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused import 'java.util.stream.Collectors' | 4 | 39 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 154–156 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 172–179 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 202–208 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 220–230 |
org/apache/rat/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 |
Apache RAT
Maven