The following document contains the results of Checkstyle 8.35 with /config/dsol-checks.xml ruleset.
Files | ![]() |
![]() |
![]() |
---|---|---|---|
23 | 8 | 48 | 0 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 1 | ![]() |
NeedBraces | 4 | ![]() | |
design | FinalClass | 1 | ![]() |
HideUtilityClassConstructor | 1 | ![]() | |
VisibilityModifier | 17 | ![]() | |
imports | UnusedImports | 2 | ![]() |
misc | FinalParameters | 2 | ![]() |
TodoComment | 18 | ![]() | |
modifier | ModifierOrder | 2 | ![]() |
sizes | LineLength
|
3 | ![]() |
MethodLength | 5 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'factor' must be private and have accessor methods. | 47 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 44 |
![]() |
design | VisibilityModifier | Variable 'origin' must be private and have accessor methods. | 47 |
![]() |
design | VisibilityModifier | Variable 'destination' must be private and have accessor methods. | 50 |
![]() |
design | VisibilityModifier | Variable 'interpolation' must be private and have accessor methods. | 53 |
![]() |
design | VisibilityModifier | Variable 'category' must be private and have accessor methods. | 56 |
![]() |
design | VisibilityModifier | Variable 'categoryName' must be private and have accessor methods. | 59 |
![]() |
design | VisibilityModifier | Variable 'demandType' must be private and have accessor methods. | 62 |
![]() |
design | VisibilityModifier | Variable 'timeVector' must be private and have accessor methods. | 65 |
![]() |
design | VisibilityModifier | Variable 'demandVector' must be private and have accessor methods. | 68 |
![]() |
design | VisibilityModifier | Variable 'factor' must be private and have accessor methods. | 71 |
![]() |
design | VisibilityModifier | Variable 'factors' must be private and have accessor methods. | 74 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 141). | 179 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 190 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'network' must be private and have accessor methods. | 70 |
![]() |
design | VisibilityModifier | Variable 'categorization' must be private and have accessor methods. | 76 |
![]() |
design | VisibilityModifier | Variable 'categories' must be private and have accessor methods. | 79 |
![]() |
design | VisibilityModifier | Variable 'globalTime' must be private and have accessor methods. | 82 |
![]() |
design | VisibilityModifier | Variable 'globalInterpolation' must be private and have accessor methods. | 85 |
![]() |
design | VisibilityModifier | Variable 'demand' must be private and have accessor methods. | 88 |
![]() |
sizes | MethodLength | Method length is 172 lines (max allowed is 150). | 254 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 434 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 109 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 216 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 138 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 335 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 350 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | FinalClass | Class ModelParser should be declared as final. | 149 |
![]() |
sizes | MethodLength | Method length is 166 lines (max allowed is 150). | 170 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 399 |
![]() |
sizes | MethodLength | Method length is 199 lines (max allowed is 150). | 476 |
![]() |
sizes | MethodLength | Method length is 240 lines (max allowed is 150). | 897 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 1088 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface. | 61 |
![]() |
sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 155 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 295 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 298 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 309 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 417 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 484 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 149 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 163 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 323 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 136). | 373 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 441 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 489 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 88 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 22 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 272 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter object should be final. | 41 |
![]() |
misc | FinalParameters | Parameter in should be final. | 63 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.util.Map. | 3 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 154 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 45 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 47 |