Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
600233

Rules

RulesViolationsSeverity
JavadocPackage
  • allowLegacy: "true"
0Errors Error
NewlineAtEndOfFile0Errors Error
Translation0Errors Error
FileLength0Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
37Errors Error
JavadocMethod36Errors Error
JavadocType2Errors Error
JavadocVariable23Errors Error
JavadocStyle0Errors Error
ConstantName1Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MemberName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
LineLength21Errors Error
MethodLength0Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad0Errors Error
MethodParamPad0Errors Error
NoWhitespaceAfter0Errors Error
NoWhitespaceBefore0Errors Error
OperatorWrap0Errors Error
ParenPad0Errors Error
TypecastParenPad0Errors Error
WhitespaceAfter2Errors Error
WhitespaceAround0Errors Error
ModifierOrder0Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock0Errors Error
LeftCurly0Errors Error
NeedBraces0Errors Error
RightCurly0Errors Error
AvoidInlineConditionals0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField2Errors Error
IllegalInstantiation0Errors Error
InnerAssignment0Errors Error
MagicNumber6Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
DesignForExtension46Errors Error
FinalClass1Errors Error
HideUtilityClassConstructor0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier4Errors Error
ArrayTypeStyle0Errors Error
FinalParameters52Errors Error
TodoComment0Errors Error
UpperEll0Errors Error

Details

org/sat4j/maxsat/GenericOptLauncher.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsLine has trailing spaces.49
ErrorsLine has trailing spaces.52
ErrorsLine has trailing spaces.57
ErrorsMissing a Javadoc comment.61
ErrorsLine is longer than 80 characters.79
ErrorsLine is longer than 80 characters.81
ErrorsLine is longer than 80 characters.83
ErrorsMethod 'displayLicense' is not designed for extension - needs to be abstract, final or empty.88
ErrorsLine is longer than 80 characters.91
ErrorsMethod 'usage' is not designed for extension - needs to be abstract, final or empty.94
ErrorsLine is longer than 80 characters.96
ErrorsMethod 'createReader' is not designed for extension - needs to be abstract, final or empty.99
ErrorsParameter aSolver should be final.100
ErrorsParameter problemname should be final.100
ErrorsMethod 'getInstanceName' is not designed for extension - needs to be abstract, final or empty.111
ErrorsParameter args should be final.112
ErrorsMissing a Javadoc comment.116
ErrorsMethod 'configureSolver' is not designed for extension - needs to be abstract, final or empty.118
ErrorsParameter args should be final.119
ErrorsLine is longer than 80 characters.158
Errors',' is not followed by whitespace.158
Errors',' is not followed by whitespace.158
ErrorsMissing a Javadoc comment.188
ErrorsParameter args should be final.188

org/sat4j/maxsat/MinCostDecorator.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsLine has trailing spaces.48
ErrorsLine has trailing spaces.50
ErrorsLine has trailing spaces.52
ErrorsLine has trailing spaces.58
ErrorsMissing a Javadoc comment.62
ErrorsMissing a Javadoc comment.64
ErrorsMissing a Javadoc comment.66
ErrorsMissing a Javadoc comment.68
ErrorsMissing a Javadoc comment.70
ErrorsMissing a Javadoc comment.72
ErrorsMissing a Javadoc comment.74
ErrorsMissing a Javadoc comment.76
ErrorsParameter solver should be final.76
ErrorsLine has trailing spaces.82
ErrorsMethod 'newVar' is not designed for extension - needs to be abstract, final or empty.85
ErrorsLine has trailing spaces.92
ErrorsLine has trailing spaces.95
ErrorsExpected an @return tag.99
ErrorsMethod 'newVar' is not designed for extension - needs to be abstract, final or empty.99
ErrorsParameter howmany should be final.100
ErrorsLine has trailing spaces.116
ErrorsMethod 'costOf' is not designed for extension - needs to be abstract, final or empty.121
ErrorsParameter var should be final.121
ErrorsLine has trailing spaces.127
ErrorsMethod 'setCost' is not designed for extension - needs to be abstract, final or empty.133
ErrorsParameter var should be final.133
ErrorsParameter cost should be final.133
ErrorsMethod 'admitABetterSolution' is not designed for extension - needs to be abstract, final or empty.138
ErrorsMissing a Javadoc comment.138
ErrorsMethod 'admitABetterSolution' is not designed for extension - needs to be abstract, final or empty.142
ErrorsMissing a Javadoc comment.142
ErrorsParameter assumps should be final.142
ErrorsMethod 'hasNoObjectiveFunction' is not designed for extension - needs to be abstract, final or empty.155
ErrorsMissing a Javadoc comment.155
ErrorsMethod 'nonOptimalMeansSatisfiable' is not designed for extension - needs to be abstract, final or empty.159
ErrorsMissing a Javadoc comment.159
ErrorsMethod 'calculateObjective' is not designed for extension - needs to be abstract, final or empty.163
ErrorsMissing a Javadoc comment.163
ErrorsMissing a Javadoc comment.168
ErrorsParameter prevmodel2 should be final.168
ErrorsMethod 'discardCurrentSolution' is not designed for extension - needs to be abstract, final or empty.178
ErrorsMissing a Javadoc comment.178
ErrorsMethod 'reset' is not designed for extension - needs to be abstract, final or empty.191
ErrorsMethod 'model' is not designed for extension - needs to be abstract, final or empty.197
ErrorsMethod 'getObjectiveValue' is not designed for extension - needs to be abstract, final or empty.203
ErrorsMissing a Javadoc comment.203
ErrorsMethod 'discard' is not designed for extension - needs to be abstract, final or empty.207
ErrorsMissing a Javadoc comment.207
ErrorsMethod 'forceObjectiveValueTo' is not designed for extension - needs to be abstract, final or empty.211
ErrorsMissing a Javadoc comment.211
ErrorsParameter forcedValue should be final.211
ErrorsMethod 'isOptimal' is not designed for extension - needs to be abstract, final or empty.217
ErrorsMissing a Javadoc comment.217

org/sat4j/maxsat/SolverFactory.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsMissing a Javadoc comment.42
ErrorsMissing a Javadoc comment.44
ErrorsLine has trailing spaces.49
ErrorsLine is longer than 80 characters.53
ErrorsLine is longer than 80 characters.56
Errors'1.2' is a magic number.56
Errors'100000' is a magic number.56
ErrorsMethod 'defaultSolver' is not designed for extension - needs to be abstract, final or empty.62
ErrorsMethod 'lightSolver' is not designed for extension - needs to be abstract, final or empty.67
ErrorsMissing a Javadoc comment.72
ErrorsMissing a Javadoc comment.76

org/sat4j/maxsat/UnitWeightedClause.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsClass UnitWeightedClause should be declared as final.34
ErrorsMissing a Javadoc comment.34
ErrorsMissing a Javadoc comment.36
ErrorsName 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.36
ErrorsMissing a Javadoc comment.38
ErrorsMissing a Javadoc comment.42
ErrorsMissing a Javadoc comment.46
ErrorsMissing a Javadoc comment.50
ErrorsMissing a Javadoc comment.54
ErrorsParameter i should be final.54
ErrorsMissing a Javadoc comment.58
ErrorsMissing a Javadoc comment.62

org/sat4j/maxsat/WeightedMaxSatDecorator.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsLine has trailing spaces.48
ErrorsLine has trailing spaces.51
ErrorsLine has trailing spaces.53
ErrorsMissing a Javadoc comment.57
ErrorsMissing a Javadoc comment.60
ErrorsVariable 'nbnewvar' must be private and have accessor methods.60
ErrorsMissing a Javadoc comment.62
ErrorsMissing a Javadoc comment.64
ErrorsMissing a Javadoc comment.66
ErrorsMissing a Javadoc comment.67
ErrorsMissing a Javadoc comment.69
ErrorsMissing a Javadoc comment.71
ErrorsMissing a Javadoc comment.73
ErrorsMissing a Javadoc comment.77
ErrorsParameter solver should be final.77
ErrorsMissing a Javadoc comment.81
ErrorsParameter solver should be final.81
ErrorsParameter equivalence should be final.81
Errors'equivalence' hides a field.81
ErrorsMethod 'newVar' is not designed for extension - needs to be abstract, final or empty.87
ErrorsParameter howmany should be final.88
ErrorsMethod 'setExpectedNumberOfClauses' is not designed for extension - needs to be abstract, final or empty.94
ErrorsParameter nb should be final.95
ErrorsMissing a Javadoc comment.101
ErrorsVariable 'top' must be private and have accessor methods.101
ErrorsMethod 'setTopWeight' is not designed for extension - needs to be abstract, final or empty.103
ErrorsMissing a Javadoc comment.103
ErrorsParameter top should be final.103
Errors'top' hides a field.103
ErrorsMethod 'checkMaxVarId' is not designed for extension - needs to be abstract, final or empty.107
ErrorsMissing a Javadoc comment.107
ErrorsLine has trailing spaces.116
ErrorsLine has trailing spaces.119
ErrorsLine has trailing spaces.123
ErrorsExpected an @return tag.129
ErrorsMethod 'addClause' is not designed for extension - needs to be abstract, final or empty.129
ErrorsParameter literals should be final.130
ErrorsExpected @throws tag for 'ContradictionException'.130
ErrorsLine has trailing spaces.136
ErrorsMethod 'addHardClause' is not designed for extension - needs to be abstract, final or empty.142
ErrorsParameter literals should be final.142
ErrorsExpected @throws tag for 'ContradictionException'.143
ErrorsLine has trailing spaces.149
ErrorsMethod 'addSoftClause' is not designed for extension - needs to be abstract, final or empty.155
ErrorsParameter literals should be final.155
ErrorsExpected @throws tag for 'ContradictionException'.156
ErrorsLine has trailing spaces.162
ErrorsLine has trailing spaces.165
ErrorsMethod 'addSoftClause' is not designed for extension - needs to be abstract, final or empty.173
ErrorsParameter weight should be final.173
ErrorsParameter literals should be final.173
ErrorsExpected @throws tag for 'ContradictionException'.174
ErrorsMethod 'addSoftClause' is not designed for extension - needs to be abstract, final or empty.178
ErrorsMissing a Javadoc comment.178
ErrorsParameter weight should be final.178
ErrorsParameter literals should be final.178
ErrorsLine has trailing spaces.236
ErrorsLine has trailing spaces.245
ErrorsMethod 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty.255
ErrorsParameter literals should be final.255
ErrorsParameter degree should be final.255
ErrorsLine has trailing spaces.262
ErrorsMethod 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty.274
ErrorsParameter weight should be final.274
ErrorsParameter literals should be final.274
ErrorsParameter degree should be final.274
ErrorsLine has trailing spaces.281
ErrorsMethod 'addSoftAtLeast' is not designed for extension - needs to be abstract, final or empty.293
ErrorsParameter weight should be final.293
ErrorsParameter literals should be final.293
ErrorsParameter degree should be final.294
ErrorsLine has trailing spaces.314
ErrorsMethod 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty.324
ErrorsParameter literals should be final.324
ErrorsParameter degree should be final.324
ErrorsLine has trailing spaces.331
ErrorsMethod 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty.343
ErrorsParameter weight should be final.343
ErrorsParameter literals should be final.343
ErrorsParameter degree should be final.343
ErrorsLine has trailing spaces.350
ErrorsLine is longer than 80 characters.362
ErrorsMethod 'addSoftAtMost' is not designed for extension - needs to be abstract, final or empty.362
ErrorsParameter weight should be final.362
ErrorsParameter literals should be final.362
ErrorsParameter degree should be final.362
ErrorsLine has trailing spaces.383
ErrorsMethod 'addLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty.387
ErrorsParameter literals should be final.387
ErrorsLine has trailing spaces.396
ErrorsMethod 'addWeightedLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty.402
ErrorsParameter literals should be final.402
ErrorsParameter coefficients should be final.403
ErrorsLine has trailing spaces.415
ErrorsMethod 'addWeightedLiteralsToMinimize' is not designed for extension - needs to be abstract, final or empty.421
ErrorsParameter literals should be final.421
ErrorsParameter coefficients should be final.422
ErrorsMethod 'reset' is not designed for extension - needs to be abstract, final or empty.432
ErrorsLine has trailing spaces.443
ErrorsMethod 'forceObjectiveValueTo' is not designed for extension - needs to be abstract, final or empty.447
ErrorsParameter forcedValue should be final.447

org/sat4j/maxsat/reader/WDimacsReader.java

ViolationMessageLine
ErrorsLine is longer than 80 characters.2
ErrorsLine is longer than 80 characters.29
ErrorsLine has trailing spaces.42
ErrorsLine has trailing spaces.44
ErrorsMissing a Javadoc comment.48
ErrorsVariable 'weight' must be private and have accessor methods.48
ErrorsMissing a Javadoc comment.49
ErrorsVariable 'top' must be private and have accessor methods.49
ErrorsMethod 'flushConstraint' is not designed for extension - needs to be abstract, final or empty.51
ErrorsMethod 'handleLine' is not designed for extension - needs to be abstract, final or empty.63
ErrorsLine has trailing spaces.71
ErrorsMissing a Javadoc comment.75
ErrorsMissing a Javadoc comment.77
ErrorsParameter solver should be final.77
ErrorsMissing a Javadoc comment.82
ErrorsParameter solver should be final.82
ErrorsParameter format should be final.82
ErrorsMethod 'readProblemLine' is not designed for extension - needs to be abstract, final or empty.87
Errors'4' is a magic number.96
Errors'3' is a magic number.108
Errors'5' is a magic number.114
Errors'4' is a magic number.115