The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | |
| NeedBraces | 11 | ||
| design | DesignForExtension | 28 | |
| HideUtilityClassConstructor | 2 | ||
| VisibilityModifier | 12 | ||
| imports | UnusedImports | 1 | |
| javadoc | JavadocMethod | 18 | |
JavadocStyle
|
4 | ||
| JavadocVariable | 17 | ||
| misc | FinalParameters | 43 | |
| TodoComment | 3 | ||
| modifier | ModifierOrder | 4 | |
| naming | MethodName | 4 | |
| StaticVariableName | 1 | ||
| sizes | LineLength
|
2 | |
| MethodLength | 4 | ||
| ParameterNumber | 1 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | StaticVariableName | Name 'PROPERTY_KEY' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 26 | |
| design | VisibilityModifier | Variable 'PROPERTY_KEY' must be private and have accessor methods. | 26 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'imbConnector' must be private and have accessor methods. | 186 | |
| design | VisibilityModifier | Variable 'dx' must be private and have accessor methods. | 293 | |
| design | VisibilityModifier | Variable 'dy' must be private and have accessor methods. | 296 | |
| misc | FinalParameters | Parameter x should be final. | 310 | |
| misc | FinalParameters | Parameter y should be final. | 310 | |
| misc | FinalParameters | Parameter x should be final. | 318 | |
| misc | FinalParameters | Parameter y should be final. | 318 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter simulator should be final. | 250 | |
| design | VisibilityModifier | Variable 'imbConnector' must be private and have accessor methods. | 434 | |
| sizes | MethodLength | Method length is 272 lines (max allowed is 150). | 467 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 27 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 29 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 31 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 33 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 35 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 37 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 39 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 41 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 43 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 45 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 47 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 85 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 100 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 117 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 150 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 166 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 166 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 258 | |
| javadoc | JavadocMethod | Expected @throws tag for 'URISyntaxException'. | 291 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 315 | |
| design | VisibilityModifier | Variable 'x' must be private and have accessor methods. | 315 | |
| design | VisibilityModifier | Variable 'y' must be private and have accessor methods. | 315 | |
| misc | FinalParameters | Parameter x should be final. | 321 | |
| javadoc | JavadocMethod | Expected @param tag for 'x'. | 321 | |
| misc | FinalParameters | Parameter y should be final. | 321 | |
| javadoc | JavadocMethod | Expected @param tag for 'y'. | 321 | |
| misc | FinalParameters | Parameter obj should be final. | 344 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 346 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 348 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 350 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 353 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 355 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'btnConnect' must be private and have accessor methods. | 56 | |
| modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 69 | |
| misc | FinalParameters | Parameter comTime should be final. | 69 | |
| modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 79 | |
| misc | FinalParameters | Parameter comTime should be final. | 79 | |
| modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 97 | |
| misc | FinalParameters | Parameter javaDate should be final. | 97 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 106 | |
| modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 111 | |
| misc | FinalParameters | Parameter milliseconds should be final. | 111 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 123 | |
| design | DesignForExtension | Method 'AddMessage' is not designed for extension - needs to be abstract, final or empty. | 129 | |
| naming | MethodName | Name 'AddMessage' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 129 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 149 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 151 | |
| design | DesignForExtension | Method 'Connect' is not designed for extension - needs to be abstract, final or empty. | 158 | |
| naming | MethodName | Name 'Connect' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 158 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 163 | |
| misc | FinalParameters | Parameter aEvent should be final. | 183 | |
| misc | FinalParameters | Parameter aPayload should be final. | 183 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 196 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 197 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 199 | |
| design | DesignForExtension | Method 'Disconnect' is not designed for extension - needs to be abstract, final or empty. | 208 | |
| naming | MethodName | Name 'Disconnect' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 208 | |
| design | DesignForExtension | Method 'Send' is not designed for extension - needs to be abstract, final or empty. | 220 | |
| naming | MethodName | Name 'Send' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 220 | |
| misc | FinalParameters | Parameter args should be final. | 253 | |
| misc | FinalParameters | Parameter windowEvent should be final. | 289 | |
| misc | FinalParameters | Parameter e should be final. | 322 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 324 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 326 | |
| misc | FinalParameters | Parameter e should be final. | 342 | |
| misc | FinalParameters | Parameter e should be final. | 351 | |
| misc | FinalParameters | Parameter e should be final. | 357 | |
| misc | FinalParameters | Parameter e should be final. | 369 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'descriptionPanel' must be private and have accessor methods. | 95 | |
| blocks | EmptyBlock | Must have at least one statement. | 104 | |
| sizes | LineLength | Line is longer than 128 characters (found 135). | 237 | |
| sizes | MethodLength | Method length is 251 lines (max allowed is 150). | 353 | |
| misc | FinalParameters | Parameter e should be final. | 558 | |
| misc | FinalParameters | Parameter e should be final. | 571 | |
| misc | FinalParameters | Parameter e should be final. | 584 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter args should be final. | 127 | |
| javadoc | JavadocMethod | Expected @param tag for 'args'. | 127 | |
| misc | FinalParameters | Parameter providedModelName should be final. | 127 | |
| javadoc | JavadocMethod | Expected @param tag for 'providedModelName'. | 127 | |
| misc | FinalParameters | Parameter providedModelId should be final. | 127 | |
| javadoc | JavadocMethod | Expected @param tag for 'providedModelId'. | 127 | |
| javadoc | JavadocMethod | Expected @throws tag for 'IMBException'. | 127 | |
| design | DesignForExtension | Method 'startModel' is not designed for extension - needs to be abstract, final or empty. | 161 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 221 | |
| design | DesignForExtension | Method 'stopModel' is not designed for extension - needs to be abstract, final or empty. | 242 | |
| design | DesignForExtension | Method 'quitApplication' is not designed for extension - needs to be abstract, final or empty. | 266 | |
| design | DesignForExtension | Method 'parameterRequest' is not designed for extension - needs to be abstract, final or empty. | 286 | |
| misc | FinalParameters | Parameter parameters should be final. | 287 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 325 | |
| javadoc | JavadocMethod | Expected @param tag for 'args'. | 331 | |
| javadoc | JavadocMethod | Expected @throws tag for 'InvocationTargetException'. | 331 | |
| javadoc | JavadocMethod | Expected @throws tag for 'InterruptedException'. | 331 | |
| javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 429 | |
| sizes | MethodLength | Method length is 282 lines (max allowed is 150). | 519 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'imbConnector' must be private and have accessor methods. | 189 | |
| design | VisibilityModifier | Variable 'dx' must be private and have accessor methods. | 293 | |
| design | VisibilityModifier | Variable 'dy' must be private and have accessor methods. | 296 | |
| misc | FinalParameters | Parameter x should be final. | 310 | |
| misc | FinalParameters | Parameter y should be final. | 310 | |
| misc | FinalParameters | Parameter x should be final. | 318 | |
| misc | FinalParameters | Parameter y should be final. | 318 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 69 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 72 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter imbNewPayload should be final. | 85 | |
| misc | FinalParameters | Parameter imbDeletePayload should be final. | 124 | |
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 145 | |
| design | DesignForExtension | Method 'addIMBtoOTSChannel' is not designed for extension - needs to be abstract, final or empty. | 177 | |
| design | DesignForExtension | Method 'addIMBtoOTSChannel' is not designed for extension - needs to be abstract, final or empty. | 195 | |
| design | DesignForExtension | Method 'handleMessageFromIMB' is not designed for extension - needs to be abstract, final or empty. | 205 | |
| design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 214 | |
| design | DesignForExtension | Method 'getSimulator' is not designed for extension - needs to be abstract, final or empty. | 239 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter eventContent should be final. | 35 | |
| misc | FinalParameters | Parameter eventListener should be final. | 35 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'handle' is not designed for extension - needs to be abstract, final or empty. | 66 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 365 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter simulator should be final. | 237 | |
| misc | FinalParameters | Parameter network should be final. | 237 | |
| design | DesignForExtension | Method 'makePNG' is not designed for extension - needs to be abstract, final or empty. | 294 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 254 | |
| design | DesignForExtension | Method 'transformNew' is not designed for extension - needs to be abstract, final or empty. | 398 | |
| design | DesignForExtension | Method 'transformChange' is not designed for extension - needs to be abstract, final or empty. | 441 | |
| design | DesignForExtension | Method 'transformDelete' is not designed for extension - needs to be abstract, final or empty. | 467 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 242 | |
| design | DesignForExtension | Method 'transformNew' is not designed for extension - needs to be abstract, final or empty. | 335 | |
| design | DesignForExtension | Method 'transformChange' is not designed for extension - needs to be abstract, final or empty. | 377 | |
| design | DesignForExtension | Method 'transformDelete' is not designed for extension - needs to be abstract, final or empty. | 401 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 134). | 15 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 160 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 254 | |
| sizes | MethodLength | Method length is 174 lines (max allowed is 150). | 254 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | FinalParameters | Parameter imbPayload should be final. | 70 | |
| misc | FinalParameters | Parameter imbPayload should be final. | 96 | |
| misc | FinalParameters | Parameter imbPayload should be final. | 115 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - org.opentrafficsim.core.network.Network. | 13 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 280 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 282 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 284 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 286 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 288 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 290 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 292 | |
| misc | FinalParameters | Parameter simulator should be final. | 305 | |
| misc | FinalParameters | Parameter networkId should be final. | 305 | |
| design | DesignForExtension | Method 'sendStatisticsUpdate' is not designed for extension - needs to be abstract, final or empty. | 340 |