PMD Results
The following document contains the results of PMD 6.49.0.
Violations By Priority
Priority 3
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 76 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 90 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 138 |
Priority 4
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 105 |
UselessParentheses | Useless parentheses. | 108 |
UselessParentheses | Useless parentheses. | 119 |
UselessParentheses | Useless parentheses. | 119 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 495 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 497 |
UselessParentheses | Useless parentheses. | 956 |
UselessParentheses | Useless parentheses. | 956 |
UselessParentheses | Useless parentheses. | 1267 |
UselessParentheses | Useless parentheses. | 1267 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 108 |
UselessParentheses | Useless parentheses. | 292 |
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. | 209 |
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 | 89 |
UselessParentheses | Useless parentheses. | 4 | 105 |
UselessParentheses | Useless parentheses. | 4 | 108 |
UselessParentheses | Useless parentheses. | 4 | 119 |
UselessParentheses | Useless parentheses. | 4 | 119 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 495 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 4 | 497 |
UselessParentheses | Useless parentheses. | 4 | 956 |
UselessParentheses | Useless parentheses. | 4 | 956 |
UselessParentheses | Useless parentheses. | 4 | 1267 |
UselessParentheses | Useless parentheses. | 4 | 1267 |
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 3 | 76 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 108 |
UselessParentheses | Useless parentheses. | 4 | 292 |
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 | 90 |
UselessParentheses | Useless parentheses. | 4 | 209 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 3 | 138 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 74 |