The following document contains the results of Checkstyle 6.18 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 1 | Warning |
design | DesignForExtension | 47 | Warning |
javadoc | JavadocMethod | 1 | Warning |
JavadocPackage | 3 | Info | |
misc | TodoComment | 4 | Warning |
modifier | RedundantModifier | 2 | Warning |
naming | ConstantName | 1 | Warning |
sizes | MethodLength | 3 | Info |
ParameterNumber | 3 | Info |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 162 lines (max allowed is 150). | 146 |
Info | sizes | ParameterNumber | More than 7 parameters (found 14). | 354 |
Warning | modifier | RedundantModifier | Redundant 'public' modifier. | 583 |
Warning | modifier | RedundantModifier | Redundant 'public' modifier. | 595 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'makeInputParameterMap' is not designed for extension - needs to be abstract, final or empty. | 118 |
Warning | design | DesignForExtension | Method 'constructModel' is not designed for extension - needs to be abstract, final or empty. | 141 |
Warning | design | DesignForExtension | Method 'getPath' is not designed for extension - needs to be abstract, final or empty. | 263 |
Warning | design | DesignForExtension | Method 'getNetwork' is not designed for extension - needs to be abstract, final or empty. | 269 |
Warning | design | DesignForExtension | Method 'stopSimulator' is not designed for extension - needs to be abstract, final or empty. | 288 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 67 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'makeInputParameterMap' is not designed for extension - needs to be abstract, final or empty. | 109 |
Warning | design | DesignForExtension | Method 'getPath' is not designed for extension - needs to be abstract, final or empty. | 145 |
Warning | design | DesignForExtension | Method 'constructModel' is not designed for extension - needs to be abstract, final or empty. | 151 |
Warning | design | DesignForExtension | Method 'getNetwork' is not designed for extension - needs to be abstract, final or empty. | 272 |
Warning | design | DesignForExtension | Method 'stopSimulator' is not designed for extension - needs to be abstract, final or empty. | 291 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 76 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'getNetwork' is not designed for extension - needs to be abstract, final or empty. | 264 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 99 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'makeTemplate' is not designed for extension - needs to be abstract, final or empty. | 422 |
Warning | design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 488 |
Warning | design | DesignForExtension | Method 'getNetwork' is not designed for extension - needs to be abstract, final or empty. | 505 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 76 |
Warning | design | DesignForExtension | Method 'getParameter' is not designed for extension - needs to be abstract, final or empty. | 268 |
Warning | design | DesignForExtension | Method 'getValue' is not designed for extension - needs to be abstract, final or empty. | 276 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 105 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'setAnimationToggles' is not designed for extension - needs to be abstract, final or empty. | 162 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 296 |
Info | sizes | ParameterNumber | More than 7 parameters (found 12). | 439 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'getPath' is not designed for extension - needs to be abstract, final or empty. | 239 |
Warning | design | DesignForExtension | Method 'getNetwork' is not designed for extension - needs to be abstract, final or empty. | 245 |
Warning | design | DesignForExtension | Method 'getLane' is not designed for extension - needs to be abstract, final or empty. | 270 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 67 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'setAnimationToggles' is not designed for extension - needs to be abstract, final or empty. | 75 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'draw' is not designed for extension - needs to be abstract, final or empty. | 421 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | |
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 114 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | ParameterNumber | More than 7 parameters (found 8). | 372 |
Warning | design | DesignForExtension | Method 'getSimulator' is not designed for extension - needs to be abstract, final or empty. | 458 |
Warning | design | DesignForExtension | Method 'getInputParameterMap' is not designed for extension - needs to be abstract, final or empty. | 465 |
Warning | design | DesignForExtension | Method 'getOutputStatistics' is not designed for extension - needs to be abstract, final or empty. | 472 |
Warning | design | DesignForExtension | Method 'getShortName' is not designed for extension - needs to be abstract, final or empty. | 479 |
Warning | design | DesignForExtension | Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. | 486 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'setDefaultProperties' is not designed for extension - needs to be abstract, final or empty. | 136 |
Warning | design | DesignForExtension | Method 'setupSimulation' is not designed for extension - needs to be abstract, final or empty. | 185 |
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 293 |
Warning | design | DesignForExtension | Method 'onSimulationEnd' is not designed for extension - needs to be abstract, final or empty. | 385 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'getFactory' is not designed for extension - needs to be abstract, final or empty. | 123 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 86 |
Warning | design | DesignForExtension | Method 'setupSimulation' is not designed for extension - needs to be abstract, final or empty. | 117 |
Info | sizes | MethodLength | Method length is 153 lines (max allowed is 150). | 117 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 218 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 238 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 244 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 106 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'addTabs' is not designed for extension - needs to be abstract, final or empty. | 106 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | ConstantName | Name 'colorer' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 260 |
Info | sizes | MethodLength | Method length is 170 lines (max allowed is 150). | 277 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OTSDrawingException'. | 498 |
Warning | design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 920 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'setDefaultProperties' is not designed for extension - needs to be abstract, final or empty. | 193 |
Warning | design | DesignForExtension | Method 'setupDemo' is not designed for extension - needs to be abstract, final or empty. | 200 |
Warning | design | DesignForExtension | Method 'setupSimulation' is not designed for extension - needs to be abstract, final or empty. | 489 |
Warning | design | DesignForExtension | Method 'createGtu' is not designed for extension - needs to be abstract, final or empty. | 613 |