The following document contains the results of Checkstyle 6.18 with development/dsol-checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 5 | |
| NeedBraces | 24 | ||
| coding | InnerAssignment | 2 | |
| design | DesignForExtension | 7 | |
| FinalClass | 3 | ||
| HideUtilityClassConstructor | 1 | ||
| VisibilityModifier | 27 | ||
| imports | UnusedImports | 8 | |
| javadoc | JavadocMethod | 2 | |
JavadocStyle
|
6 | ||
| misc | FinalParameters | 38 | |
| TodoComment | 18 | ||
| modifier | ModifierOrder | 4 | |
| RedundantModifier | 2 | ||
| sizes | LineLength
|
4 | |
| MethodLength | 7 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter message should be final. | 33 | |
| misc | FinalParameters | Parameter cause should be final. | 33 | |
| misc | FinalParameters | Parameter message should be final. | 41 | |
| misc | FinalParameters | Parameter cause should be final. | 49 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'factor' must be private and have accessor methods. | 47 | |
| design | DesignForExtension | Method 'getCategory' is not designed for extension - needs to be abstract, final or empty. | 173 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 44 | |
| design | VisibilityModifier | Variable 'origin' must be private and have accessor methods. | 47 | |
| design | VisibilityModifier | Variable 'destination' must be private and have accessor methods. | 50 | |
| design | VisibilityModifier | Variable 'interpolation' must be private and have accessor methods. | 53 | |
| design | VisibilityModifier | Variable 'category' must be private and have accessor methods. | 56 | |
| design | VisibilityModifier | Variable 'categoryName' must be private and have accessor methods. | 59 | |
| design | VisibilityModifier | Variable 'demandType' must be private and have accessor methods. | 62 | |
| design | VisibilityModifier | Variable 'timeVector' must be private and have accessor methods. | 65 | |
| design | VisibilityModifier | Variable 'demandVector' must be private and have accessor methods. | 68 | |
| design | VisibilityModifier | Variable 'factor' must be private and have accessor methods. | 71 | |
| design | VisibilityModifier | Variable 'factors' must be private and have accessor methods. | 74 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'network' must be private and have accessor methods. | 71 | |
| design | VisibilityModifier | Variable 'categorization' must be private and have accessor methods. | 77 | |
| design | VisibilityModifier | Variable 'categories' must be private and have accessor methods. | 80 | |
| design | VisibilityModifier | Variable 'globalTime' must be private and have accessor methods. | 83 | |
| design | VisibilityModifier | Variable 'globalInterpolation' must be private and have accessor methods. | 86 | |
| design | VisibilityModifier | Variable 'demand' must be private and have accessor methods. | 89 | |
| design | DesignForExtension | Method 'getGTUType' is not designed for extension - needs to be abstract, final or empty. | 116 | |
| design | DesignForExtension | Method 'apply' is not designed for extension - needs to be abstract, final or empty. | 138 | |
| design | DesignForExtension | Method 'apply' is not designed for extension - needs to be abstract, final or empty. | 187 | |
| sizes | MethodLength | Method length is 172 lines (max allowed is 150). | 255 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 435 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'name' must be private and have accessor methods. | 30 | |
| design | VisibilityModifier | Variable 'nodeStartTag' must be private and have accessor methods. | 33 | |
| design | VisibilityModifier | Variable 'nodeEndTag' must be private and have accessor methods. | 36 | |
| design | VisibilityModifier | Variable 'demandWeight' must be private and have accessor methods. | 39 | |
| design | VisibilityModifier | Variable 'connector' must be private and have accessor methods. | 42 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 482 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 485 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 488 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 31 | |
| design | VisibilityModifier | Variable 'defaultColorer' must be private and have accessor methods. | 33 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 69 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 84 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 97 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'gtuDirection' must be private and have accessor methods. | 77 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'priority' must be private and have accessor methods. | 127 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | InnerAssignment | Inner assignments should be avoided. | 189 | |
| coding | InnerAssignment | Inner assignments should be avoided. | 193 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 254 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'coordinates' must be private and have accessor methods. | 33 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'xmlComments' must be private and have accessor methods. | 152 | |
| misc | FinalParameters | Parameter interpretXMLComments should be final. | 195 | |
| misc | FinalParameters | Parameter interpretXMLComments should be final. | 219 | |
| misc | FinalParameters | Parameter interpretXMLComments should be final. | 244 | |
| misc | FinalParameters | Parameter interpretXMLComments should be final. | 269 | |
| blocks | EmptyBlock | Must have at least one statement. | 360 | |
| sizes | MethodLength | Method length is 162 lines (max allowed is 150). | 406 | |
| design | DesignForExtension | Method 'getXMLComments' is not designed for extension - needs to be abstract, final or empty. | 619 | |
| design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 633 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter streamMap should be final. | 63 | |
| misc | FinalParameters | Parameter linkTypeSpeedLimitMap should be final. | 64 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 108 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 152 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 213 | |
| misc | FinalParameters | Parameter gtuTemplates should be final. | 229 | |
| misc | FinalParameters | Parameter streamMap should be final. | 229 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class DemandParser should be declared as final. | 96 | |
| sizes | MethodLength | Method length is 500 lines (max allowed is 150). | 116 | |
| misc | FinalParameters | Parameter factories should be final. | 118 | |
| blocks | EmptyBlock | Must have at least one statement. | 132 | |
| blocks | EmptyBlock | Must have at least one statement. | 159 | |
| blocks | EmptyBlock | Must have at least one statement. | 164 | |
| sizes | LineLength | Line is longer than 128 characters (found 136). | 398 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 464 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 512 | |
| misc | FinalParameters | Parameter factor should be final. | 628 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 668 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 668 | |
| javadoc | JavadocMethod | Expected @throws tag for 'XmlParserException'. | 668 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 686 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 686 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class GeneratorSinkParser should be declared as final. | 64 | |
| misc | FinalParameters | Parameter gtuTemplates should be final. | 84 | |
| misc | FinalParameters | Parameter streamMap should be final. | 85 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 103 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 109 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 136 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 142 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 162 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 166 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 179 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 194 | |
| sizes | LineLength | Line is longer than 128 characters (found 136). | 195 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class ModelParser should be declared as final. | 148 | |
| sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 169 | |
| sizes | LineLength | Line is longer than 128 characters (found 144). | 354 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 395 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 408 | |
| sizes | MethodLength | Method length is 199 lines (max allowed is 150). | 472 | |
| sizes | MethodLength | Method length is 241 lines (max allowed is 150). | 894 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1086 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'for' construct must use '{}'s. | 92 | |
| misc | FinalParameters | Parameter nodeDirections should be final. | 153 | |
| misc | FinalParameters | Parameter simulator should be final. | 154 | |
| blocks | EmptyBlock | Must have at least one statement. | 275 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 278 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 289 | |
| misc | FinalParameters | Parameter simulator should be final. | 316 | |
| misc | FinalParameters | Parameter roadLayoutMap should be final. | 317 | |
| misc | FinalParameters | Parameter linkTypeSpeedLimitMap should be final. | 317 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 395 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 398 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 441 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 458 | |
| sizes | MethodLength | Method length is 196 lines (max allowed is 150). | 473 | |
| misc | FinalParameters | Parameter roadLayoutTag should be final. | 473 | |
| misc | FinalParameters | Parameter xmlLink should be final. | 473 | |
| misc | FinalParameters | Parameter cseDataList should be final. | 473 | |
| misc | FinalParameters | Parameter cseTagMap should be final. | 474 | |
| design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 751 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 771 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 776 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 796 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 800 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 804 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 811 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 102 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 22 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 34 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.rmi.RemoteException. | 9 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.base.parameters.ParameterException. | 29 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.draw.lane.LaneStructureAnimation. | 40 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.LaneBasedGTU. | 42 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.perception.RollingLaneStructure. | 43 | |
| imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.logger.SimLogger. | 64 | |
| imports | UnusedImports | Unused import - nl.tudelft.simulation.event.EventInterface. | 66 | |
| imports | UnusedImports | Unused import - nl.tudelft.simulation.event.EventListenerInterface. | 67 | |
| sizes | LineLength | Line is longer than 128 characters (found 129). | 195 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 209 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter object should be final. | 41 | |
| misc | FinalParameters | Parameter in should be final. | 63 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 47 | |
| misc | FinalParameters | Parameter streamMap should be final. | 54 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 84 | |
| misc | FinalParameters | Parameter streamMap should be final. | 91 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 121 | |
| misc | FinalParameters | Parameter streamMap should be final. | 128 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 158 | |
| misc | FinalParameters | Parameter streamMap should be final. | 165 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 195 | |
| misc | FinalParameters | Parameter streamMap should be final. | 202 | |
| misc | FinalParameters | Parameter streamMap should be final. | 239 | |
| misc | FinalParameters | Parameter streamMap should be final. | 276 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 155 | |
| misc | FinalParameters | Parameter streamMap should be final. | 357 | |
| misc | FinalParameters | Parameter frequencyDist should be final. | 357 | |
| misc | FinalParameters | Parameter streamMap should be final. | 379 | |
| misc | FinalParameters | Parameter linearDensityDist should be final. | 379 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 38 |