PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'settingsDecrypter'. 80

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. 591
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 594
UselessParentheses Useless parentheses. 1121
UselessParentheses Useless parentheses. 1122
UselessParentheses Useless parentheses. 1498
UselessParentheses Useless parentheses. 1498

org/apache/maven/cli/event/ExecutionEventLogger.java

Rule Violation Line
UselessParentheses Useless parentheses. 120
UselessParentheses Useless parentheses. 334

org/apache/maven/cli/logging/Slf4jLoggerManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 5860

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 591
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 4 594
UselessParentheses Useless parentheses. 4 1121
UselessParentheses Useless parentheses. 4 1122
UselessParentheses Useless parentheses. 4 1498
UselessParentheses Useless parentheses. 4 1498

org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'settingsDecrypter'. 3 80

org/apache/maven/cli/event/ExecutionEventLogger.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 120
UselessParentheses Useless parentheses. 4 334

org/apache/maven/cli/logging/Slf4jLoggerManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 5860

org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

Rule Violation Priority Line
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