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
|
1 | ![]() |
design | DesignForExtension | 4 | ![]() |
VisibilityModifier | 6 | ![]() | |
imports | UnusedImports | 7 | ![]() |
javadoc | JavadocMethod | 22 | ![]() |
JavadocPackage | 2 | ![]() | |
misc | FinalParameters | 7 | ![]() |
sizes | LineLength
|
4 | ![]() |
MethodLength | 6 | ![]() | |
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 130). | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 168 lines (max allowed is 150). | 375 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 110 |
![]() |
sizes | MethodLength | Method length is 260 lines (max allowed is 150). | 420 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 115 |
![]() |
sizes | MethodLength | Method length is 251 lines (max allowed is 150). | 432 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.lang.reflect.Field. | 3 |
![]() |
imports | UnusedImports | Unused import - java.util.Set. | 4 |
![]() |
imports | UnusedImports | Unused import - nl.tudelft.simulation.language.reflection.ClassUtil. | 6 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType. | 12 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeBoolean. | 13 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble. | 14 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeInteger. | 15 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 209 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 212 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 88 |
![]() |
design | DesignForExtension | Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. | 144 |
![]() |
misc | FinalParameters | Parameter colorer should be final. | 145 |
![]() |
design | DesignForExtension | Method 'makeCharts' is not designed for extension - needs to be abstract, final or empty. | 267 |
![]() |
design | DesignForExtension | Method 'makeAnimationRectangle' is not designed for extension - needs to be abstract, final or empty. | 274 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 110 |
![]() |
sizes | MethodLength | Method length is 157 lines (max allowed is 150). | 414 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 105 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'PropertyException'. | 122 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 539 |
![]() |
coding | HiddenField | 'headway' hides a field. | 842 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 217 |
![]() |
sizes | MethodLength | Method length is 199 lines (max allowed is 150). | 332 |
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 |
![]() |
design | VisibilityModifier | Variable 'routeGenerator' must be private and have accessor methods. | 275 |
![]() |
design | VisibilityModifier | Variable 'idGenerator' must be private and have accessor methods. | 287 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 297 |
![]() |
sizes | MethodLength | Method length is 355 lines (max allowed is 150). | 333 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 701 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 701 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 722 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'SimRuntimeException'. | 722 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 723 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 796 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'stream'. | 796 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'lane'. | 796 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'lengthDistribution'. | 797 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'widthDistribution'. | 798 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'maximumSpeedDistribution'. | 799 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'initialSpeedDistribution'. | 800 |
![]() |
misc | FinalParameters | Parameter initialPositions should be final. | 801 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'initialPositions'. | 801 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 802 |
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. | 211 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 477 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 547 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'OTSGeometryException'. | 143 |
![]() |
misc | FinalParameters | Parameter low should be final. | 278 |
![]() |
misc | FinalParameters | Parameter high should be final. | 278 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'OTSGeometryException'. | 280 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 381 |