PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 3
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 94 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 149 |
Priority 4
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 87 |
UselessParentheses | Useless parentheses. | 117 |
UselessParentheses | Useless parentheses. | 161 |
UselessParentheses | Useless parentheses. | 162 |
UselessParentheses | Useless parentheses. | 163 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 556 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MessageUtils': 'buffer' is already in scope | 558 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenCli': 'LOCAL_REPO_PROPERTY' is already in scope because it is declared in an enclosing type | 1398 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenCli': 'LOCAL_REPO_PROPERTY' is already in scope because it is declared in an enclosing type | 1403 |
org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 52–54 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 224 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 74 |
Files
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 87 |
UselessParentheses | Useless parentheses. | 4 | 117 |
UselessParentheses | Useless parentheses. | 4 | 161 |
UselessParentheses | Useless parentheses. | 4 | 162 |
UselessParentheses | Useless parentheses. | 4 | 163 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 556 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MessageUtils': 'buffer' is already in scope | 4 | 558 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenCli': 'LOCAL_REPO_PROPERTY' is already in scope because it is declared in an enclosing type | 4 | 1398 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MavenCli': 'LOCAL_REPO_PROPERTY' is already in scope because it is declared in an enclosing type | 4 | 1403 |
org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 52–54 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 3 | 94 |
UselessParentheses | Useless parentheses. | 4 | 224 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 3 | 149 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 74 |