PMD Results
The following document contains the results of PMD 6.49.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)'. | 1404–1405 |
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 72 |
org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 89 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 136 |
Priority 4
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 88 |
UselessParentheses | Useless parentheses. | 104 |
UselessParentheses | Useless parentheses. | 107 |
UselessParentheses | Useless parentheses. | 118 |
UselessParentheses | Useless parentheses. | 118 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 524 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 526 |
UselessParentheses | Useless parentheses. | 1004 |
UselessParentheses | Useless parentheses. | 1004 |
UselessParentheses | Useless parentheses. | 1182 |
UselessParentheses | Useless parentheses. | 1182 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 129 |
UselessParentheses | Useless parentheses. | 331 |
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. | 208 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 73 |
Files
org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 88 |
UselessParentheses | Useless parentheses. | 4 | 104 |
UselessParentheses | Useless parentheses. | 4 | 107 |
UselessParentheses | Useless parentheses. | 4 | 118 |
UselessParentheses | Useless parentheses. | 4 | 118 |
org/apache/maven/cli/MavenCli.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 524 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 4 | 526 |
UselessParentheses | Useless parentheses. | 4 | 1004 |
UselessParentheses | Useless parentheses. | 4 | 1004 |
UselessParentheses | Useless parentheses. | 4 | 1182 |
UselessParentheses | Useless parentheses. | 4 | 1182 |
UnusedPrivateMethod | Avoid unused private methods such as 'enableOnAbsentOption(CommandLine,char,Consumer)'. | 3 | 1404–1405 |
org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 3 | 72 |
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 129 |
UselessParentheses | Useless parentheses. | 4 | 331 |
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 | 89 |
UselessParentheses | Useless parentheses. | 4 | 208 |
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 3 | 136 |
org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 73 |