The following document contains the results of Checkstyle 8.35 with /config/dsol-checks.xml ruleset.
Files | Info | Warnings | Errors |
---|---|---|---|
70 | 18 | 59 | 0 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 11 | Warning |
NeedBraces | 24 | Warning | |
design | VisibilityModifier | 2 | Warning |
imports | UnusedImports | 5 | Warning |
javadoc | JavadocPackage | 3 | Info |
misc | FinalParameters | 1 | Warning |
TodoComment | 13 | Warning | |
naming | ConstantName | 1 | Warning |
sizes | LineLength
|
7 | Info |
MethodLength | 5 | Info | |
ParameterNumber | 3 | Info | |
whitespace | WhitespaceAfter | 2 | Warning |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 141 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 193 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 302 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 290 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.SimulatorInterface. | 92 |
Info | sizes | MethodLength | Method length is 168 lines (max allowed is 150). | 142 |
Info | sizes | ParameterNumber | More than 7 parameters (found 14). | 356 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 218 lines (max allowed is 150). | 138 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface. | 46 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface. | 53 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 299 |
Warning | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 334 |
Warning | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 339 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 390 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 576 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | EmptyBlock | Must have at least one statement. | 295 |
Info | sizes | ParameterNumber | More than 7 parameters (found 12). | 442 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Info | sizes | LineLength | Line is longer than 128 characters (found 138). | 252 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 257 lines (max allowed is 150). | 308 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | ParameterNumber | More than 7 parameters (found 8). | 371 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter args should be final. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 130). | 165 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 96 |
Info | sizes | MethodLength | Method length is 158 lines (max allowed is 150). | 136 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 242 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 262 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 268 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 175 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 564 |
Warning | blocks | NeedBraces | 'else' construct must use '{}'s. | 566 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 581 |
Warning | blocks | NeedBraces | 'else' construct must use '{}'s. | 583 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 589 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 593 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 597 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 601 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 729 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 734 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 747 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'sessionModelMap' must be private and have accessor methods. | 83 |
Warning | design | VisibilityModifier | Variable 'sessionWebModelMap' must be private and have accessor methods. | 86 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 211 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 213 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 215 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 217 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 219 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 233 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 235 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 237 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 240 |
Warning | blocks | NeedBraces | 'else' construct must use '{}'s. | 242 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 445 |
Warning | blocks | NeedBraces | 'else' construct must use '{}'s. | 447 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 462 |
Warning | blocks | NeedBraces | 'else' construct must use '{}'s. | 464 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 470 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 474 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 478 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 482 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 610 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 615 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 628 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 130). | 208 |
Info | sizes | LineLength | Line is longer than 128 characters (found 130). | 320 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | EmptyBlock | Must have at least one statement. | 362 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 363 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 421 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 456 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 457 |
Warning | misc | TodoComment | Comment matches to-do format 'TODO:'. | 530 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface. | 169 |
Warning | naming | ConstantName | Name 'colorer' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 265 |
Info | sizes | MethodLength | Method length is 169 lines (max allowed is 150). | 280 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.awt.BorderLayout. | 3 |