PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 2

JMockit Coverage Tests - integration/tests/other/control/structures/TryCatchFinallyStatements.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 42

Priority 3

JMockit Coverage Tests - integration/tests/AnAnnotation.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 637

JMockit Coverage Tests - integration/tests/BooleanExpressions.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 's'. 168
UnusedLocalVariable Avoid unused local variables such as 's'. 190

JMockit Coverage Tests - integration/tests/ClassInRegularPackage.java

Rule Violation Line
UselessPureMethodCall Do not call pure method toString if the result is not used. 57

JMockit Coverage Tests - integration/tests/UnreachableStatements.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'a'. 17

JMockit Coverage Tests - integration/tests/other/control/structures/SwitchStatements.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'b'. 15
UnusedLocalVariable Avoid unused local variables such as 'b'. 43

JMockit Coverage Tests - integration/tests/other/control/structures/SynchronizedBlocks.java

Rule Violation Line
UselessPureMethodCall Do not call pure method toString if the result is not used. 18

JMockit Coverage Tests - integration/tests/other/control/structures/TryCatchFinallyStatements.java

Rule Violation Line
UselessPureMethodCall Do not call pure method toString if the result is not used. 75
UselessPureMethodCall Do not call pure method toString if the result is not used. 78

Files

JMockit Coverage Tests - integration/tests/AnAnnotation.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 637

JMockit Coverage Tests - integration/tests/BooleanExpressions.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 's'. 3 168
UnusedLocalVariable Avoid unused local variables such as 's'. 3 190

JMockit Coverage Tests - integration/tests/ClassInRegularPackage.java

Rule Violation Priority Line
UselessPureMethodCall Do not call pure method toString if the result is not used. 3 57

JMockit Coverage Tests - integration/tests/UnreachableStatements.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'a'. 3 17

JMockit Coverage Tests - integration/tests/other/control/structures/SwitchStatements.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'b'. 3 15
UnusedLocalVariable Avoid unused local variables such as 'b'. 3 43

JMockit Coverage Tests - integration/tests/other/control/structures/SynchronizedBlocks.java

Rule Violation Priority Line
UselessPureMethodCall Do not call pure method toString if the result is not used. 3 18

JMockit Coverage Tests - integration/tests/other/control/structures/TryCatchFinallyStatements.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 42
UselessPureMethodCall Do not call pure method toString if the result is not used. 3 75
UselessPureMethodCall Do not call pure method toString if the result is not used. 3 78