The following document contains the results of Checkstyle 8.26 with development/dsol-checks.xml ruleset. 
| Files | |||
|---|---|---|---|
| 24 | 8 | 52 | 0 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | |
| NeedBraces | 5 | ||
| design | FinalClass | 1 | |
| HideUtilityClassConstructor | 1 | ||
| VisibilityModifier | 17 | ||
| misc | FinalParameters | 6 | |
| TodoComment | 19 | ||
| modifier | ModifierOrder | 2 | |
| sizes | LineLength
|
3 | |
| MethodLength | 5 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'factor' must be private and have accessor methods. | 47 |
| 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 | |
| sizes | LineLength | Line is longer than 128 characters (found 141). | 179 | |
| sizes | LineLength | Line is longer than 128 characters (found 130). | 190 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'network' must be private and have accessor methods. | 70 | |
| design | VisibilityModifier | Variable 'categorization' must be private and have accessor methods. | 76 | |
| design | VisibilityModifier | Variable 'categories' must be private and have accessor methods. | 79 | |
| design | VisibilityModifier | Variable 'globalTime' must be private and have accessor methods. | 82 | |
| design | VisibilityModifier | Variable 'globalInterpolation' must be private and have accessor methods. | 85 | |
| design | VisibilityModifier | Variable 'demand' must be private and have accessor methods. | 88 | |
| sizes | MethodLength | Method length is 172 lines (max allowed is 150). | 254 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 434 |
| 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 |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 138 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 332 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 347 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class ModelParser should be declared as final. | 149 | |
| sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 170 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 397 | |
| sizes | MethodLength | Method length is 199 lines (max allowed is 150). | 474 | |
| sizes | MethodLength | Method length is 240 lines (max allowed is 150). | 895 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1086 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 156 | |
| blocks | EmptyBlock | Must have at least one statement. | 296 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 299 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 310 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 418 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 485 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 151 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 165 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 325 | |
| sizes | LineLength | Line is longer than 128 characters (found 136). | 375 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 443 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 491 |
| 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 |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 260 |
| 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 |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 154 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 38 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 45 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 47 |