PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/sat4j/core/VecInt.java

ViolationLine
Avoid unused local variables such as 's'.406

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

ViolationLine
Unnecessary final modifier in final class268 - 280

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

ViolationLine
Unnecessary final modifier in final class76 - 107
Unnecessary final modifier in final class181 - 183

org/sat4j/minisat/core/Heap.java

ViolationLine
Unnecessary final modifier in final class50 - 52
Unnecessary final modifier in final class54 - 56
Unnecessary final modifier in final class58 - 60
Unnecessary final modifier in final class62 - 64
Unnecessary final modifier in final class72 - 81
Unnecessary final modifier in final class83 - 98

org/sat4j/minisat/core/Solver.java

ViolationLine
Avoid unused local variables such as 'lvoc'.1019

org/sat4j/minisat/core/SolverStats.java

ViolationLine
Avoid empty catch blocks128 - 130
Avoid empty catch blocks130 - 132

org/sat4j/minisat/learning/LimitedLearning.java

ViolationLine
Avoid unused private fields such as 'stats'.57

org/sat4j/minisat/orders/PureOrder.java

ViolationLine
Unnecessary final modifier in final class55 - 58

org/sat4j/minisat/restarts/LubyRestarts.java

ViolationLine
Unnecessary final modifier in final class101 - 103

org/sat4j/opt/MaxSatDecorator.java

ViolationLine
These nested if statements could be combined137 - 140

org/sat4j/tools/DimacsOutputSolver.java

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

org/sat4j/tools/Minimal4CardinalityModel.java

ViolationLine
Avoid empty catch blocks84 - 86

org/sat4j/tools/Minimal4InclusionModel.java

ViolationLine
Avoid empty catch blocks90 - 92

org/sat4j/tools/OptToSatAdapter.java

ViolationLine
Avoid empty catch blocks104 - 106

org/sat4j/tools/SpeedTracing.java

ViolationLine
Avoid unused private fields such as 'nVar'.50

org/sat4j/tools/encoding/Commander.java

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