The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 4 | ![]() |
design | DesignForExtension | 4 | ![]() |
VisibilityModifier | 7 | ![]() | |
javadoc | JavadocMethod | 12 | ![]() |
JavadocPackage | 2 | ![]() | |
misc | FinalParameters | 7 | ![]() |
sizes | LineLength
|
3 | ![]() |
MethodLength | 5 | ![]() | |
ParameterNumber | 2 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'canPlace' is not designed for extension - needs to be abstract, final or empty. | 30 |
![]() |
misc | FinalParameters | Parameter leaderSpeed should be final. | 31 |
![]() |
misc | FinalParameters | Parameter headway should be final. | 31 |
![]() |
misc | FinalParameters | Parameter laneBasedGTUCharacteristics should be final. | 32 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 167 lines (max allowed is 150). | 372 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 202 lines (max allowed is 150). | 399 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 647 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 207 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 210 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 84 |
![]() |
design | DesignForExtension | Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. | 140 |
![]() |
misc | FinalParameters | Parameter colorer should be final. | 141 |
![]() |
design | DesignForExtension | Method 'makeCharts' is not designed for extension - needs to be abstract, final or empty. | 263 |
![]() |
design | DesignForExtension | Method 'makeAnimationRectangle' is not designed for extension - needs to be abstract, final or empty. | 270 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 157 lines (max allowed is 150). | 412 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 202 lines (max allowed is 150). | 322 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'headwayGenerator' must be private and have accessor methods. | 234 |
![]() |
design | VisibilityModifier | Variable 'gtuType' must be private and have accessor methods. | 243 |
![]() |
design | VisibilityModifier | Variable 'laneChangeModel' must be private and have accessor methods. | 252 |
![]() |
design | VisibilityModifier | Variable 'routeGenerator' must be private and have accessor methods. | 264 |
![]() |
design | VisibilityModifier | Variable 'tacticalPlanner' must be private and have accessor methods. | 270 |
![]() |
design | VisibilityModifier | Variable 'idGenerator' must be private and have accessor methods. | 273 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 283 |
![]() |
sizes | MethodLength | Method length is 240 lines (max allowed is 150). | 319 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 572 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 572 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 593 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'SimRuntimeException'. | 593 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 593 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 666 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'stream'. | 666 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'lane'. | 666 |
![]() |
misc | FinalParameters | Parameter initialPositions should be final. | 671 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 671 |
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'. | 137 |
![]() |
misc | FinalParameters | Parameter low should be final. | 271 |
![]() |
misc | FinalParameters | Parameter high should be final. | 271 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'OTSGeometryException'. | 273 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 373 |