The following document contains the results of Checkstyle. 
| Rules | Violations | Severity |
|---|---|---|
JavadocPackage
| 0 | |
| NewlineAtEndOfFile | 0 | |
| Translation | 0 | |
| FileLength | 0 | |
FileTabCharacter
| 0 | |
RegexpSingleline
| 37 | |
| JavadocMethod | 36 | |
| JavadocType | 2 | |
| JavadocVariable | 23 | |
| JavadocStyle | 0 | |
| ConstantName | 1 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 0 | |
| LineLength | 21 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| WhitespaceAfter | 2 | |
| WhitespaceAround | 0 | |
| ModifierOrder | 0 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 0 | |
| LeftCurly | 0 | |
| NeedBraces | 0 | |
| RightCurly | 0 | |
| AvoidInlineConditionals | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| HiddenField | 2 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 6 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 46 | |
| FinalClass | 1 | |
| HideUtilityClassConstructor | 0 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 4 | |
| ArrayTypeStyle | 0 | |
| FinalParameters | 52 | |
| TodoComment | 0 | |
| UpperEll | 0 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Line has trailing spaces. | 49 | |
| Line has trailing spaces. | 52 | |
| Line has trailing spaces. | 57 | |
| Missing a Javadoc comment. | 61 | |
| Line is longer than 80 characters. | 79 | |
| Line is longer than 80 characters. | 81 | |
| Line is longer than 80 characters. | 83 | |
| Method 'displayLicense' is not designed for extension - needs to be abstract, final or empty. | 88 | |
| Line is longer than 80 characters. | 91 | |
| Method 'usage' is not designed for extension - needs to be abstract, final or empty. | 94 | |
| Line is longer than 80 characters. | 96 | |
| Method 'createReader' is not designed for extension - needs to be abstract, final or empty. | 99 | |
| Parameter aSolver should be final. | 100 | |
| Parameter problemname should be final. | 100 | |
| Method 'getInstanceName' is not designed for extension - needs to be abstract, final or empty. | 111 | |
| Parameter args should be final. | 112 | |
| Missing a Javadoc comment. | 116 | |
| Method 'configureSolver' is not designed for extension - needs to be abstract, final or empty. | 118 | |
| Parameter args should be final. | 119 | |
| Line is longer than 80 characters. | 158 | |
| ',' is not followed by whitespace. | 158 | |
| ',' is not followed by whitespace. | 158 | |
| Missing a Javadoc comment. | 188 | |
| Parameter args should be final. | 188 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Line has trailing spaces. | 48 | |
| Line has trailing spaces. | 50 | |
| Line has trailing spaces. | 52 | |
| Line has trailing spaces. | 58 | |
| Missing a Javadoc comment. | 62 | |
| Missing a Javadoc comment. | 64 | |
| Missing a Javadoc comment. | 66 | |
| Missing a Javadoc comment. | 68 | |
| Missing a Javadoc comment. | 70 | |
| Missing a Javadoc comment. | 72 | |
| Missing a Javadoc comment. | 74 | |
| Missing a Javadoc comment. | 76 | |
| Parameter solver should be final. | 76 | |
| Line has trailing spaces. | 82 | |
| Method 'newVar' is not designed for extension - needs to be abstract, final or empty. | 85 | |
| Line has trailing spaces. | 92 | |
| Line has trailing spaces. | 95 | |
| Expected an @return tag. | 99 | |
| Method 'newVar' is not designed for extension - needs to be abstract, final or empty. | 99 | |
| Parameter howmany should be final. | 100 | |
| Line has trailing spaces. | 116 | |
| Method 'costOf' is not designed for extension - needs to be abstract, final or empty. | 121 | |
| Parameter var should be final. | 121 | |
| Line has trailing spaces. | 127 | |
| Method 'setCost' is not designed for extension - needs to be abstract, final or empty. | 133 | |
| Parameter var should be final. | 133 | |
| Parameter cost should be final. | 133 | |
| Method 'admitABetterSolution' is not designed for extension - needs to be abstract, final or empty. | 138 | |
| Missing a Javadoc comment. | 138 | |
| Method 'admitABetterSolution' is not designed for extension - needs to be abstract, final or empty. | 142 | |
| Missing a Javadoc comment. | 142 | |
| Parameter assumps should be final. | 142 | |
| Method 'hasNoObjectiveFunction' is not designed for extension - needs to be abstract, final or empty. | 155 | |
| Missing a Javadoc comment. | 155 | |
| Method 'nonOptimalMeansSatisfiable' is not designed for extension - needs to be abstract, final or empty. | 159 | |
| Missing a Javadoc comment. | 159 | |
| Method 'calculateObjective' is not designed for extension - needs to be abstract, final or empty. | 163 | |
| Missing a Javadoc comment. | 163 | |
| Missing a Javadoc comment. | 168 | |
| Parameter prevmodel2 should be final. | 168 | |
| Method 'discardCurrentSolution' is not designed for extension - needs to be abstract, final or empty. | 178 | |
| Missing a Javadoc comment. | 178 | |
| Method 'reset' is not designed for extension - needs to be abstract, final or empty. | 191 | |
| Method 'model' is not designed for extension - needs to be abstract, final or empty. | 197 | |
| Method 'getObjectiveValue' is not designed for extension - needs to be abstract, final or empty. | 203 | |
| Missing a Javadoc comment. | 203 | |
| Method 'discard' is not designed for extension - needs to be abstract, final or empty. | 207 | |
| Missing a Javadoc comment. | 207 | |
| Method 'forceObjectiveValueTo' is not designed for extension - needs to be abstract, final or empty. | 211 | |
| Missing a Javadoc comment. | 211 | |
| Parameter forcedValue should be final. | 211 | |
| Method 'isOptimal' is not designed for extension - needs to be abstract, final or empty. | 217 | |
| Missing a Javadoc comment. | 217 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Missing a Javadoc comment. | 42 | |
| Missing a Javadoc comment. | 44 | |
| Line has trailing spaces. | 49 | |
| Line is longer than 80 characters. | 53 | |
| Line is longer than 80 characters. | 56 | |
| '1.2' is a magic number. | 56 | |
| '100000' is a magic number. | 56 | |
| Method 'defaultSolver' is not designed for extension - needs to be abstract, final or empty. | 62 | |
| Method 'lightSolver' is not designed for extension - needs to be abstract, final or empty. | 67 | |
| Missing a Javadoc comment. | 72 | |
| Missing a Javadoc comment. | 76 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Class UnitWeightedClause should be declared as final. | 34 | |
| Missing a Javadoc comment. | 34 | |
| Missing a Javadoc comment. | 36 | |
| Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 36 | |
| Missing a Javadoc comment. | 38 | |
| Missing a Javadoc comment. | 42 | |
| Missing a Javadoc comment. | 46 | |
| Missing a Javadoc comment. | 50 | |
| Missing a Javadoc comment. | 54 | |
| Parameter i should be final. | 54 | |
| Missing a Javadoc comment. | 58 | |
| Missing a Javadoc comment. | 62 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Line has trailing spaces. | 48 | |
| Line has trailing spaces. | 51 | |
| Line has trailing spaces. | 53 | |
| Missing a Javadoc comment. | 57 | |
| Missing a Javadoc comment. | 60 | |
| Variable 'nbnewvar' must be private and have accessor methods. | 60 | |
| Missing a Javadoc comment. | 62 | |
| Missing a Javadoc comment. | 64 | |
| Missing a Javadoc comment. | 66 | |
| Missing a Javadoc comment. | 67 | |
| Missing a Javadoc comment. | 69 | |
| Missing a Javadoc comment. | 71 | |
| Missing a Javadoc comment. | 73 | |
| Missing a Javadoc comment. | 77 | |
| Parameter solver should be final. | 77 | |
| Missing a Javadoc comment. | 81 | |
| Parameter solver should be final. | 81 | |
| Parameter equivalence should be final. | 81 | |
| 'equivalence' hides a field. | 81 | |
| Method 'newVar' is not designed for extension - needs to be abstract, final or empty. | 87 | |
| Parameter howmany should be final. | 88 | |
| Method 'setExpectedNumberOfClauses' is not designed for extension - needs to be abstract, final or empty. | 94 | |
| Parameter nb should be final. | 95 | |
| Missing a Javadoc comment. | 101 | |
| Variable 'top' must be private and have accessor methods. | 101 | |
| Method 'setTopWeight' is not designed for extension - needs to be abstract, final or empty. | 103 | |
| Missing a Javadoc comment. | 103 | |
| Parameter top should be final. | 103 | |
| 'top' hides a field. | 103 | |
| Method 'checkMaxVarId' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| Missing a Javadoc comment. | 107 | |
| Line has trailing spaces. | 116 | |
| Line has trailing spaces. | 119 | |
| Line has trailing spaces. | 123 | |
| Expected an @return tag. | 129 | |
| Method 'addClause' is not designed for extension - needs to be abstract, final or empty. | 129 | |
| Parameter literals should be final. | 130 | |
| Expected @throws tag for 'ContradictionException'. | 130 | |
| Line has trailing spaces. | 136 | |
| Method 'addHardClause' is not designed for extension - needs to be abstract, final or empty. | 142 | |
| Parameter literals should be final. | 142 | |
| Expected @throws tag for 'ContradictionException'. | 143 | |
| Line has trailing spaces. | 149 | |
| Method 'addSoftClause' is not designed for extension - needs to be abstract, final or empty. | 155 | |
| Parameter literals should be final. | 155 | |
| Expected @throws tag for 'ContradictionException'. | 156 | |
| Line has trailing spaces. | 162 | |
| Line has trailing spaces. | 165 | |
| Method 'addSoftClause' is not designed for extension - needs to be abstract, final or empty. | 173 | |
| Parameter weight should be final. | 173 | |
| Parameter literals should be final. | 173 | |
| Expected @throws tag for 'ContradictionException'. | 174 | |
| Method 'addSoftClause' is not designed for extension - needs to be abstract, final or empty. | 178 | |
| Missing a Javadoc comment. | 178 | |
| Parameter weight should be final. | 178 | |
| Parameter literals should be final. | 178 | |
| Line has trailing spaces. | 236 | |
| Line has trailing spaces. | 245 | |
| Method 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty. | 255 | |
| Parameter literals should be final. | 255 | |
| Parameter degree should be final. | 255 | |
| Line has trailing spaces. | 262 | |
| Method 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty. | 274 | |
| Parameter weight should be final. | 274 | |
| Parameter literals should be final. | 274 | |
| Parameter degree should be final. | 274 | |
| Line has trailing spaces. | 281 | |
| Method 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty. | 293 | |
| Parameter weight should be final. | 293 | |
| Parameter literals should be final. | 293 | |
| Parameter degree should be final. | 294 | |
| Line has trailing spaces. | 314 | |
| Method 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty. | 324 | |
| Parameter literals should be final. | 324 | |
| Parameter degree should be final. | 324 | |
| Line has trailing spaces. | 331 | |
| Method 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty. | 343 | |
| Parameter weight should be final. | 343 | |
| Parameter literals should be final. | 343 | |
| Parameter degree should be final. | 343 | |
| Line has trailing spaces. | 350 | |
| Line is longer than 80 characters. | 362 | |
| Method 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty. | 362 | |
| Parameter weight should be final. | 362 | |
| Parameter literals should be final. | 362 | |
| Parameter degree should be final. | 362 | |
| Line has trailing spaces. | 383 | |
| Method 'addLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty. | 387 | |
| Parameter literals should be final. | 387 | |
| Line has trailing spaces. | 396 | |
| Method 'addWeightedLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty. | 402 | |
| Parameter literals should be final. | 402 | |
| Parameter coefficients should be final. | 403 | |
| Line has trailing spaces. | 415 | |
| Method 'addWeightedLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty. | 421 | |
| Parameter literals should be final. | 421 | |
| Parameter coefficients should be final. | 422 | |
| Method 'reset' is not designed for extension - needs to be abstract, final or empty. | 432 | |
| Line has trailing spaces. | 443 | |
| Method 'forceObjectiveValueTo' is not designed for extension - needs to be abstract, final or empty. | 447 | |
| Parameter forcedValue should be final. | 447 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| Line is longer than 80 characters. | 29 | |
| Line has trailing spaces. | 42 | |
| Line has trailing spaces. | 44 | |
| Missing a Javadoc comment. | 48 | |
| Variable 'weight' must be private and have accessor methods. | 48 | |
| Missing a Javadoc comment. | 49 | |
| Variable 'top' must be private and have accessor methods. | 49 | |
| Method 'flushConstraint' is not designed for extension - needs to be abstract, final or empty. | 51 | |
| Method 'handleLine' is not designed for extension - needs to be abstract, final or empty. | 63 | |
| Line has trailing spaces. | 71 | |
| Missing a Javadoc comment. | 75 | |
| Missing a Javadoc comment. | 77 | |
| Parameter solver should be final. | 77 | |
| Missing a Javadoc comment. | 82 | |
| Parameter solver should be final. | 82 | |
| Parameter format should be final. | 82 | |
| Method 'readProblemLine' is not designed for extension - needs to be abstract, final or empty. | 87 | |
| '4' is a magic number. | 96 | |
| '3' is a magic number. | 108 | |
| '5' is a magic number. | 114 | |
| '4' is a magic number. | 115 |