PMD Results
The following document contains the results of PMD 7.14.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 | 155–157 |
CollapsibleIfStatements | This if statement could be combined with its parent | 173–180 |
CollapsibleIfStatements | This if statement could be combined with its parent | 203–209 |
CollapsibleIfStatements | This if statement could be combined with its parent | 221–231 |
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 | 349 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 350 |
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 | 349 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.rat.utils': 'Log' is already in scope because it is imported in this file | 4 | 350 |
org/apache/rat/plugin/BaseRatMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 155–157 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 173–180 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 203–209 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 221–231 |
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 |