PMD Results

The following document contains the results of PMD 4.2.5.

Files

junitx/ddtunit/DDTTestCase.java

ViolationLine
Avoid empty catch blocks92 - 94
Avoid empty finally blocks186 - 187

junitx/ddtunit/InternalLogger.java

ViolationLine
Avoid empty if statements63 - 70

junitx/ddtunit/data/AssertObject.java

ViolationLine
Avoid unused private methods such as 'validateSubType(Class)'.107
Avoid empty catch blocks116 - 118

junitx/ddtunit/data/ComparableRange.java

ViolationLine
These nested if statements could be combined71 - 74
These nested if statements could be combined95 - 98
These nested if statements could be combined137 - 140

junitx/ddtunit/data/ObjectAsserter.java

ViolationLine
These nested if statements could be combined263 - 269
Avoid unused method parameters such as 'assertEx'.324 - 340

junitx/ddtunit/data/db/DbDataRestorer.java

ViolationLine
Avoid empty catch blocks131 - 133
Avoid unused local variables such as 'type'.178
Avoid empty catch blocks245 - 247
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.288
Avoid empty catch blocks299 - 301

junitx/ddtunit/data/processing/ActionBase.java

ViolationLine
These nested if statements could be combined526 - 528

junitx/ddtunit/data/processing/AttributeListCreatorAction.java

ViolationLine
Avoid empty if statements110 - 112

junitx/ddtunit/data/processing/BeanCreatorAction.java

ViolationLine
Avoid unused local variables such as 'param'.181

junitx/ddtunit/data/processing/CollectionCreatorAction.java

ViolationLine
These nested if statements could be combined113 - 115
Avoid empty if statements191 - 193
These nested if statements could be combined255 - 257

junitx/ddtunit/data/processing/DateCreatorAction.java

ViolationLine
Avoid unused private fields such as 'PROP_SYSTIME'.184
Avoid unused local variables such as 'name'.221

junitx/ddtunit/data/processing/MapCreatorAction.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'40
Avoid unused imports such as 'junitx.ddtunit.data.processing.CollectionCreatorAction.CollectionReferenceInfo'50
These nested if statements could be combined222 - 224

junitx/ddtunit/data/processing/SubelementCreatorAction.java

ViolationLine
Avoid unused imports such as 'junitx.ddtunit.data.processing.CollectionCreatorAction.CollectionReferenceInfo'51
These nested if statements could be combined354 - 356

junitx/ddtunit/data/processing/parser/ParserImpl.java

ViolationLine
Avoid unused private fields such as 'XML_LEXICAL_HANDLER_URI'.90
Avoid empty catch blocks303 - 305

junitx/ddtunit/util/ClassAnalyser.java

ViolationLine
These nested if statements could be combined727 - 730
These nested if statements could be combined744 - 747

junitx/framework/Assert.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.305
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.305

junitx/framework/ThrowableAssert.java

ViolationLine
These nested if statements could be combined125 - 127
These nested if statements could be combined130 - 132