The following document contains the results of PMD 6.29.0.
Rule | Violation | Line |
---|---|---|
SystemPrintln | System.out.println is used | 51 |
SystemPrintln | System.out.println is used | 63 |
Rule | Violation | Line |
---|---|---|
LocalVariableCouldBeFinal | Local variable 'entries' could be declared final | 52–56 |
LocalVariableCouldBeFinal | Local variable 'entries' could be declared final | 70–75 |
Rule | Violation | Line |
---|---|---|
AtLeastOneConstructor | Each class should declare at least one constructor | 17–70 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 34 |
LocalVariableCouldBeFinal | Local variable 'startTime' could be declared final | 45 |
LocalVariableCouldBeFinal | Local variable 'testName' could be declared final | 46 |
LocalVariableCouldBeFinal | Local variable 'startMsg' could be declared final | 49 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 55–57 |
LocalVariableCouldBeFinal | Local variable 'durationNanos' could be declared final | 59 |
LocalVariableCouldBeFinal | Local variable 'durationMillis' could be declared final | 60 |
LocalVariableCouldBeFinal | Local variable 'endMsg' could be declared final | 61 |
Rule | Violation | Priority | Line |
---|---|---|---|
LocalVariableCouldBeFinal | Local variable 'entries' could be declared final | 3 | 52–56 |
LocalVariableCouldBeFinal | Local variable 'entries' could be declared final | 3 | 70–75 |
Rule | Violation | Priority | Line |
---|---|---|---|
AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 17–70 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 34 |
LocalVariableCouldBeFinal | Local variable 'startTime' could be declared final | 3 | 45 |
LocalVariableCouldBeFinal | Local variable 'testName' could be declared final | 3 | 46 |
LocalVariableCouldBeFinal | Local variable 'startMsg' could be declared final | 3 | 49 |
SystemPrintln | System.out.println is used | 2 | 51 |
AvoidCatchingThrowable | A catch statement should never catch throwable since it includes errors. | 3 | 55–57 |
LocalVariableCouldBeFinal | Local variable 'durationNanos' could be declared final | 3 | 59 |
LocalVariableCouldBeFinal | Local variable 'durationMillis' could be declared final | 3 | 60 |
LocalVariableCouldBeFinal | Local variable 'endMsg' could be declared final | 3 | 61 |
SystemPrintln | System.out.println is used | 2 | 63 |