The following document contains the results of Checkstyle 6.1.1 with C:\LICENCJAT\DELHEZI\GitHub\com-delhezi-ga/config/delhezi_checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 2 | |
| NeedBraces | 2 | ||
| coding | HiddenField
|
4 | |
| MagicNumber | 13 | ||
| MissingSwitchDefault | 8 | ||
| SimplifyBooleanExpression | 19 | ||
| SimplifyBooleanReturn | 1 | ||
| design | DesignForExtension | 51 | |
| HideUtilityClassConstructor | 6 | ||
| VisibilityModifier | 19 | ||
| header | RegexpHeader
|
18 | |
| imports | AvoidStarImport | 1 | |
| UnusedImports | 3 | ||
| javadoc | JavadocMethod | 19 | |
| JavadocStyle | 1 | ||
| JavadocType | 2 | ||
| JavadocVariable | 30 | ||
| misc | FinalParameters | 75 | |
| NewlineAtEndOfFile | 2 | ||
| modifier | ModifierOrder | 3 | |
| RedundantModifier | 4 | ||
| naming | ConstantName | 1 | |
| LocalVariableName | 3 | ||
| TypeName | 2 | ||
| regexp | RegexpSingleline
|
22 | |
| sizes | LineLength | 168 | |
| MethodLength | 1 | ||
| ParameterNumber | 3 | ||
| whitespace | EmptyForIteratorPad | 4 | |
FileTabCharacter
|
3 | ||
| NoWhitespaceAfter | 11 | ||
| NoWhitespaceBefore | 4 | ||
| WhitespaceAfter | 8 | ||
| WhitespaceAround | 9 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 82). | 62 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 62 | |
| blocks | EmptyBlock | Must have at least one statement. | 77 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 127 | |
| blocks | EmptyBlock | Must have at least one statement. | 236 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 83). | 22 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 41 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 42 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 43 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 44 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 45 | |
| design | DesignForExtension | Method 'getGeneration' is not designed for extension - needs to be abstract, final or empty. | 64 | |
| design | DesignForExtension | Method 'getTopChromosomeCost' is not designed for extension - needs to be abstract, final or empty. | 74 | |
| design | DesignForExtension | Method 'getTopChromosomeGenerationFound' is not designed for extension - needs to be abstract, final or empty. | 83 | |
| design | DesignForExtension | Method 'getPopulationType' is not designed for extension - needs to be abstract, final or empty. | 92 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 94 | |
| sizes | LineLength | Line is longer than 80 characters (found 106). | 96 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 105 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 107 | |
| sizes | LineLength | Line is longer than 80 characters (found 112). | 110 | |
| design | DesignForExtension | Method 'toPopulationConstantSize' is not designed for extension - needs to be abstract, final or empty. | 110 | |
| misc | FinalParameters | Parameter selectionMethod should be final. | 110 | |
| sizes | LineLength | Line is longer than 80 characters (found 128). | 112 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 112 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 114 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 121 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 124 | |
| design | DesignForExtension | Method 'toPopulationChangeableSize' is not designed for extension - needs to be abstract, final or empty. | 127 | |
| misc | FinalParameters | Parameter maxLT should be final. | 127 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 128 | |
| misc | FinalParameters | Parameter minLT should be final. | 128 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 130 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 130 | |
| sizes | LineLength | Line is longer than 80 characters (found 118). | 131 | |
| sizes | LineLength | Line is longer than 80 characters (found 111). | 133 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 140 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 142 | |
| design | DesignForExtension | Method 'getMaxLT' is not designed for extension - needs to be abstract, final or empty. | 145 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 147 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 149 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 156 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 158 | |
| design | DesignForExtension | Method 'setMaxLT' is not designed for extension - needs to be abstract, final or empty. | 161 | |
| misc | FinalParameters | Parameter maxLT should be final. | 161 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 163 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 165 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 172 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 174 | |
| design | DesignForExtension | Method 'getMinLT' is not designed for extension - needs to be abstract, final or empty. | 177 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 179 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 181 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 188 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 190 | |
| design | DesignForExtension | Method 'setMinLT' is not designed for extension - needs to be abstract, final or empty. | 193 | |
| misc | FinalParameters | Parameter minLT should be final. | 193 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 195 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 197 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 204 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 206 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 209 | |
| design | DesignForExtension | Method 'getSelectionMethod' is not designed for extension - needs to be abstract, final or empty. | 209 | |
| sizes | LineLength | Line is longer than 80 characters (found 130). | 211 | |
| sizes | LineLength | Line is longer than 80 characters (found 115). | 213 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 220 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 222 | |
| sizes | LineLength | Line is longer than 80 characters (found 106). | 225 | |
| design | DesignForExtension | Method 'setSelectionMethod' is not designed for extension - needs to be abstract, final or empty. | 225 | |
| misc | FinalParameters | Parameter selectionMethod should be final. | 225 | |
| sizes | LineLength | Line is longer than 80 characters (found 97). | 227 | |
| sizes | LineLength | Line is longer than 80 characters (found 115). | 229 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 239 | |
| design | DesignForExtension | Method 'getCrossoverOperator' is not designed for extension - needs to be abstract, final or empty. | 239 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 240 | |
| sizes | LineLength | Line is longer than 80 characters (found 112). | 249 | |
| design | DesignForExtension | Method 'setCrossoverOperator' is not designed for extension - needs to be abstract, final or empty. | 249 | |
| misc | FinalParameters | Parameter crossoverOperator should be final. | 249 | |
| design | DesignForExtension | Method 'getCrossoverProbability' is not designed for extension - needs to be abstract, final or empty. | 258 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 268 | |
| design | DesignForExtension | Method 'setCrossoverProbability' is not designed for extension - needs to be abstract, final or empty. | 268 | |
| misc | FinalParameters | Parameter crossoverProbability should be final. | 268 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 278 | |
| design | DesignForExtension | Method 'getMutationOperator' is not designed for extension - needs to be abstract, final or empty. | 278 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 279 | |
| sizes | LineLength | Line is longer than 80 characters (found 109). | 288 | |
| design | DesignForExtension | Method 'setMutationOperator' is not designed for extension - needs to be abstract, final or empty. | 288 | |
| misc | FinalParameters | Parameter mutationOperator should be final. | 288 | |
| design | DesignForExtension | Method 'getMutationProbability' is not designed for extension - needs to be abstract, final or empty. | 297 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 307 | |
| design | DesignForExtension | Method 'setMutationProbability' is not designed for extension - needs to be abstract, final or empty. | 307 | |
| misc | FinalParameters | Parameter mutationProbability should be final. | 307 | |
| design | DesignForExtension | Method 'getElitism' is not designed for extension - needs to be abstract, final or empty. | 316 | |
| design | DesignForExtension | Method 'setElitism' is not designed for extension - needs to be abstract, final or empty. | 325 | |
| misc | FinalParameters | Parameter elitism should be final. | 325 | |
| design | DesignForExtension | Method 'getFitnessFunctionScriptPath' is not designed for extension - needs to be abstract, final or empty. | 335 | |
| sizes | LineLength | Line is longer than 80 characters (found 141). | 336 | |
| design | DesignForExtension | Method 'getFitnessFunctionScriptFile' is not designed for extension - needs to be abstract, final or empty. | 344 | |
| sizes | LineLength | Line is longer than 80 characters (found 141). | 345 | |
| design | DesignForExtension | Method 'getFitnessFunctionEnginName' is not designed for extension - needs to be abstract, final or empty. | 353 | |
| sizes | LineLength | Line is longer than 80 characters (found 146). | 354 | |
| design | DesignForExtension | Method 'getFitnessFunctionOption' is not designed for extension - needs to be abstract, final or empty. | 362 | |
| sizes | LineLength | Line is longer than 80 characters (found 98). | 363 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 363 | |
| sizes | LineLength | Line is longer than 80 characters (found 120). | 374 | |
| design | DesignForExtension | Method 'setFitnessFunctionOption' is not designed for extension - needs to be abstract, final or empty. | 374 | |
| misc | FinalParameters | Parameter fitnessFunctionOption should be final. | 374 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 379 | |
| design | DesignForExtension | Method 'setFitnessFunction' is not designed for extension - needs to be abstract, final or empty. | 395 | |
| misc | FinalParameters | Parameter fitnessFunctionEnginName should be final. | 395 | |
| misc | FinalParameters | Parameter fitnassFunctionScriptsPath should be final. | 396 | |
| misc | FinalParameters | Parameter fitnessFunctionScriptFile should be final. | 397 | |
| sizes | LineLength | Line is longer than 80 characters (found 114). | 398 | |
| misc | FinalParameters | Parameter fitnessFunctionOption should be final. | 398 | |
| sizes | LineLength | Line is longer than 80 characters (found 97). | 400 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 401 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 402 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 407 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 410 | |
| design | DesignForExtension | Method 'getPopulationSize' is not designed for extension - needs to be abstract, final or empty. | 418 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 425 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 427 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 430 | |
| design | DesignForExtension | Method 'setPopulationSize' is not designed for extension - needs to be abstract, final or empty. | 430 | |
| misc | FinalParameters | Parameter populationSize should be final. | 430 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 432 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 434 | |
| design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 442 | |
| design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 450 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 460 | |
| design | DesignForExtension | Method 'getMaxGenerationCount' is not designed for extension - needs to be abstract, final or empty. | 466 | |
| design | DesignForExtension | Method 'setMaxGenerationCount' is not designed for extension - needs to be abstract, final or empty. | 474 | |
| misc | FinalParameters | Parameter maxGenerationCount should be final. | 474 | |
| design | DesignForExtension | Method 'getLastGenerationTopChromosomeFind' is not designed for extension - needs to be abstract, final or empty. | 483 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 490 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 492 | |
| design | DesignForExtension | Method 'setLastGenerationTopChromosomeFind' is not designed for extension - needs to be abstract, final or empty. | 492 | |
| misc | FinalParameters | Parameter lastGenerationTopChromosomeFind should be final. | 492 | |
| design | DesignForExtension | Method 'getState' is not designed for extension - needs to be abstract, final or empty. | 501 | |
| design | DesignForExtension | Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 510 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 511 | |
| design | DesignForExtension | Method 'getPopulation' is not designed for extension - needs to be abstract, final or empty. | 532 | |
| design | DesignForExtension | Method 'setPopulation' is not designed for extension - needs to be abstract, final or empty. | 541 | |
| misc | FinalParameters | Parameter population should be final. | 541 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | ||
| header | RegexpHeader | Line does not match expected header line of '^/\*{2}$'. | 1 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 9 | |
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.xml.parsers.*. | 28 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 37 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 53 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 54 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 56 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 57 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 58 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 59 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 60 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 61 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 62 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 63 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 64 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 65 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 66 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 67 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 68 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 69 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 70 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 71 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 73 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 75 | |
| design | DesignForExtension | Method 'newGeneticAlgorithm' is not designed for extension - needs to be abstract, final or empty. | 75 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 75 | |
| sizes | LineLength | Line is longer than 80 characters (found 106). | 76 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 88 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 88 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 93 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 94 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 95 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 96 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 103 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 112 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 114 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 124 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 127 | |
| design | DesignForExtension | Method 'parse' is not designed for extension - needs to be abstract, final or empty. | 158 | |
| misc | FinalParameters | Parameter doc should be final. | 158 | |
| coding | HiddenField | 'doc' hides a field. | 158 | |
| javadoc | JavadocMethod | Expected @param tag for 'doc'. | 158 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 164 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 164 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 171 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 173 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 176 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 179 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 182 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 185 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 200 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 206 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 209 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 211 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 213 | |
| sizes | LineLength | Line is longer than 80 characters (found 96). | 216 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 218 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 223 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 224 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 225 | |
| design | DesignForExtension | Method 'parserXML' is not designed for extension - needs to be abstract, final or empty. | 232 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 232 | |
| misc | FinalParameters | Parameter xmlParams should be final. | 232 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 234 | |
| sizes | LineLength | Line is longer than 80 characters (found 108). | 236 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 242 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 242 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 251 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 83). | 34 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 40 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 63 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 64 | |
| design | DesignForExtension | Method 'newGeneticAlgorithm' is not designed for extension - needs to be abstract, final or empty. | 66 | |
| sizes | MethodLength | Method length is 195 lines (max allowed is 150). | 66 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 66 | |
| design | VisibilityModifier | Variable 'currTag' must be private and have accessor methods. | 73 | |
| design | VisibilityModifier | Variable 'population' must be private and have accessor methods. | 74 | |
| design | VisibilityModifier | Variable 'populationType' must be private and have accessor methods. | 75 | |
| design | VisibilityModifier | Variable 'crossoverOperator' must be private and have accessor methods. | 76 | |
| design | VisibilityModifier | Variable 'crossoverProbability' must be private and have accessor methods. | 77 | |
| design | VisibilityModifier | Variable 'mutationOperator' must be private and have accessor methods. | 78 | |
| design | VisibilityModifier | Variable 'mutationProbability' must be private and have accessor methods. | 79 | |
| design | VisibilityModifier | Variable 'elitism' must be private and have accessor methods. | 80 | |
| design | VisibilityModifier | Variable 'fitnessFunctionScript' must be private and have accessor methods. | 81 | |
| design | VisibilityModifier | Variable 'fitnessFunctionOption' must be private and have accessor methods. | 82 | |
| design | VisibilityModifier | Variable 'selectionMethod' must be private and have accessor methods. | 83 | |
| design | VisibilityModifier | Variable 'maxLT' must be private and have accessor methods. | 84 | |
| design | VisibilityModifier | Variable 'minLT' must be private and have accessor methods. | 85 | |
| design | VisibilityModifier | Variable 'initializeDataSource' must be private and have accessor methods. | 86 | |
| design | VisibilityModifier | Variable 'initializePopulationConnectionName' must be private and have accessor methods. | 87 | |
| design | VisibilityModifier | Variable 'initializePopulationSQLQuery' must be private and have accessor methods. | 88 | |
| design | VisibilityModifier | Variable 'populationSize' must be private and have accessor methods. | 89 | |
| misc | FinalParameters | Parameter uri should be final. | 92 | |
| misc | FinalParameters | Parameter localName should be final. | 92 | |
| misc | FinalParameters | Parameter qName should be final. | 93 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 94 | |
| misc | FinalParameters | Parameter attributes should be final. | 94 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 101 | |
| sizes | LineLength | Line is longer than 80 characters (found 118). | 103 | |
| sizes | LineLength | Line is longer than 80 characters (found 125). | 105 | |
| sizes | LineLength | Line is longer than 80 characters (found 109). | 115 | |
| sizes | LineLength | Line is longer than 80 characters (found 123). | 116 | |
| sizes | LineLength | Line is longer than 80 characters (found 119). | 117 | |
| sizes | LineLength | Line is longer than 80 characters (found 100). | 118 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 123 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 125 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 134 | |
| sizes | LineLength | Line is longer than 80 characters (found 97). | 136 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 146 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 149 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 161 | |
| misc | FinalParameters | Parameter ch should be final. | 177 | |
| misc | FinalParameters | Parameter start should be final. | 177 | |
| misc | FinalParameters | Parameter length should be final. | 178 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 202 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 210 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 213 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 222 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 223 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 224 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 225 | |
| sizes | LineLength | Line is longer than 80 characters (found 96). | 226 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 230 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 234 | |
| whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 234 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 237 | |
| sizes | LineLength | Line is longer than 80 characters (found 143). | 238 | |
| sizes | LineLength | Line is longer than 80 characters (found 119). | 239 | |
| sizes | LineLength | Line is longer than 80 characters (found 119). | 240 | |
| sizes | LineLength | Line is longer than 80 characters (found 134). | 241 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 242 | |
| sizes | LineLength | Line is longer than 80 characters (found 111). | 245 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 247 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 248 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 251 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 254 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 257 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 264 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 264 | |
| misc | FinalParameters | Parameter ex should be final. | 266 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 267 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 268 | |
| misc | FinalParameters | Parameter ex should be final. | 272 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 273 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 274 | |
| misc | FinalParameters | Parameter ex should be final. | 278 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 279 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 280 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.util.logging.Logger. | 19 | |
| design | VisibilityModifier | Variable 'topChromosomeGenerationFound' must be private and have accessor methods. | 374 | |
| design | VisibilityModifier | Variable 'topChromosome' must be private and have accessor methods. | 380 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 54 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 86 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 121 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | SimplifyBooleanExpression | Expression can be simplified. | 218 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 26 | |
| sizes | LineLength | Line is longer than 80 characters (found 131). | 46 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 48 | |
| sizes | LineLength | Line is longer than 80 characters (found 135). | 75 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 81 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 83 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 85 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 87 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | FileTabCharacter | Line contains a tab character. | 51 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 53 | |
| whitespace | FileTabCharacter | Line contains a tab character. | 53 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 78 | |
| whitespace | FileTabCharacter | Line contains a tab character. | 97 | |
| whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 104 | |
| whitespace | EmptyForIteratorPad | ';' is followed by whitespace. | 104 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 107 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 114 | |
| whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 122 | |
| whitespace | EmptyForIteratorPad | ';' is followed by whitespace. | 122 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 124 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 130 | |
| whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 142 | |
| whitespace | EmptyForIteratorPad | ';' is followed by whitespace. | 142 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 144 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 154 | |
| whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 166 | |
| whitespace | EmptyForIteratorPad | ';' is followed by whitespace. | 166 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 168 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 178 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 50 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 53 | |
| misc | FinalParameters | Parameter k should be final. | 65 | |
| coding | HiddenField | 'k' hides a field. | 65 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 67 | |
| whitespace | WhitespaceAround | '-' is not preceded with whitespace. | 83 | |
| whitespace | WhitespaceAround | '-' is not followed by whitespace. | 83 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 92 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 103 | |
| misc | FinalParameters | Parameter kPoints should be final. | 105 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 107 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 114 | |
| whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 131 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 131 | |
| whitespace | WhitespaceAround | '==' is not followed by whitespace. | 131 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 138 | |
| design | DesignForExtension | Method 'setK' is not designed for extension - needs to be abstract, final or empty. | 146 | |
| misc | FinalParameters | Parameter k should be final. | 146 | |
| design | DesignForExtension | Method 'getK' is not designed for extension - needs to be abstract, final or empty. | 155 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter chromosome1 should be final. | 45 | |
| misc | FinalParameters | Parameter chromosome2 should be final. | 46 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 48 | |
| coding | MagicNumber | '0.5' is a magic number. | 52 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 60 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 23 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 78 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'x' hides a field. | 66 | |
| coding | HiddenField | 'y' hides a field. | 75 | |
| coding | MagicNumber | '31' is a magic number. | 120 | |
| coding | MagicNumber | '32' is a magic number. | 121 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 20 | |
| misc | FinalParameters | Parameter populationSize should be final. | 29 | |
| misc | FinalParameters | Parameter maxPopulationSize should be final. | 30 | |
| misc | FinalParameters | Parameter chromosomeProperties should be final. | 31 | |
| whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 31 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 33 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 35 | |
| misc | FinalParameters | Parameter populationSize should be final. | 42 | |
| misc | FinalParameters | Parameter chromosomeProperties should be final. | 43 | |
| whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 43 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 45 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 48 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 49 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 49 | |
| misc | FinalParameters | Parameter chromosomes should be final. | 49 | |
| misc | FinalParameters | Parameter populationSize should be final. | 50 | |
| misc | FinalParameters | Parameter chromosomeProperties should be final. | 50 | |
| whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 50 | |
| naming | LocalVariableName | Name 'chromosome_tmp' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 51 | |
| coding | MagicNumber | '60' is a magic number. | 53 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 55 | |
| coding | MagicNumber | '200' is a magic number. | 56 | |
| coding | MagicNumber | '200' is a magic number. | 57 | |
| naming | LocalVariableName | Name 'chromosome_i' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 59 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 64 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 64 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 65 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 30 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 47 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 75 | |
| whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 90 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 116 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 28 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 52 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 91 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 93 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 95 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 60 | |
| coding | MagicNumber | '3' is a magic number. | 78 | |
| misc | FinalParameters | Parameter chromosome should be final. | 119 | |
| misc | FinalParameters | Parameter edge1 should be final. | 120 | |
| misc | FinalParameters | Parameter edge2 should be final. | 121 | |
| coding | MagicNumber | '50' is a magic number. | 124 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 130 | |
| coding | MagicNumber | '3' is a magic number. | 141 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 156 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 179 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 183 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 207 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 226 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 238 | |
| misc | FinalParameters | Parameter chromosome should be final. | 271 | |
| misc | FinalParameters | Parameter chromosome should be final. | 360 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | TypeName | Name '_2Opt' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 38 | |
| coding | MagicNumber | '3' is a magic number. | 63 | |
| misc | FinalParameters | Parameter chromosome should be final. | 104 | |
| misc | FinalParameters | Parameter edge1 should be final. | 104 | |
| misc | FinalParameters | Parameter edge2 should be final. | 105 | |
| coding | MagicNumber | '70' is a magic number. | 107 | |
| coding | MagicNumber | '3' is a magic number. | 122 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 158 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 170 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 184 | |
| sizes | LineLength | Line is longer than 80 characters (found 92). | 215 | |
| misc | FinalParameters | Parameter chromosome should be final. | 248 | |
| misc | FinalParameters | Parameter chromosome should be final. | 335 | |
| coding | SimplifyBooleanReturn | Conditional logic can be removed. | 368 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | TypeName | Name '_3Opt' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 30 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | SimplifyBooleanExpression | Expression can be simplified. | 76 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 115 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - com.delhezi.ga.fitnessfunction.FitnessFunction. | 13 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 88). | 44 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 59 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 107 | |
| misc | FinalParameters | Parameter populationSize should be final. | 107 | |
| misc | FinalParameters | Parameter chromosomePosition should be final. | 108 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 109 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 60 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 61 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 61 | |
| design | DesignForExtension | Method 'tableInitialize' is not designed for extension - needs to be abstract, final or empty. | 80 | |
| javadoc | JavadocMethod | Expected @param tag for 'chromosomes'. | 80 | |
| javadoc | JavadocMethod | Expected @param tag for 'normals'. | 81 | |
| javadoc | JavadocMethod | Expected @param tag for 'alias'. | 82 | |
| naming | LocalVariableName | Name '_1n' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 84 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 100 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - com.delhezi.ga.exception.GeneticAlgorithmException. | 12 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 67 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 75 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 88). | 46 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 51 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 52 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 72 | |
| whitespace | WhitespaceAround | 'else' is not followed by whitespace. | 78 | |
| whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 78 | |
| design | DesignForExtension | Method 'getArity' is not designed for extension - needs to be abstract, final or empty. | 95 | |
| design | DesignForExtension | Method 'setArity' is not designed for extension - needs to be abstract, final or empty. | 103 | |
| misc | FinalParameters | Parameter arity should be final. | 103 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 27 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 51 | |
| sizes | LineLength | Line is longer than 80 characters (found 98). | 85 | |
| sizes | LineLength | Line is longer than 80 characters (found 104). | 87 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 91 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 14 | |
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 21 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 23 | |
| modifier | ModifierOrder | 'private' modifier out of order with the JLS suggestions. | 23 | |
| naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 23 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 24 | |
| modifier | ModifierOrder | 'private' modifier out of order with the JLS suggestions. | 24 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 26 | |
| modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 26 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 29 | |
| misc | FinalParameters | Parameter aSeed should be final. | 29 | |
| misc | FinalParameters | Parameter aBoolean should be final. | 29 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 34 | |
| misc | FinalParameters | Parameter aSeed should be final. | 34 | |
| misc | FinalParameters | Parameter aChar should be final. | 34 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 39 | |
| misc | FinalParameters | Parameter aSeed should be final. | 39 | |
| misc | FinalParameters | Parameter aInt should be final. | 39 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 44 | |
| misc | FinalParameters | Parameter aSeed should be final. | 44 | |
| misc | FinalParameters | Parameter aLong should be final. | 44 | |
| coding | MagicNumber | '32' is a magic number. | 46 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 49 | |
| misc | FinalParameters | Parameter aSeed should be final. | 49 | |
| misc | FinalParameters | Parameter aFloat should be final. | 49 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 54 | |
| misc | FinalParameters | Parameter aSeed should be final. | 54 | |
| misc | FinalParameters | Parameter aDouble should be final. | 54 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 59 | |
| misc | FinalParameters | Parameter aSeed should be final. | 59 | |
| misc | FinalParameters | Parameter aObject should be final. | 59 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 76 | |
| misc | FinalParameters | Parameter aSeed should be final. | 76 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 80 | |
| misc | FinalParameters | Parameter aObject should be final. | 80 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 35 | |
| misc | FinalParameters | Parameter size should be final. | 35 | |
| javadoc | JavadocMethod | Expected @param tag for 'size'. | 35 | |
| design | DesignForExtension | Method 'getSize' is not designed for extension - needs to be abstract, final or empty. | 61 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 81). | 59 | |
| design | DesignForExtension | Method 'invoke' is not designed for extension - needs to be abstract, final or empty. | 115 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 116 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 122 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 127 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | RegexpHeader | Missing a header - not enough lines in file. | 1 |