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 | 1 | ![]() |
VisibilityModifier | 4 | ![]() | |
imports | UnusedImports | 3 | ![]() |
javadoc | JavadocPackage | 2 | ![]() |
misc | FinalParameters | 5 | ![]() |
sizes | LineLength
|
7 | ![]() |
MethodLength | 3 | ![]() | |
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). | 372 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 240 lines (max allowed is 150). | 420 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 386 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 85 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 441 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 463 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 535 |
![]() |
coding | HiddenField | 'headway' hides a field. | 815 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 821 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 290 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
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 347 lines (max allowed is 150). | 332 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 789 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 820 |
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. | 200 |
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. | 273 |
![]() |
misc | FinalParameters | Parameter high should be final. | 273 |
![]() |
coding | HiddenField | 'network' hides a field. | 278 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 370 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.network.lane.object.sensor.SinkSensor. | 32 |