The following document contains the results of PMD 4.3.
Violation | Line |
---|---|
A catch statement that catches an exception only to rethrow it should be avoided. | 221 - 223 |
A catch statement should never catch throwable since it includes errors. | 223 |
Violation | Line |
---|---|
Avoid unused imports such as 'net.sourceforge.pmd.lang.LanguageVersion' | 11 |
Violation | Line |
---|---|
Avoid unused imports such as 'com.beust.jcommander.IParameterValidator' | 11 |
Violation | Line |
---|---|
No need to call String.valueOf to append to a string. | 54 |
No need to call String.valueOf to append to a string. | 62 |
No need to call String.valueOf to append to a string. | 62 |
No need to call String.valueOf to append to a string. | 67 |
No need to call String.valueOf to append to a string. | 67 |
No need to call String.valueOf to append to a string. | 85 |
No need to call String.valueOf to append to a string. | 85 |
No need to call String.valueOf to append to a string. | 103 |
Violation | Line |
---|---|
Avoid unused local variables such as 'popped'. | 129 |
Avoid empty while statements | 130 |
Violation | Line |
---|---|
Avoid unused private fields such as 'decoration'. | 26 |
Violation | Line |
---|---|
JUnit 4 tests that execute tests should use the @Test annotation | 111 - 113 |
JUnit 4 tests that execute tests should use the @Test annotation | 127 - 129 |
JUnit 4 tests that execute tests should use the @Test annotation | 135 - 137 |
JUnit 4 tests that execute tests should use the @Test annotation | 143 - 145 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 105 |
Violation | Line |
---|---|
Avoid unused private fields such as 'type'. | 33 |
Violation | Line |
---|---|
Avoid unused local variables such as 'problemStart'. | 213 |
Violation | Line |
---|---|
Perhaps 'wordsAreRegex' could be replaced by a local variable. | 30 |
Avoid unused private fields such as 'wordsAreRegex'. | 30 |
Violation | Line |
---|---|
Perhaps 'label' could be replaced by a local variable. | 17 |
Violation | Line |
---|---|
Perhaps 'label' could be replaced by a local variable. | 30 |
Violation | Line |
---|---|
A catch statement should never catch throwable since it includes errors. | 27 |
A catch statement should never catch throwable since it includes errors. | 33 |
Violation | Line |
---|---|
A catch statement should never catch throwable since it includes errors. | 663 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Collections' | 8 |