The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | AvoidNestedBlocks
|
2 | ![]() |
EmptyBlock | 6 | ![]() | |
LeftCurly
|
22 | ![]() | |
NeedBraces | 8 | ![]() | |
RightCurly
|
1 | ![]() | |
coding | HiddenField
|
2 | ![]() |
design | DesignForExtension | 74 | ![]() |
HideUtilityClassConstructor | 2 | ![]() | |
VisibilityModifier | 12 | ![]() | |
imports | UnusedImports | 16 | ![]() |
javadoc | JavadocMethod | 7 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocVariable | 9 | ![]() | |
misc | ArrayTypeStyle | 2 | ![]() |
FinalParameters | 65 | ![]() | |
NewlineAtEndOfFile
|
7 | ![]() | |
TodoComment | 12 | ![]() | |
modifier | RedundantModifier | 2 | ![]() |
naming | ConstantName | 4 | ![]() |
LocalVariableName | 6 | ![]() | |
ParameterName | 2 | ![]() | |
sizes | LineLength
|
23 | ![]() |
MethodLength | 8 | ![]() | |
ParameterNumber | 7 | ![]() | |
whitespace | FileTabCharacter | 1 | ![]() |
MethodParamPad | 1 | ![]() | |
NoWhitespaceBefore | 1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 131 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 30 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 68 |
![]() |
whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 74 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 581 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'flow' must be private and have accessor methods. | 137 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 744 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.perception.LanePerception. | 32 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 309 |
![]() |
blocks | AvoidNestedBlocks | Avoid nested blocks. | 337 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 370 |
![]() |
blocks | AvoidNestedBlocks | Avoid nested blocks. | 398 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'checkEnoughSpace' is not designed for extension - needs to be abstract, final or empty. | 19 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'reTryInterval' must be private and have accessor methods. | 76 |
![]() |
design | VisibilityModifier | Variable 'initialLongitudinalPositions' must be private and have accessor methods. | 79 |
![]() |
design | VisibilityModifier | Variable 'roomChecker' must be private and have accessor methods. | 82 |
![]() |
design | VisibilityModifier | Variable 'gtuColorer' must be private and have accessor methods. | 85 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 10). | 105 |
![]() |
misc | FinalParameters | Parameter id should be final. | 105 |
![]() |
misc | FinalParameters | Parameter roomChecker should be final. | 108 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 253 |
![]() |
design | DesignForExtension | Method 'getGeneratedGTUs' is not designed for extension - needs to be abstract, final or empty. | 261 |
![]() |
design | DesignForExtension | Method 'setGeneratedGTUs' is not designed for extension - needs to be abstract, final or empty. | 269 |
![]() |
misc | FinalParameters | Parameter generatedGTUs should be final. | 269 |
![]() |
design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 278 |
![]() |
design | DesignForExtension | Method 'getEndTime' is not designed for extension - needs to be abstract, final or empty. | 287 |
![]() |
design | DesignForExtension | Method 'getMaxGTUs' is not designed for extension - needs to be abstract, final or empty. | 296 |
![]() |
design | DesignForExtension | Method 'getGtuColorer' is not designed for extension - needs to be abstract, final or empty. | 305 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 327 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | ParameterNumber | More than 7 parameters (found 11). | 101 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 191 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 24 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 163 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 304 |
![]() |
sizes | MethodLength | Method length is 157 lines (max allowed is 150). | 503 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 855 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 887 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 487 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 46 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | EmptyBlock | Must have at least one statement. | 57 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | EmptyBlock | Must have at least one statement. | 59 |
![]() |
design | DesignForExtension | Method 'changeColorTime' is not designed for extension - needs to be abstract, final or empty. | 73 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 88 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter fillColor should be final. | 77 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | EmptyBlock | Must have at least one statement. | 74 |
![]() |
blocks | EmptyBlock | Must have at least one statement. | 79 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 27 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.Throw. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 287 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 310 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.Acceleration. | 3 |
![]() |
imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.Speed. | 5 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 136). | 86 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'getFirstLeaders' is not designed for extension - needs to be abstract, final or empty. | 964 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 965 |
![]() |
design | DesignForExtension | Method 'getFirstFollowers' is not designed for extension - needs to be abstract, final or empty. | 979 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 980 |
![]() |
design | DesignForExtension | Method 'existsGtuAlongside' is not designed for extension - needs to be abstract, final or empty. | 994 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 995 |
![]() |
design | DesignForExtension | Method 'getLeaders' is not designed for extension - needs to be abstract, final or empty. | 1008 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1009 |
![]() |
design | DesignForExtension | Method 'getFollowers' is not designed for extension - needs to be abstract, final or empty. | 1033 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1034 |
![]() |
design | DesignForExtension | Method 'getInfrastructureLaneChangeInfo' is not designed for extension - needs to be abstract, final or empty. | 1058 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1059 |
![]() |
design | DesignForExtension | Method 'getSplitNumber' is not designed for extension - needs to be abstract, final or empty. | 1065 |
![]() |
misc | FinalParameters | Parameter info should be final. | 1066 |
![]() |
design | DesignForExtension | Method 'getSpeedLimitProspect' is not designed for extension - needs to be abstract, final or empty. | 1072 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1073 |
![]() |
design | DesignForExtension | Method 'getLegalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. | 1082 |
![]() |
misc | FinalParameters | Parameter fromLane should be final. | 1083 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1083 |
![]() |
design | DesignForExtension | Method 'getPhysicalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. | 1089 |
![]() |
misc | FinalParameters | Parameter fromLane should be final. | 1090 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1090 |
![]() |
design | DesignForExtension | Method 'getCurrentCrossSection' is not designed for extension - needs to be abstract, final or empty. | 1096 |
![]() |
design | DesignForExtension | Method 'getTrafficLights' is not designed for extension - needs to be abstract, final or empty. | 1103 |
![]() |
design | DesignForExtension | Method 'getIntersectionConflicts' is not designed for extension - needs to be abstract, final or empty. | 1110 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1111 |
![]() |
design | DesignForExtension | Method 'getTimeStampedFirstLeaders' is not designed for extension - needs to be abstract, final or empty. | 1117 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1118 |
![]() |
design | DesignForExtension | Method 'getTimeStampedFirstFollowers' is not designed for extension - needs to be abstract, final or empty. | 1124 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1125 |
![]() |
design | DesignForExtension | Method 'existsGtuAlongsideTimeStamped' is not designed for extension - needs to be abstract, final or empty. | 1131 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1132 |
![]() |
design | DesignForExtension | Method 'getTimeStampedLeaders' is not designed for extension - needs to be abstract, final or empty. | 1138 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1139 |
![]() |
design | DesignForExtension | Method 'getTimeStampedFollowers' is not designed for extension - needs to be abstract, final or empty. | 1145 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1146 |
![]() |
design | DesignForExtension | Method 'getTimeStampedInfrastructureLaneChangeInfo' is not designed for extension - needs to be abstract, final or empty. | 1152 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1154 |
![]() |
design | DesignForExtension | Method 'getTimeStampedSplitNumber' is not designed for extension - needs to be abstract, final or empty. | 1160 |
![]() |
misc | FinalParameters | Parameter info should be final. | 1161 |
![]() |
design | DesignForExtension | Method 'getTimeStampedSpeedLimitProspect' is not designed for extension - needs to be abstract, final or empty. | 1167 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1168 |
![]() |
design | DesignForExtension | Method 'getTimeStampedLegalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. | 1174 |
![]() |
misc | FinalParameters | Parameter fromLane should be final. | 1175 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1175 |
![]() |
design | DesignForExtension | Method 'getTimeStampedPhysicalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. | 1181 |
![]() |
misc | FinalParameters | Parameter fromLane should be final. | 1182 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 1183 |
![]() |
design | DesignForExtension | Method 'getTimeStampedCurrentCrossSection' is not designed for extension - needs to be abstract, final or empty. | 1189 |
![]() |
design | DesignForExtension | Method 'getTimeStampedTrafficLights' is not designed for extension - needs to be abstract, final or empty. | 1196 |
![]() |
design | DesignForExtension | Method 'getTimeStampedIntersectionConflicts' is not designed for extension - needs to be abstract, final or empty. | 1203 |
![]() |
misc | FinalParameters | Parameter lane should be final. | 1204 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 574 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 590 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 613 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 619 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.util.Collection. | 3 |
![]() |
imports | UnusedImports | Unused import - java.util.HashSet. | 4 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.perception.TimeStampedObject. | 8 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.perception.PerceivedObject. | 10 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter operationalPlanSegmentList should be final. | 53 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 137). | 69 |
![]() |
design | DesignForExtension | Method 'isLaneChange' is not designed for extension - needs to be abstract, final or empty. | 82 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 80 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 196 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 420 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 733 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 201 lines (max allowed is 150). | 105 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 311 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 479 |
![]() |
sizes | MethodLength | Method length is 169 lines (max allowed is 150). | 605 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 823 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 27 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'getCarFollowingModelOld' is not designed for extension - needs to be abstract, final or empty. | 102 |
![]() |
design | DesignForExtension | Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. | 108 |
![]() |
sizes | MethodLength | Method length is 176 lines (max allowed is 150). | 108 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 171 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. | 119 |
![]() |
sizes | MethodLength | Method length is 152 lines (max allowed is 150). | 119 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 178 |
![]() |
sizes | MethodLength | Method length is 164 lines (max allowed is 150). | 368 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. | 57 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 58 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 77 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 44 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'duration' must be private and have accessor methods. | 33 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | HiddenField | 'stepSize' hides a field. | 107 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | HiddenField | 'stepSize' hides a field. | 114 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 15 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | MethodLength | Method length is 214 lines (max allowed is 150). | 91 |
![]() |
sizes | MethodLength | Method length is 175 lines (max allowed is 150). | 319 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 842 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 865 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 950 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 28 |
![]() |
misc | FinalParameters | Parameter args should be final. | 35 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'args'. | 35 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'ParameterException'. | 35 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 551 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 715 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 534 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'generateTacticalPlanner' is not designed for extension - needs to be abstract, final or empty. | 42 |
![]() |
design | DesignForExtension | Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. | 49 |
![]() |
misc | FinalParameters | Parameter link should be final. | 50 |
![]() |
misc | FinalParameters | Parameter direction should be final. | 50 |
![]() |
misc | FinalParameters | Parameter gtuType should be final. | 50 |
![]() |
design | DesignForExtension | Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. | 56 |
![]() |
misc | FinalParameters | Parameter link should be final. | 57 |
![]() |
misc | FinalParameters | Parameter direction should be final. | 57 |
![]() |
misc | FinalParameters | Parameter gtuType should be final. | 57 |
![]() |
design | DesignForExtension | Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. | 64 |
![]() |
misc | FinalParameters | Parameter node should be final. | 65 |
![]() |
misc | FinalParameters | Parameter previousLink should be final. | 65 |
![]() |
misc | FinalParameters | Parameter gtuType should be final. | 65 |
![]() |
design | DesignForExtension | Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. | 71 |
![]() |
misc | FinalParameters | Parameter node should be final. | 72 |
![]() |
misc | FinalParameters | Parameter previousLink should be final. | 72 |
![]() |
misc | FinalParameters | Parameter gtuType should be final. | 72 |
![]() |
design | DesignForExtension | Method 'getRoute' is not designed for extension - needs to be abstract, final or empty. | 78 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.GTU. | 8 |
![]() |
design | DesignForExtension | Method 'generateTacticalPlanner' is not designed for extension - needs to be abstract, final or empty. | 82 |
![]() |
design | DesignForExtension | Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. | 89 |
![]() |
design | DesignForExtension | Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. | 97 |
![]() |
design | DesignForExtension | Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. | 106 |
![]() |
design | DesignForExtension | Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. | 114 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 141). | 87 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | ConstantName | Name 'Re' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41 |
![]() |
naming | ConstantName | Name 'Rp' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 44 |
![]() |
design | DesignForExtension | Method 'floatTransform' is not designed for extension - needs to be abstract, final or empty. | 63 |
![]() |
misc | FinalParameters | Parameter lon should be final. | 64 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 64 |
![]() |
design | DesignForExtension | Method 'doubleTransformWSG84toCartesianXY' is not designed for extension - needs to be abstract, final or empty. | 76 |
![]() |
misc | FinalParameters | Parameter lon should be final. | 76 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 76 |
![]() |
design | DesignForExtension | Method 'doubleTransform' is not designed for extension - needs to be abstract, final or empty. | 96 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
![]() |
misc | FinalParameters | Parameter lon should be final. | 96 |
![]() |
misc | FinalParameters | Parameter lat should be final. | 96 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 174 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter args should be final. | 21 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 16 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'gtuDirection' must be private and have accessor methods. | 60 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | LeftCurly | '{' should be on a new line. | 34 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 139 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 140 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 229 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 234 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 239 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 244 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 249 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 254 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 259 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 264 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 279 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 280 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 286 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 290 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 292 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 294 |
![]() |
blocks | RightCurly | '}' should be alone on a line. | 299 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 299 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 305 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 308 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 316 |
![]() |
blocks | LeftCurly | '{' should be on a new line. | 325 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
design | VisibilityModifier | Variable 'coordinates' must be private and have accessor methods. | 32 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 219 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. | 81 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 93 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 105 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 108 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 110 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 112 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 115 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 119 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 122 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 126 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 129 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 135 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'addDirectionality' is not designed for extension - needs to be abstract, final or empty. | 1118 |
![]() |
design | DesignForExtension | Method 'removeDirectionality' is not designed for extension - needs to be abstract, final or empty. | 1131 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'trigger' is not designed for extension - needs to be abstract, final or empty. | 53 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 60 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'trigger' is not designed for extension - needs to be abstract, final or empty. | 48 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 55 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 334 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 119 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 63 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 119 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics. | 47 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.gtu.plan.tactical.TacticalPlanner. | 48 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlanner. | 54 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.lane.tactical.following.GTUFollowingModelOld. | 56 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.road.gtu.strategical.route.LaneBasedStrategicalRoutePlanner. | 60 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 156 |
![]() |
naming | LocalVariableName | Name 'L2a' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 233 |
![]() |
naming | LocalVariableName | Name 'L2a_A2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 234 |
![]() |
naming | LocalVariableName | Name 'L2a_A3' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 235 |
![]() |
naming | LocalVariableName | Name 'L49b' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 245 |
![]() |
naming | LocalVariableName | Name 'L49b_A1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 246 |
![]() |
naming | LocalVariableName | Name 'L49b_A2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 247 |
![]() |
design | VisibilityModifier | Variable 'dx' must be private and have accessor methods. | 284 |
![]() |
design | VisibilityModifier | Variable 'dy' must be private and have accessor methods. | 287 |
![]() |
misc | FinalParameters | Parameter x should be final. | 301 |
![]() |
misc | FinalParameters | Parameter y should be final. | 301 |
![]() |
misc | FinalParameters | Parameter x should be final. | 309 |
![]() |
misc | FinalParameters | Parameter y should be final. | 309 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 347 |
![]() |
naming | ConstantName | Name 'r' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 347 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 347 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 353 |
![]() |
naming | ConstantName | Name 's' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 353 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 353 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 361 |
![]() |
misc | FinalParameters | Parameter srcPts should be final. | 361 |
![]() |
misc | FinalParameters | Parameter srcOff should be final. | 361 |
![]() |
misc | FinalParameters | Parameter dstPts should be final. | 361 |
![]() |
misc | FinalParameters | Parameter dstOff should be final. | 361 |
![]() |
misc | FinalParameters | Parameter numPts should be final. | 361 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 372 |
![]() |
misc | FinalParameters | Parameter EW should be final. | 372 |
![]() |
naming | ParameterName | Name 'EW' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 372 |
![]() |
misc | FinalParameters | Parameter NS should be final. | 372 |
![]() |
naming | ParameterName | Name 'NS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 372 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 408 |
![]() |
design | VisibilityModifier | Variable 'x' must be private and have accessor methods. | 408 |
![]() |
design | VisibilityModifier | Variable 'y' must be private and have accessor methods. | 408 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 410 |
![]() |
misc | FinalParameters | Parameter x should be final. | 410 |
![]() |
misc | FinalParameters | Parameter y should be final. | 410 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 117 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.core.Throw. | 22 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 118 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter args should be final. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.simulationengine.WrappableAnimation. | 40 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 199 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 133). | 205 |