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 | 187–195 |
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 | 137–139 |
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 57–59 |
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. | 92 |
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 | 187–195 |
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 | 137–139 |
org/apache/maven/scm/provider/git/gitexe/command/checkout/GitCheckOutCommand.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 92 |
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 | 57–59 |
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 206–210 |