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 94
org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'event'. 149

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. 553
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 555
UselessParentheses Useless parentheses. 1038
UselessParentheses Useless parentheses. 1038
UselessParentheses Useless parentheses. 1349
UselessParentheses Useless parentheses. 1349
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. 225
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 553
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 4 555
UselessParentheses Useless parentheses. 4 1038
UselessParentheses Useless parentheses. 4 1038
UselessParentheses Useless parentheses. 4 1349
UselessParentheses Useless parentheses. 4 1349

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 94
UselessParentheses Useless parentheses. 4 225

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

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'event'. 3 149

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74