PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 188196

org/apache/maven/scm/provider/git/gitexe/command/add/GitAddCommand.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 8183

org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 127129

org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveConsumer.java

Rule Violation Line
UnnecessaryReturn Unnecessary return statement 76

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 5658

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java

Rule Violation Line
EmptyControlStatement Empty if statement 206210

Priority 4

org/apache/maven/scm/provider/git/gitexe/command/checkout/GitCheckOutCommand.java

Rule Violation Line
UselessParentheses Useless parentheses. 93

org/apache/maven/scm/provider/git/gitexe/command/update/GitLatestRevisionCommandConsumer.java

Rule Violation Line
UselessParentheses Useless parentheses. 44

Files

org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 188196

org/apache/maven/scm/provider/git/gitexe/command/add/GitAddCommand.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 8183

org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 127129

org/apache/maven/scm/provider/git/gitexe/command/checkout/GitCheckOutCommand.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 93

org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveConsumer.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 76

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 5658

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 206210

org/apache/maven/scm/provider/git/gitexe/command/update/GitLatestRevisionCommandConsumer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 44