Checkstyle Results
The following document contains the results of Checkstyle 10.21.3 with config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 322 | 25 | 31 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField
|
6 | |
| InnerAssignment | 2 | ||
| design | VisibilityModifier | 4 | |
| javadoc | JavadocPackage | 1 | |
| misc | TodoComment | 17 | |
| modifier | RedundantModifier | 2 | |
| sizes | LineLength
|
2 | |
| MethodLength | 2 | ||
| ParameterNumber | 20 |
Details
org/opentrafficsim/road/gtu/generator/GtuSpawner.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'defaultGtuTemplate' hides a field. | 65 | |
| coding | HiddenField | 'stream' hides a field. | 76 | |
| coding | HiddenField | 'noLaneChangeDistance' hides a field. | 87 | |
| coding | HiddenField | 'bookkeeping' hides a field. | 98 | |
| coding | HiddenField | 'errorHandler' hides a field. | 109 |
org/opentrafficsim/road/gtu/generator/Platoons.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 311 |
org/opentrafficsim/road/gtu/lane/LaneBasedGtu.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 265 |
org/opentrafficsim/road/gtu/lane/control/DelayedActuation.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 43 |
org/opentrafficsim/road/gtu/lane/perception/categories/DirectInfrastructurePerception.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 154 |
org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationSituationalAwareness.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 130). | 21 |
org/opentrafficsim/road/gtu/lane/perception/mental/sdm/Distraction.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 57 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationConflicts.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 53 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationIncentive.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 49 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationNoRightOvertake.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 62 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationSpeedLimitTransition.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 51 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationTrafficLights.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 51 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveQueue.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 79 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveSpeed.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 49 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveStayRight.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | InnerAssignment | Inner assignments should be avoided. | 65 |
org/opentrafficsim/road/gtu/lane/tactical/lmrs/Lmrs.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 114 |
org/opentrafficsim/road/gtu/lane/tactical/util/ConflictUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method approachConflicts length is 223 lines (max allowed is 150). | 146 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 593 | |
| coding | HiddenField | 'zipGtuId' hides a field. | 1052 |
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/Cooperation.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 99 |
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/GapAcceptance.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 38 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 107 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 174 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 255 |
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/LmrsUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 438 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 494 |
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/Synchronization.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 46 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 89 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 169 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 220 | |
| sizes | MethodLength | Method synchronize length is 184 lines (max allowed is 150). | 244 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 245 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 475 | |
| sizes | ParameterNumber | More than 7 parameters (found 14). | 589 |
org/opentrafficsim/road/network/LaneAccessLaw.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 |
org/opentrafficsim/road/network/RoadNetwork.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 173 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 355 |
org/opentrafficsim/road/network/factory/LaneFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 125 |
org/opentrafficsim/road/network/lane/Lane.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | InnerAssignment | Inner assignments should be avoided. | 842 |
org/opentrafficsim/road/network/lane/LaneGeometryUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 81 |
org/opentrafficsim/road/network/lane/conflict/ConflictBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 278 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 502 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 609 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1241 | |
| design | VisibilityModifier | Variable 'cbr' must be private and have accessor methods. | 1261 | |
| design | VisibilityModifier | Variable 'nrOfJobs' must be private and have accessor methods. | 1264 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 1317 | |
| design | VisibilityModifier | Variable 'cbr' must be private and have accessor methods. | 1338 | |
| design | VisibilityModifier | Variable 'nrOfJobs' must be private and have accessor methods. | 1341 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 1430 |
org/opentrafficsim/road/network/lane/object/detector/LoopDetector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 300 |
org/opentrafficsim/road/od/Category.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 130). | 113 |
