PMD Results
The following document contains the results of PMD 6.46.0.
Violations By Priority
Priority 3
org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'enableOnAbsentOption(CommandLine,char,Consumer)'. | 1685–1687 |
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 78 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 105 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 156 |
Priority 4
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 99 |
UselessParentheses | Useless parentheses. | 103 |
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 116 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 627 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 630 |
UselessParentheses | Useless parentheses. | 1182 |
UselessParentheses | Useless parentheses. | 1183 |
UselessParentheses | Useless parentheses. | 1393 |
UselessParentheses | Useless parentheses. | 1393 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 143 |
UselessParentheses | Useless parentheses. | 375 |
org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 58–60 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 248 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 79 |
Files
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 99 |
UselessParentheses | Useless parentheses. | 4 | 103 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 116 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 627 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 4 | 630 |
UselessParentheses | Useless parentheses. | 4 | 1182 |
UselessParentheses | Useless parentheses. | 4 | 1183 |
UselessParentheses | Useless parentheses. | 4 | 1393 |
UselessParentheses | Useless parentheses. | 4 | 1393 |
UnusedPrivateMethod | Avoid unused private methods such as 'enableOnAbsentOption(CommandLine,char,Consumer)'. | 3 | 1685–1687 |
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 3 | 78 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 143 |
UselessParentheses | Useless parentheses. | 4 | 375 |
org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 58–60 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 3 | 105 |
UselessParentheses | Useless parentheses. | 4 | 248 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 3 | 156 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 79 |