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 | 188–196 |
org/apache/maven/scm/provider/git/gitexe/command/add/GitAddCommand.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 81–83 |
org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 127–129 |
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 | 56–58 |
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 206–210 |
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 | 188–196 |
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 | 81–83 |
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 | 127–129 |
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 | 56–58 |
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 206–210 |
org/apache/maven/scm/provider/git/gitexe/command/update/GitLatestRevisionCommandConsumer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 44 |