The following document contains the results of Checkstyle 8.35 with /config/dsol-checks.xml ruleset. 
| Files | |||
|---|---|---|---|
| 343 | 43 | 81 | 0 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | InnerAssignment | 1 | |
| design | HideUtilityClassConstructor | 2 | |
| VisibilityModifier | 18 | ||
| imports | RedundantImport | 1 | |
| UnusedImports | 3 | ||
| javadoc | JavadocPackage | 1 | |
| JavadocVariable | 3 | ||
| misc | TodoComment | 42 | |
| modifier | RedundantModifier | 1 | |
| naming | StaticVariableName | 10 | |
| sizes | LineLength
|
3 | |
| MethodLength | 7 | ||
| ParameterNumber | 32 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 22 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 129). | 282 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 317 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | RedundantImport | Duplicate import to line 66 - org.opentrafficsim.road.network.RoadNetwork. | 67 | |
| design | VisibilityModifier | Variable 'eventMargin' must be private and have accessor methods. | 150 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 156 | |
| naming | StaticVariableName | Name 'CACHING' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 157 | |
| design | VisibilityModifier | Variable 'CACHING' must be private and have accessor methods. | 157 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 160 | |
| naming | StaticVariableName | Name 'CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 161 | |
| design | VisibilityModifier | Variable 'CACHED_POSITION' must be private and have accessor methods. | 161 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 164 | |
| naming | StaticVariableName | Name 'NON_CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 165 | |
| design | VisibilityModifier | Variable 'NON_CACHED_POSITION' must be private and have accessor methods. | 165 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 241 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 374 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1438 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1439 | |
| naming | StaticVariableName | Name 'LANEBASED_MOVE_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1760 | |
| design | VisibilityModifier | Variable 'LANEBASED_MOVE_EVENT' must be private and have accessor methods. | 1760 | |
| naming | StaticVariableName | Name 'LANEBASED_DESTROY_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1778 | |
| design | VisibilityModifier | Variable 'LANEBASED_DESTROY_EVENT' must be private and have accessor methods. | 1778 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1788 | |
| naming | StaticVariableName | Name 'LANE_ENTER_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1794 | |
| design | VisibilityModifier | Variable 'LANE_ENTER_EVENT' must be private and have accessor methods. | 1794 | |
| naming | StaticVariableName | Name 'LANE_EXIT_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1805 | |
| design | VisibilityModifier | Variable 'LANE_EXIT_EVENT' must be private and have accessor methods. | 1805 | |
| naming | StaticVariableName | Name 'LANE_CHANGE_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1815 | |
| design | VisibilityModifier | Variable 'LANE_CHANGE_EVENT' must be private and have accessor methods. | 1815 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 45 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - org.djutils.exceptions.Throw. | 8 | |
| imports | UnusedImports | Unused import - org.djutils.exceptions.Try. | 9 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 77 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 47 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'object' must be private and have accessor methods. | 243 | |
| design | VisibilityModifier | Variable 'distance' must be private and have accessor methods. | 246 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method length is 181 lines (max allowed is 150). | 189 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1211 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 45 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 117 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 446 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 457 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 103 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 54 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 115 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 123 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 131). | 20 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 21 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 59 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | StaticVariableName | Name 'MIN_LC_LENGTH_FACTOR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 76 | |
| design | VisibilityModifier | Variable 'MIN_LC_LENGTH_FACTOR' must be private and have accessor methods. | 76 | |
| sizes | MethodLength | Method length is 200 lines (max allowed is 150). | 224 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 371 | |
| sizes | ParameterNumber | More than 7 parameters (found 10). | 576 | |
| sizes | ParameterNumber | More than 7 parameters (found 10). | 640 | |
| sizes | ParameterNumber | More than 7 parameters (found 11). | 670 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 690 | |
| sizes | ParameterNumber | More than 7 parameters (found 10). | 729 | |
| sizes | ParameterNumber | More than 7 parameters (found 10). | 821 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 55 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 231 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 379 | |
| sizes | MethodLength | Method length is 164 lines (max allowed is 150). | 443 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 655 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 56 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 13 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 46 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 49 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 45 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 32 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 33 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 62 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 32 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 124 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 94 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 109 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method length is 187 lines (max allowed is 150). | 95 | |
| sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 296 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 29 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.GtuType. | 31 | |
| naming | StaticVariableName | Name 'CROSSSTANDING' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 107 | |
| sizes | MethodLength | Method length is 187 lines (max allowed is 150). | 138 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 189 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 542 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 100 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 37 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 94 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 183 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 10). | 453 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 521 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 65 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 126 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 206 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 272 | |
| sizes | MethodLength | Method length is 196 lines (max allowed is 150). | 291 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 292 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 501 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 530 | |
| sizes | ParameterNumber | More than 7 parameters (found 14). | 725 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 175 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 353 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 108 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 293 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | InnerAssignment | Inner assignments should be avoided. | 992 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 277 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 265 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 491 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 601 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1291 | |
| design | VisibilityModifier | Variable 'cbr' must be private and have accessor methods. | 1302 | |
| design | VisibilityModifier | Variable 'nrOfJobs' must be private and have accessor methods. | 1305 | |
| design | VisibilityModifier | Variable 'cbr' must be private and have accessor methods. | 1427 | |
| design | VisibilityModifier | Variable 'nrOfJobs' must be private and have accessor methods. | 1430 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 48 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 50 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 52 | |
| design | VisibilityModifier | Variable 'cbr' must be private and have accessor methods. | 395 | |
| design | VisibilityModifier | Variable 'nrOfJobs' must be private and have accessor methods. | 398 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 517 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 740 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 850 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 385 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 130). | 114 |