PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/fosstrak/epcis/repository/capture/CaptureOperationsModule.java

ViolationLine
Avoid empty catch blocks426 - 428
Avoid empty if statements541 - 543
These nested if statements could be combined595 - 597
Avoid unused method parameters such as 'eventType'.851 - 881
Avoid empty if statements1347 - 1349

org/fosstrak/epcis/repository/EpcisQueryControlInterface.java

ViolationLine
Avoid unused imports such as 'org.fosstrak.epcis.model.InvalidURIException'25
Avoid unused imports such as 'org.fosstrak.epcis.model.QueryParameterException'26

org/fosstrak/epcis/repository/query/QueryOperationsBackendSQL.java

ViolationLine
Avoid empty if statements259 - 261
These nested if statements could be combined281 - 283
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.697

org/fosstrak/epcis/repository/query/QueryOperationsModule.java

ViolationLine
Avoid unused imports such as 'org.fosstrak.epcis.model.QueryTooLargeException'56
Avoid empty catch blocks579
Avoid empty catch blocks586
Avoid empty catch blocks593
Avoid empty catch blocks603

org/fosstrak/epcis/repository/query/QuerySubscription.java

ViolationLine
Avoid unused method parameters such as 'queryParams'.208 - 229
Avoid empty catch blocks381 - 383

org/fosstrak/epcis/repository/query/QuerySubscriptionScheduled.java

ViolationLine
Avoid unused imports such as 'org.fosstrak.epcis.model.ImplementationException'31

org/fosstrak/epcis/repository/query/Schedule.java

ViolationLine
Too many static imports may lead to messy code21 - 657
Avoid unused imports such as 'org.fosstrak.epcis.model.ImplementationException'36
Avoid unused imports such as 'org.fosstrak.epcis.model.SubscriptionControlsException'38
These nested if statements could be combined240 - 242
These nested if statements could be combined281 - 283
These nested if statements could be combined315 - 317