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