Checkstyle Results
The following document contains the results of Checkstyle 12.1.0 with config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 326 | 8 | 45 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField
|
1 | |
| InnerAssignment | 1 | ||
| design | VisibilityModifier | 4 | |
| imports | UnusedImports | 1 | |
| javadoc | SummaryJavadoc | 16 | |
| misc | TodoComment | 20 | |
| modifier | RedundantModifier | 2 | |
| sizes | LineLength
|
4 | |
| MethodLength | 1 | ||
| ParameterNumber | 3 |
Details
org/opentrafficsim/road/gtu/LaneBasedGtu.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 245 | |
| sizes | LineLength | Line is longer than 128 characters (found 130). | 1037 |
org/opentrafficsim/road/gtu/control/DelayedActuation.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 43 |
org/opentrafficsim/road/gtu/generator/Platoons.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 321 |
org/opentrafficsim/road/gtu/perception/FilteredIterable.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 49 |
org/opentrafficsim/road/gtu/perception/mental/AdaptationSituationalAwareness.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 130). | 21 |
org/opentrafficsim/road/gtu/perception/mental/Fuller.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 148). | 48 |
org/opentrafficsim/road/gtu/perception/mental/sdm/Distraction.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 57 |
org/opentrafficsim/road/gtu/tactical/lmrs/AccelerationNoSlowLaneOvertake.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 62 |
org/opentrafficsim/road/gtu/tactical/lmrs/IncentiveQueue.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 72 |
org/opentrafficsim/road/gtu/tactical/lmrs/IncentiveSpeed.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 49 |
org/opentrafficsim/road/gtu/tactical/lmrs/Lmrs.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 107 |
org/opentrafficsim/road/gtu/tactical/pt/BusSchedule.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 212 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 224 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 232 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 240 |
org/opentrafficsim/road/gtu/tactical/util/ConflictUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 713 | |
| coding | HiddenField | 'zipGtuId' hides a field. | 1107 |
org/opentrafficsim/road/gtu/tactical/util/lmrs/Cooperation.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 96 |
org/opentrafficsim/road/gtu/tactical/util/lmrs/LmrsUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 426 |
org/opentrafficsim/road/gtu/tactical/util/lmrs/Synchronization.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method synchronize length is 179 lines (max allowed is 150). | 181 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 186 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 187 | |
| sizes | ParameterNumber | More than 7 parameters (found 13). | 511 |
org/opentrafficsim/road/gtu/tactical/util/lmrs/Tailgating.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 180 |
org/opentrafficsim/road/network/Lane.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | InnerAssignment | Inner assignments should be avoided. | 834 |
org/opentrafficsim/road/network/LaneGeometryUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 76 |
org/opentrafficsim/road/network/RoadNetwork.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 171 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 353 |
org/opentrafficsim/road/network/conflict/Conflict.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 650 |
org/opentrafficsim/road/network/conflict/ConflictBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - ch.qos.logback.classic.Level. | 33 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 278 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 503 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 610 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 696 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 708 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 716 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 724 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 1242 | |
| 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/control/rampmetering/CycleTimeLightController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 153 |
org/opentrafficsim/road/network/object/detector/LoopDetector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 302 |
org/opentrafficsim/road/network/sampling/RoadSampler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 290 |
org/opentrafficsim/road/od/Categorization.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 33 | |
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 86 |
org/opentrafficsim/road/od/Category.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | Summary javadoc is missing. | 32 | |
| sizes | LineLength | Line is longer than 128 characters (found 130). | 113 |
org/opentrafficsim/road/od/OdMatrix.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 805 |
