PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 2
org/apache/maven/slf4j/DefaultLogLevelRecorder.java
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 95 |
Priority 3
org/apache/maven/slf4j/DefaultLogLevelRecorder.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 91–93 |
Priority 4
org/apache/maven/slf4j/MavenBaseLogger.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 193 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 195 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 197 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 199 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 201 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 203 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 205 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 207 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 209 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 211 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 213 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 215 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'LOG_KEY_PREFIX' is already in scope because it is declared in an enclosing type | 238 |
UselessParentheses | Useless parentheses. | 321 |
UselessParentheses | Useless parentheses. | 445 |
org/apache/maven/slf4j/SimpleLoggerConfiguration.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SimpleLoggerConfiguration': 'SHOW_LOG_NAME_DEFAULT' is already in scope because it is declared in an enclosing type | 102 |
UselessParentheses | Useless parentheses. | 129 |
Files
org/apache/maven/slf4j/DefaultLogLevelRecorder.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 91–93 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 95 |
org/apache/maven/slf4j/MavenBaseLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 193 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 195 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 197 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 199 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 201 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 203 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 205 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 207 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 209 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 211 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 213 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'SYSTEM_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 215 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenBaseLogger': 'LOG_KEY_PREFIX' is already in scope because it is declared in an enclosing type | 4 | 238 |
UselessParentheses | Useless parentheses. | 4 | 321 |
UselessParentheses | Useless parentheses. | 4 | 445 |
org/apache/maven/slf4j/SimpleLoggerConfiguration.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SimpleLoggerConfiguration': 'SHOW_LOG_NAME_DEFAULT' is already in scope because it is declared in an enclosing type | 4 | 102 |
UselessParentheses | Useless parentheses. | 4 | 129 |