The following document contains the results of Checkstyle 8.35 with /config/dsol-checks.xml ruleset.
Files | ![]() |
![]() |
![]() |
---|---|---|---|
24 | 5 | 153 | 0 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 4 | ![]() |
NeedBraces | 57 | ![]() | |
coding | HiddenField
|
3 | ![]() |
design | DesignForExtension | 1 | ![]() |
VisibilityModifier | 21 | ![]() | |
imports | UnusedImports | 2 | ![]() |
javadoc | JavadocMethod | 8 | ![]() |
misc | FinalParameters | 47 | ![]() |
TodoComment | 4 | ![]() | |
modifier | ModifierOrder | 2 | ![]() |
RedundantModifier | 2 | ![]() | |
naming | ParameterName | 2 | ![]() |
sizes | LineLength
|
2 | ![]() |
MethodLength | 1 | ![]() | |
ParameterNumber | 2 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | HiddenField | 'animationPanel' hides a field. | 254 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'webServer' must be private and have accessor methods. | 252 |
![]() |
design | DesignForExtension | Class 'XHRHandler' looks like designed for extension (can be subclassed), but the method 'handle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'XHRHandler' final or making the method 'handle' static/final/abstract/empty, or adding allowed annotation for the method. | 269 |
![]() |
sizes | MethodLength | Method length is 322 lines (max allowed is 150). | 269 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 144). | 270 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 307 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 322 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 324 |
![]() |
blocks | NeedBraces | 'for' construct must use '{}'s. | 434 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 454 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 467 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 529 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 538 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 540 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 545 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 547 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 571 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 573 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'sessionModelMap' must be private and have accessor methods. | 68 |
![]() |
design | VisibilityModifier | Variable 'sessionWebModelMap' must be private and have accessor methods. | 71 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 169 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 171 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 173 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 175 |
![]() |
misc | FinalParameters | Parameter model should be final. | 300 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 378 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 380 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 395 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 397 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 403 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 407 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 411 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 415 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<U>'. | 424 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 425 |
![]() |
misc | FinalParameters | Parameter parameter should be final. | 425 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<U>'. | 434 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 435 |
![]() |
misc | FinalParameters | Parameter parameter should be final. | 435 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<U>'. | 449 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 450 |
![]() |
misc | FinalParameters | Parameter parameter should be final. | 450 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<U>'. | 459 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 460 |
![]() |
misc | FinalParameters | Parameter parameter should be final. | 460 |
![]() |
misc | FinalParameters | Parameter model should be final. | 476 |
![]() |
misc | FinalParameters | Parameter message should be final. | 476 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 535 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 540 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 553 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.SimulatorInterface. | 29 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 597 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter name should be final. | 25 |
![]() |
misc | FinalParameters | Parameter visible should be final. | 25 |
![]() |
misc | FinalParameters | Parameter visible should be final. | 42 |
![]() |
misc | FinalParameters | Parameter name should be final. | 77 |
![]() |
misc | FinalParameters | Parameter locatableClass should be final. | 77 |
![]() |
misc | FinalParameters | Parameter toolTipText should be final. | 77 |
![]() |
misc | FinalParameters | Parameter visible should be final. | 77 |
![]() |
misc | FinalParameters | Parameter name should be final. | 115 |
![]() |
misc | FinalParameters | Parameter visible should be final. | 115 |
![]() |
misc | FinalParameters | Parameter name should be final. | 143 |
![]() |
misc | FinalParameters | Parameter layerName should be final. | 143 |
![]() |
misc | FinalParameters | Parameter toolTipText should be final. | 143 |
![]() |
misc | FinalParameters | Parameter visible should be final. | 143 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter htmlGraphicsConfiguration should be final. | 27 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'background' must be private and have accessor methods. | 53 |
![]() |
design | VisibilityModifier | Variable 'color' must be private and have accessor methods. | 56 |
![]() |
design | VisibilityModifier | Variable 'font' must be private and have accessor methods. | 59 |
![]() |
design | VisibilityModifier | Variable 'canvas' must be private and have accessor methods. | 62 |
![]() |
design | VisibilityModifier | Variable 'fontMetrics' must be private and have accessor methods. | 65 |
![]() |
design | VisibilityModifier | Variable 'paint' must be private and have accessor methods. | 68 |
![]() |
design | VisibilityModifier | Variable 'stroke' must be private and have accessor methods. | 71 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 73 |
![]() |
design | VisibilityModifier | Variable 'renderingHints' must be private and have accessor methods. | 74 |
![]() |
design | VisibilityModifier | Variable 'affineTransform' must be private and have accessor methods. | 77 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 79 |
![]() |
design | VisibilityModifier | Variable 'composite' must be private and have accessor methods. | 80 |
![]() |
design | VisibilityModifier | Variable 'commands' must be private and have accessor methods. | 83 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 164 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 167 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 170 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 172 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 178 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 180 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 182 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 197 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 199 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 219 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 221 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 223 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 225 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 280 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 282 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 288 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 290 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 295 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 297 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 354 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 356 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 362 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 364 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 369 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 371 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 446 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 449 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 456 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 459 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 476 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 478 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 484 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 486 |
![]() |
naming | ParameterName | Name 'Tx' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 711 |
![]() |
naming | ParameterName | Name 'Tx' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 718 |
![]() |
coding | HiddenField | 'color' hides a field. | 750 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 792 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 10). | 1022 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 11). | 1031 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'htmlDevice' must be private and have accessor methods. | 27 |
![]() |
design | VisibilityModifier | Variable 'identityTransform' must be private and have accessor methods. | 30 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 32 |
![]() |
design | VisibilityModifier | Variable 'bounds' must be private and have accessor methods. | 33 |
![]() |
coding | HiddenField | 'htmlDevice' hides a field. | 56 |
![]() |
misc | FinalParameters | Parameter transparency should be final. | 72 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'htmlDevice' must be private and have accessor methods. | 27 |
![]() |
design | VisibilityModifier | Variable 'graphics2D' must be private and have accessor methods. | 30 |
![]() |
design | VisibilityModifier | Variable 'graphicsConfiguration' must be private and have accessor methods. | 33 |
![]() |
misc | FinalParameters | Parameter img should be final. | 65 |
![]() |
misc | FinalParameters | Parameter l should be final. | 89 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'eventQueue' must be private and have accessor methods. | 40 |
![]() |
misc | FinalParameters | Parameter font should be final. | 83 |
![]() |
misc | FinalParameters | Parameter filename should be final. | 98 |
![]() |
misc | FinalParameters | Parameter url should be final. | 106 |
![]() |
misc | FinalParameters | Parameter filename should be final. | 114 |
![]() |
misc | FinalParameters | Parameter url should be final. | 122 |
![]() |
misc | FinalParameters | Parameter image should be final. | 130 |
![]() |
misc | FinalParameters | Parameter width should be final. | 130 |
![]() |
misc | FinalParameters | Parameter height should be final. | 130 |
![]() |
misc | FinalParameters | Parameter observer should be final. | 130 |
![]() |
misc | FinalParameters | Parameter image should be final. | 138 |
![]() |
misc | FinalParameters | Parameter width should be final. | 138 |
![]() |
misc | FinalParameters | Parameter height should be final. | 138 |
![]() |
misc | FinalParameters | Parameter observer should be final. | 138 |
![]() |
misc | FinalParameters | Parameter producer should be final. | 146 |
![]() |
misc | FinalParameters | Parameter imagedata should be final. | 154 |
![]() |
misc | FinalParameters | Parameter imageoffset should be final. | 154 |
![]() |
misc | FinalParameters | Parameter imagelength should be final. | 154 |
![]() |
misc | FinalParameters | Parameter frame should be final. | 162 |
![]() |
misc | FinalParameters | Parameter jobtitle should be final. | 162 |
![]() |
misc | FinalParameters | Parameter props should be final. | 162 |
![]() |
misc | FinalParameters | Parameter modalityType should be final. | 194 |
![]() |
misc | FinalParameters | Parameter modalExclusionType should be final. | 202 |
![]() |
misc | FinalParameters | Parameter highlight should be final. | 210 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'final' modifier. | 105 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 105 |
![]() |
modifier | RedundantModifier | Redundant 'final' modifier. | 115 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 115 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface. | 46 |