PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

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. 556
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 558
UselessParentheses Useless parentheses. 1041
UselessParentheses Useless parentheses. 1041
UselessParentheses Useless parentheses. 1352
UselessParentheses Useless parentheses. 1352
org/apache/maven/cli/event/ExecutionEventLogger.java
Rule Violation Line
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 293
org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule Violation Line
UselessParentheses Useless parentheses. 5254
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 556
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 4 558
UselessParentheses Useless parentheses. 4 1041
UselessParentheses Useless parentheses. 4 1041
UselessParentheses Useless parentheses. 4 1352
UselessParentheses Useless parentheses. 4 1352

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 293

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 5254

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