The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 5 | Warning |
coding | HiddenField
|
2 | Warning |
design | DesignForExtension | 2 | Warning |
VisibilityModifier | 5 | Warning | |
imports | UnusedImports | 2 | Warning |
javadoc | JavadocMethod | 20 | Warning |
JavadocPackage | 2 | Info | |
misc | FinalParameters | 11 | Warning |
sizes | LineLength
|
6 | Info |
MethodLength | 5 | Info | |
ParameterNumber | 2 | Info |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'canPlace' is not designed for extension - needs to be abstract, final or empty. | 32 |
Warning | misc | FinalParameters | Parameter leaderSpeed should be final. | 33 |
Warning | misc | FinalParameters | Parameter headway should be final. | 33 |
Warning | misc | FinalParameters | Parameter laneBasedGTUCharacteristics should be final. | 34 |
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 165 lines (max allowed is 150). | 371 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 232 lines (max allowed is 150). | 418 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter simulator should be final. | 157 |
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 209 |
Info | sizes | LineLength | Line is longer than 128 characters (found 129). | 305 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 86 |
Warning | design | DesignForExtension | Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. | 143 |
Warning | misc | FinalParameters | Parameter colorer should be final. | 144 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 151 lines (max allowed is 150). | 413 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter simulator should be final. | 233 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 535 |
Warning | coding | HiddenField | 'headway' hides a field. | 808 |
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 814 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'descriptionPanel' must be private and have accessor methods. | 91 |
Info | sizes | LineLength | Line is longer than 128 characters (found 135). | 228 |
Info | sizes | MethodLength | Method length is 251 lines (max allowed is 150). | 343 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter simulator should be final. | 157 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter simulator should be final. | 168 |
Warning | design | VisibilityModifier | Variable 'headwayGenerator' must be private and have accessor methods. | 243 |
Warning | design | VisibilityModifier | Variable 'gtuType' must be private and have accessor methods. | 252 |
Warning | design | VisibilityModifier | Variable 'laneChangeModel' must be private and have accessor methods. | 261 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 295 |
Info | sizes | MethodLength | Method length is 335 lines (max allowed is 150). | 330 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 677 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 677 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 698 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'SimRuntimeException'. | 698 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'ProbabilityException'. | 698 |
Info | sizes | ParameterNumber | More than 7 parameters (found 8). | 771 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'stream'. | 771 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'lane'. | 771 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'lengthDistribution'. | 772 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'widthDistribution'. | 773 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'maximumSpeedDistribution'. | 774 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'initialSpeedDistribution'. | 775 |
Warning | misc | FinalParameters | Parameter initialPositions should be final. | 776 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'initialPositions'. | 776 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'GTUException'. | 777 |
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 802 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | EmptyBlock | Must have at least one statement. | 198 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | |
Warning | imports | UnusedImports | Unused import - org.djunits.unit.FrequencyUnit. | 14 |
Warning | imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.DoubleScalar. | 16 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 473 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 541 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OTSGeometryException'. | 142 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OperationalPlanException'. | 142 |
Warning | misc | FinalParameters | Parameter low should be final. | 271 |
Warning | misc | FinalParameters | Parameter high should be final. | 271 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OTSGeometryException'. | 273 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OperationalPlanException'. | 273 |
Warning | coding | HiddenField | 'network' hides a field. | 276 |
Info | sizes | ParameterNumber | More than 7 parameters (found 8). | 368 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'OperationalPlanException'. | 372 |