The following document contains the results of Checkstyle 6.18 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 2 | Warning |
coding | HiddenField
|
2 | Warning |
design | DesignForExtension | 33 | Warning |
VisibilityModifier | 8 | Warning | |
imports | UnusedImports | 15 | Warning |
javadoc | JavadocPackage | 3 | Info |
misc | FinalParameters | 2 | Warning |
modifier | RedundantModifier | 2 | Warning |
sizes | LineLength
|
14 | Info |
MethodLength | 10 | Info | |
ParameterNumber | 3 | Info |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'sampler' must be private and have accessor methods. | 113 |
Warning | design | DesignForExtension | Method 'getReplication' is not designed for extension - needs to be abstract, final or empty. | 150 |
Warning | design | DesignForExtension | Method 'getAnticipationStrategy' is not designed for extension - needs to be abstract, final or empty. | 158 |
Warning | design | DesignForExtension | Method 'getReactionTime' is not designed for extension - needs to be abstract, final or empty. | 166 |
Warning | design | DesignForExtension | Method 'getAnticipationTime' is not designed for extension - needs to be abstract, final or empty. | 174 |
Warning | design | DesignForExtension | Method 'getTruckFraction' is not designed for extension - needs to be abstract, final or empty. | 182 |
Warning | design | DesignForExtension | Method 'getDistanceError' is not designed for extension - needs to be abstract, final or empty. | 190 |
Warning | design | DesignForExtension | Method 'getSpeedError' is not designed for extension - needs to be abstract, final or empty. | 198 |
Warning | design | DesignForExtension | Method 'getAccelerationError' is not designed for extension - needs to be abstract, final or empty. | 206 |
Warning | design | DesignForExtension | Method 'getLeftDemand' is not designed for extension - needs to be abstract, final or empty. | 214 |
Warning | design | DesignForExtension | Method 'getRightDemand' is not designed for extension - needs to be abstract, final or empty. | 222 |
Warning | design | DesignForExtension | Method 'getLeftFraction' is not designed for extension - needs to be abstract, final or empty. | 230 |
Info | sizes | MethodLength | Method length is 301 lines (max allowed is 150). | 240 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'sampler' must be private and have accessor methods. | 110 |
Warning | design | DesignForExtension | Method 'getReplication' is not designed for extension - needs to be abstract, final or empty. | 147 |
Warning | design | DesignForExtension | Method 'getAnticipationStrategy' is not designed for extension - needs to be abstract, final or empty. | 155 |
Warning | design | DesignForExtension | Method 'getReactionTime' is not designed for extension - needs to be abstract, final or empty. | 163 |
Warning | design | DesignForExtension | Method 'getAnticipationTime' is not designed for extension - needs to be abstract, final or empty. | 171 |
Warning | design | DesignForExtension | Method 'getTruckFraction' is not designed for extension - needs to be abstract, final or empty. | 179 |
Warning | design | DesignForExtension | Method 'getDistanceError' is not designed for extension - needs to be abstract, final or empty. | 187 |
Warning | design | DesignForExtension | Method 'getSpeedError' is not designed for extension - needs to be abstract, final or empty. | 195 |
Warning | design | DesignForExtension | Method 'getAccelerationError' is not designed for extension - needs to be abstract, final or empty. | 203 |
Warning | design | DesignForExtension | Method 'getLeftDemand' is not designed for extension - needs to be abstract, final or empty. | 211 |
Warning | design | DesignForExtension | Method 'getRightDemand' is not designed for extension - needs to be abstract, final or empty. | 219 |
Warning | design | DesignForExtension | Method 'getLeftFraction' is not designed for extension - needs to be abstract, final or empty. | 227 |
Info | sizes | MethodLength | Method length is 300 lines (max allowed is 150). | 237 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 162 lines (max allowed is 150). | 145 |
Info | sizes | ParameterNumber | More than 7 parameters (found 14). | 353 |
Warning | modifier | RedundantModifier | Redundant 'public' modifier. | 580 |
Warning | modifier | RedundantModifier | Redundant 'public' modifier. | 592 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 10 |
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 215 |
Info | sizes | LineLength | Line is longer than 128 characters (found 131). | 219 |
Warning | design | DesignForExtension | Method 'getColorer' is not designed for extension - needs to be abstract, final or empty. | 249 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 7 |
Info | sizes | MethodLength | Method length is 161 lines (max allowed is 150). | 364 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 7 |
Info | sizes | MethodLength | Method length is 238 lines (max allowed is 150). | 413 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'rectangle' must be private and have accessor methods. | 83 |
Info | sizes | LineLength | Line is longer than 128 characters (found 130). | 369 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 9 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'getColorer' is not designed for extension - needs to be abstract, final or empty. | 178 |
Warning | design | DesignForExtension | Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. | 185 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 324 |
Info | sizes | ParameterNumber | More than 7 parameters (found 12). | 467 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 9 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 9 |
Warning | blocks | EmptyBlock | Must have at least one statement. | 523 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 343 lines (max allowed is 150). | 313 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 8 |
Warning | design | VisibilityModifier | Variable 'headwayGenerator' must be private and have accessor methods. | 224 |
Warning | design | VisibilityModifier | Variable 'gtuType' must be private and have accessor methods. | 233 |
Warning | design | VisibilityModifier | Variable 'laneChangeModel' must be private and have accessor methods. | 242 |
Info | sizes | MethodLength | Method length is 442 lines (max allowed is 150). | 300 |
Warning | coding | HiddenField | 'stream' hides a field. | 784 |
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 817 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'laneChangeModel' must be private and have accessor methods. | 268 |
Info | sizes | MethodLength | Method length is 346 lines (max allowed is 150). | 329 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 4 |
Warning | design | DesignForExtension | Method 'draw' is not designed for extension - needs to be abstract, final or empty. | 441 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | |
Warning | design | VisibilityModifier | Variable 'trafCOD' must be private and have accessor methods. | 124 |
Info | sizes | LineLength | Line is longer than 128 characters (found 135). | 228 |
Info | sizes | LineLength | Line is longer than 128 characters (found 140). | 232 |
Info | sizes | LineLength | Line is longer than 128 characters (found 140). | 237 |
Info | sizes | LineLength | Line is longer than 128 characters (found 135). | 245 |
Info | sizes | LineLength | Line is longer than 128 characters (found 140). | 249 |
Info | sizes | LineLength | Line is longer than 128 characters (found 140). | 254 |
Info | sizes | LineLength | Line is longer than 128 characters (found 135). | 365 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocPackage | Missing package-info.java file. | |
Info | sizes | LineLength | Line is longer than 128 characters (found 133). | 359 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 3 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | FinalParameters | Parameter low should be final. | 271 |
Warning | misc | FinalParameters | Parameter high should be final. | 271 |
Warning | coding | HiddenField | 'network' hides a field. | 276 |
Info | sizes | ParameterNumber | More than 7 parameters (found 8). | 366 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.rmi.RemoteException. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 97 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 127 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 188 |
Info | sizes | LineLength | Line is longer than 128 characters (found 132). | 193 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | MethodLength | Method length is 167 lines (max allowed is 150). | 274 |
Info | sizes | MethodLength | Method length is 350 lines (max allowed is 150). | 564 |
Warning | design | DesignForExtension | Method 'notify' is not designed for extension - needs to be abstract, final or empty. | 953 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | DesignForExtension | Method 'setDefaultProperties' is not designed for extension - needs to be abstract, final or empty. | 162 |
Warning | design | DesignForExtension | Method 'setupDemo' is not designed for extension - needs to be abstract, final or empty. | 169 |
Warning | design | DesignForExtension | Method 'setupSimulation' is not designed for extension - needs to be abstract, final or empty. | 437 |
Warning | design | DesignForExtension | Method 'createGtu' is not designed for extension - needs to be abstract, final or empty. | 558 |