PMD Results
The following document contains the results of PMD 7.12.0.
Violations By Priority
Priority 2
JMockit Coverage Tests - integrationTests/otherControlStructures/TryCatchFinallyStatements.java
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 37 |
Priority 3
JMockit Coverage Tests - integrationTests/AnAnnotation.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 1–32 |
JMockit Coverage Tests - integrationTests/BooleanExpressions.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 's'. | 163 |
UnusedLocalVariable | Avoid unused local variables such as 's'. | 185 |
JMockit Coverage Tests - integrationTests/UnreachableStatements.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'a'. | 12 |
JMockit Coverage Tests - integrationTests/otherControlStructures/SwitchStatements.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'b'. | 10 |
UnusedLocalVariable | Avoid unused local variables such as 'b'. | 38 |
Files
JMockit Coverage Tests - integrationTests/AnAnnotation.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 1–32 |
JMockit Coverage Tests - integrationTests/BooleanExpressions.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 's'. | 3 | 163 |
UnusedLocalVariable | Avoid unused local variables such as 's'. | 3 | 185 |
JMockit Coverage Tests - integrationTests/UnreachableStatements.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'a'. | 3 | 12 |
JMockit Coverage Tests - integrationTests/otherControlStructures/SwitchStatements.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'b'. | 3 | 10 |
UnusedLocalVariable | Avoid unused local variables such as 'b'. | 3 | 38 |
JMockit Coverage Tests - integrationTests/otherControlStructures/TryCatchFinallyStatements.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 37 |