The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 546 | 26 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in org.sat4j.Lanceur.configureSolver(String[]) | STYLE | REC_CATCH_EXCEPTION | 176 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.core.Vec.toArray() may expose internal representation by returning Vec.myarray | MALICIOUS_CODE | EI_EXPOSE_REP | 299 |
| org.sat4j.core.Vec.Vec(Object[]) may expose internal representation by storing an externally mutable object into Vec.myarray | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.core.VecInt.VecInt(int[]) may expose internal representation by storing an externally mutable object into VecInt.myarray | MALICIOUS_CODE | EI_EXPOSE_REP2 | 184 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from org.sat4j.minisat.constraints.pb.PBConstr to org.sat4j.minisat.constraints.pb.WatchPb in org.sat4j.minisat.constraints.pb.ConflictMap.resolve(PBConstr, int, VarActivityListener) | STYLE | BC_UNCONFIRMED_CAST | 210 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.minisat.core.Heap.Heap(double[]) may expose internal representation by storing an externally mutable object into Heap.activity | MALICIOUS_CODE | EI_EXPOSE_REP2 | 101 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should org.sat4j.minisat.core.Solver.findModel() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 1168 |
| Should org.sat4j.minisat.core.Solver.findModel(IVecInt) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 1177 |
| Bug | Category | Details | Line |
|---|---|---|---|
| AbstractLearning.val not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| MiniSATLearning.dsf not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.opt.MinCostDecorator.model() may expose internal representation by returning MinCostDecorator.prevmodel | MALICIOUS_CODE | EI_EXPOSE_REP | 163 |
| MinCostDecorator.costs not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.opt.MinOneDecorator.model() may expose internal representation by returning MinOneDecorator.prevmodel | MALICIOUS_CODE | EI_EXPOSE_REP | 98 |
| MinOneDecorator.prevmodel not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.opt.PseudoOptDecorator.model() may expose internal representation by returning PseudoOptDecorator.prevmodel | MALICIOUS_CODE | EI_EXPOSE_REP | 89 |
| PseudoOptDecorator.objfct not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| WeightedMaxSatDecorator.counter not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| CSPReader.currentclausifiable not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| CSPReader.currentdomain not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| CSPReader.currentpredicate not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| LecteurDimacs.in not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.sat4j.reader.csp.EnumeratedDomain.EnumeratedDomain(int[]) may expose internal representation by storing an externally mutable object into EnumeratedDomain.values | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Predicate.encoding not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Predicate.myscript not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Supports.encoding not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Supports.mtuple not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |