The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 5 | ![]() |
coding | HiddenField
|
2 | ![]() |
design | DesignForExtension | 2 | ![]() |
VisibilityModifier | 5 | ![]() | |
imports | UnusedImports | 3 | ![]() |
javadoc | JavadocPackage | 2 | ![]() |
misc | FinalParameters | 10 | ![]() |
sizes | LineLength
|
8 | ![]() |
MethodLength | 4 | ![]() | |
ParameterNumber | 2 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'canPlace' is not designed for extension - needs to be abstract, final or empty. | 32 |
![]() |
misc | FinalParameters | Parameter leaderSpeed should be final. | 33 |
![]() |
misc | FinalParameters | Parameter headway should be final. | 33 |
![]() |
misc | FinalParameters | Parameter laneBasedGTUCharacteristics should be final. | 34 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 371 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingDirectedChangeTacticalPlanner. | 56 |
![]() |
sizes | MethodLength | Method length is 239 lines (max allowed is 150). | 420 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 545 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 359 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter simulator should be final. | 156 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 208 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 304 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 86 |
![]() |
design | DesignForExtension | Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. | 143 |
![]() |
misc | FinalParameters | Parameter colorer should be final. | 144 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter simulator should be final. | 232 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 533 |
![]() |
coding | HiddenField | 'headway' hides a field. | 806 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 812 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'descriptionPanel' must be private and have accessor methods. | 91 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 228 |
![]() |
sizes | MethodLength | Method length is 251 lines (max allowed is 150). | 343 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter simulator should be final. | 156 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter simulator should be final. | 170 |
![]() |
design | VisibilityModifier | Variable 'headwayGenerator' must be private and have accessor methods. | 245 |
![]() |
design | VisibilityModifier | Variable 'gtuType' must be private and have accessor methods. | 254 |
![]() |
design | VisibilityModifier | Variable 'laneChangeModel' must be private and have accessor methods. | 263 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 297 |
![]() |
sizes | MethodLength | Method length is 353 lines (max allowed is 150). | 332 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 795 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 826 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | EmptyBlock | Must have at least one statement. | 198 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
imports | UnusedImports | Unused import - org.djunits.unit.FrequencyUnit. | 14 |
![]() |
imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.DoubleScalar. | 16 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 473 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 541 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter low should be final. | 271 |
![]() |
misc | FinalParameters | Parameter high should be final. | 271 |
![]() |
coding | HiddenField | 'network' hides a field. | 276 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 368 |