PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/sat4j/minisat/constraints/card/MaxWatchCard.java

ViolationLine
Unnecessary final modifier in final class256 - 268

org/sat4j/minisat/constraints/cnf/Lits.java

ViolationLine
Unnecessary final modifier in final class74 - 104
Unnecessary final modifier in final class173 - 175

org/sat4j/minisat/core/Heap.java

ViolationLine
Unnecessary final modifier in final class48 - 50
Unnecessary final modifier in final class52 - 54
Unnecessary final modifier in final class56 - 58
Unnecessary final modifier in final class60 - 62
Unnecessary final modifier in final class70 - 79
Unnecessary final modifier in final class81 - 95

org/sat4j/minisat/core/SolverStats.java

ViolationLine
Avoid empty catch blocks119 - 121
Avoid empty catch blocks121 - 123

org/sat4j/minisat/orders/PureOrder.java

ViolationLine
Unnecessary final modifier in final class53 - 56

org/sat4j/minisat/restarts/LubyRestarts.java

ViolationLine
Unnecessary final modifier in final class47 - 74
Unnecessary final modifier in final class97 - 99

org/sat4j/opt/MaxSatDecorator.java

ViolationLine
These nested if statements could be combined115 - 118

org/sat4j/tools/DimacsOutputSolver.java

ViolationLine
Avoid unused method parameters such as 'stream'.63 - 65

org/sat4j/tools/Minimal4CardinalityModel.java

ViolationLine
Avoid empty catch blocks82 - 84

org/sat4j/tools/Minimal4InclusionModel.java

ViolationLine
Avoid empty catch blocks88 - 90

org/sat4j/tools/OptToSatAdapter.java

ViolationLine
Avoid empty catch blocks100 - 102

org/sat4j/tools/encoding/Commander.java

ViolationLine
Avoid unused private methods such as 'addAtMost(ISolver,IVecInt,int,int)'.146 - 147

org/sat4j/tools/encoding/Policy.java

ViolationLine
Avoid unused private fields such as 'seq'.45
Avoid unused private fields such as 'binary'.46
Avoid unused private fields such as 'product'.47