Checkstyle Results

The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
257 39 264 0

Files

File  I  W  E
org/opentrafficsim/graphs/ContourPlot.java 1 0 0
org/opentrafficsim/graphs/DataSampler.java 0 6 0
org/opentrafficsim/graphs/FundamentalDiagram.java 1 0 0
org/opentrafficsim/graphs/FundamentalDiagramLane.java 0 1 0
org/opentrafficsim/graphs/TrajectoryPlot.java 0 1 0
org/opentrafficsim/road/gtu/generator/AbstractGTUGenerator.java 0 5 0
org/opentrafficsim/road/gtu/generator/DualHeadwaySpaceChecker.java 0 1 0
org/opentrafficsim/road/gtu/generator/LaneBasedGTUGenerator.java 1 15 0
org/opentrafficsim/road/gtu/generator/ListGTUGenerator.java 1 1 0
org/opentrafficsim/road/gtu/generator/SpaceChecker.java 0 1 0
org/opentrafficsim/road/gtu/lane/AbstractLaneBasedGTU.java 1 4 0
org/opentrafficsim/road/gtu/lane/LaneBasedIndividualGTU.java 1 0 0
org/opentrafficsim/road/gtu/lane/object/AbstractCSEObject.java 0 1 0
org/opentrafficsim/road/gtu/lane/object/LaneBlock.java 0 1 0
org/opentrafficsim/road/gtu/lane/object/LaneBlockOnOff.java 0 3 0
org/opentrafficsim/road/gtu/lane/object/animation/CSEBlockAnimation.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/AbstractLanePerception.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/PerceivedObjectType.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/headway/AbstractHeadwayGTU.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayConflict.java 2 0 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayGTUReal.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayObject.java 1 0 0
org/opentrafficsim/road/gtu/lane/perception/headway/package-info.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/package-info.java 0 1 0
org/opentrafficsim/road/gtu/lane/perceptionold/AbstractLanePerception.java 0 52 0
org/opentrafficsim/road/gtu/lane/perceptionold/LanePerception.java 4 0 0
org/opentrafficsim/road/gtu/lane/perceptionold/LanePerceptionNone.java 0 4 0
org/opentrafficsim/road/gtu/lane/perceptionold/package-info.java 0 1 0
org/opentrafficsim/road/gtu/lane/plan/operational/LaneBasedOperationalPlan.java 1 2 0
org/opentrafficsim/road/gtu/lane/plan/operational/LaneOperationalPlanBuilder.java 4 0 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlanner.java 2 3 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlannerFactory.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingChange0TacticalPlanner.java 1 3 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingLaneChangeTacticalPlanner.java 2 2 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingTacticalPlanner.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/directedlanechange/AbstractDirectedLaneChangeModel.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/following/AbstractGTUFollowingModelMobil.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/following/AbstractIDM.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/following/AccelerationStep.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/following/IDMOld.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/following/IDMPlusOld.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/fourwaystop/package-info.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lanechangemobil/LaneChangeModel.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/toledo/Toledo.java 5 0 0
org/opentrafficsim/road/gtu/lane/tactical/toledo/ToledoCFTester.java 0 4 0
org/opentrafficsim/road/gtu/lane/tactical/toledo/package-info.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/util/ConflictUtil.java 2 0 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/LmrsUtil.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/package-info.java 0 1 0
org/opentrafficsim/road/gtu/strategical/LaneBasedStrategicalPlannerNone.java 0 18 0
org/opentrafficsim/road/gtu/strategical/route/LaneBasedStrategicalRoutePlanner.java 0 6 0
org/opentrafficsim/road/network/animation/LaneAnimation.java 1 0 0
org/opentrafficsim/road/network/factory/CoordinateTransformLonLatToXY.java 0 12 0
org/opentrafficsim/road/network/factory/LaneFactory.java 1 0 0
org/opentrafficsim/road/network/factory/Test.java 0 1 0
org/opentrafficsim/road/network/factory/xml/BezierTag.java 0 1 0
org/opentrafficsim/road/network/factory/xml/GeneratorTag.java 0 1 0
org/opentrafficsim/road/network/factory/xml/LinkTag.java 0 23 0
org/opentrafficsim/road/network/factory/xml/PolyLineTag.java 0 2 0
org/opentrafficsim/road/network/factory/xml/XmlNetworkLaneParser.java 0 1 0
org/opentrafficsim/road/network/factory/xml/units/LaneAttributes.java 1 0 0
org/opentrafficsim/road/network/lane/DirectedLanePosition.java 0 12 0
org/opentrafficsim/road/network/lane/Lane.java 0 2 0
org/opentrafficsim/road/network/lane/LaneDirection.java 0 1 0
org/opentrafficsim/road/network/lane/SimpleReportingSensor.java 0 2 0
org/opentrafficsim/road/network/lane/SinkSensor.java 0 2 0
org/opentrafficsim/road/network/speed/SpeedLimitProspect.java 1 0 0
org/opentrafficsim/road/test/FourStop.java 0 1 0
org/opentrafficsim/road/test/LMRSTests.java 0 2 0
org/opentrafficsim/road/test/TestGMParser.java 0 41 0
org/opentrafficsim/road/test/TestLaneDirections.java 0 1 0
org/opentrafficsim/road/test/TestNetwork2.java 0 2 0
org/opentrafficsim/road/test/TestTransform.java 0 1 0
org/opentrafficsim/road/test/TestXMLParserXStream.java 1 2 0

Rules

Category Rule Violations Severity
blocks AvoidNestedBlocks
  • allowInSwitchCase: "true"
2  Warning
EmptyBlock 6  Warning
LeftCurly
  • maxLineLength: "128"
  • option: "nl"
22  Warning
NeedBraces 8  Warning
RightCurly
  • tokens: "LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE"
  • option: "alone"
1  Warning
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
design DesignForExtension 74  Warning
HideUtilityClassConstructor 2  Warning
VisibilityModifier 12  Warning
imports UnusedImports 16  Warning
javadoc JavadocMethod 7  Warning
JavadocPackage 1  Info
JavadocVariable 9  Warning
misc ArrayTypeStyle 2  Warning
FinalParameters 65  Warning
NewlineAtEndOfFile
  • fileExtensions: "java"
  • lineSeparator: "crlf"
7  Warning
TodoComment 12  Warning
modifier RedundantModifier 2  Warning
naming ConstantName 4  Warning
LocalVariableName 6  Warning
ParameterName 2  Warning
sizes LineLength
  • max: "128"
23  Info
MethodLength 8  Info
ParameterNumber 7  Info
whitespace FileTabCharacter 1  Warning
MethodParamPad 1  Warning
NoWhitespaceBefore 1  Warning

Details

org/opentrafficsim/graphs/ContourPlot.java

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 9). 131

org/opentrafficsim/graphs/DataSampler.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.
 Warning javadoc JavadocVariable Missing a Javadoc comment. 30
 Warning javadoc JavadocVariable Missing a Javadoc comment. 32
 Warning javadoc JavadocVariable Missing a Javadoc comment. 34
 Warning blocks EmptyBlock Must have at least one statement. 68
 Warning whitespace NoWhitespaceBefore ';' is preceded with whitespace. 74

org/opentrafficsim/graphs/FundamentalDiagram.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 581

org/opentrafficsim/graphs/FundamentalDiagramLane.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'flow' must be private and have accessor methods. 137

org/opentrafficsim/graphs/TrajectoryPlot.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 744

org/opentrafficsim/road/gtu/generator/AbstractGTUGenerator.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.road.gtu.lane.perception.LanePerception. 32
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 309
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 337
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 370
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 398

org/opentrafficsim/road/gtu/generator/DualHeadwaySpaceChecker.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'checkEnoughSpace' is not designed for extension - needs to be abstract, final or empty. 19

org/opentrafficsim/road/gtu/generator/LaneBasedGTUGenerator.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'reTryInterval' must be private and have accessor methods. 76
 Warning design VisibilityModifier Variable 'initialLongitudinalPositions' must be private and have accessor methods. 79
 Warning design VisibilityModifier Variable 'roomChecker' must be private and have accessor methods. 82
 Warning design VisibilityModifier Variable 'gtuColorer' must be private and have accessor methods. 85
 Info sizes ParameterNumber More than 7 parameters (found 10). 105
 Warning misc FinalParameters Parameter id should be final. 105
 Warning misc FinalParameters Parameter roomChecker should be final. 108
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 253
 Warning design DesignForExtension Method 'getGeneratedGTUs' is not designed for extension - needs to be abstract, final or empty. 261
 Warning design DesignForExtension Method 'setGeneratedGTUs' is not designed for extension - needs to be abstract, final or empty. 269
 Warning misc FinalParameters Parameter generatedGTUs should be final. 269
 Warning design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 278
 Warning design DesignForExtension Method 'getEndTime' is not designed for extension - needs to be abstract, final or empty. 287
 Warning design DesignForExtension Method 'getMaxGTUs' is not designed for extension - needs to be abstract, final or empty. 296
 Warning design DesignForExtension Method 'getGtuColorer' is not designed for extension - needs to be abstract, final or empty. 305
 Warning modifier RedundantModifier Redundant 'public' modifier. 327

org/opentrafficsim/road/gtu/generator/ListGTUGenerator.java

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 11). 101
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 191

org/opentrafficsim/road/gtu/generator/SpaceChecker.java

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'public' modifier. 24

org/opentrafficsim/road/gtu/lane/AbstractLaneBasedGTU.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 163
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 304
 Info sizes MethodLength Method length is 157 lines (max allowed is 150). 503
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 855
 Warning blocks EmptyBlock Must have at least one statement. 887

org/opentrafficsim/road/gtu/lane/LaneBasedIndividualGTU.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 487

org/opentrafficsim/road/gtu/lane/object/AbstractCSEObject.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 46

org/opentrafficsim/road/gtu/lane/object/LaneBlock.java

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 57

org/opentrafficsim/road/gtu/lane/object/LaneBlockOnOff.java

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 59
 Warning design DesignForExtension Method 'changeColorTime' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 88

org/opentrafficsim/road/gtu/lane/object/animation/CSEBlockAnimation.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter fillColor should be final. 77

org/opentrafficsim/road/gtu/lane/perception/AbstractLanePerception.java

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 74
 Warning blocks EmptyBlock Must have at least one statement. 79

org/opentrafficsim/road/gtu/lane/perception/PerceivedObjectType.java

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 25
 Warning javadoc JavadocVariable Missing a Javadoc comment. 27

org/opentrafficsim/road/gtu/lane/perception/headway/AbstractHeadwayGTU.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.Throw. 8

org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayConflict.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 287
 Info sizes LineLength Line is longer than 128 characters (found 131). 310

org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayGTUReal.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.djunits.value.vdouble.scalar.Acceleration. 3
 Warning imports UnusedImports Unused import - org.djunits.value.vdouble.scalar.Speed. 5

org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayObject.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 136). 86

org/opentrafficsim/road/gtu/lane/perception/headway/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/lane/perception/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/lane/perceptionold/AbstractLanePerception.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 964
 Warning misc FinalParameters Parameter lat should be final. 965
 Warning design DesignForExtension Method 'getFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 979
 Warning misc FinalParameters Parameter lat should be final. 980
 Warning design DesignForExtension Method 'existsGtuAlongside' is not designed for extension - needs to be abstract, final or empty. 994
 Warning misc FinalParameters Parameter lat should be final. 995
 Warning design DesignForExtension Method 'getLeaders' is not designed for extension - needs to be abstract, final or empty. 1008
 Warning misc FinalParameters Parameter lane should be final. 1009
 Warning design DesignForExtension Method 'getFollowers' is not designed for extension - needs to be abstract, final or empty. 1033
 Warning misc FinalParameters Parameter lane should be final. 1034
 Warning design DesignForExtension Method 'getInfrastructureLaneChangeInfo' is not designed for extension - needs to be abstract, final or empty. 1058
 Warning misc FinalParameters Parameter lane should be final. 1059
 Warning design DesignForExtension Method 'getSplitNumber' is not designed for extension - needs to be abstract, final or empty. 1065
 Warning misc FinalParameters Parameter info should be final. 1066
 Warning design DesignForExtension Method 'getSpeedLimitProspect' is not designed for extension - needs to be abstract, final or empty. 1072
 Warning misc FinalParameters Parameter lane should be final. 1073
 Warning design DesignForExtension Method 'getLegalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. 1082
 Warning misc FinalParameters Parameter fromLane should be final. 1083
 Warning misc FinalParameters Parameter lat should be final. 1083
 Warning design DesignForExtension Method 'getPhysicalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. 1089
 Warning misc FinalParameters Parameter fromLane should be final. 1090
 Warning misc FinalParameters Parameter lat should be final. 1090
 Warning design DesignForExtension Method 'getCurrentCrossSection' is not designed for extension - needs to be abstract, final or empty. 1096
 Warning design DesignForExtension Method 'getTrafficLights' is not designed for extension - needs to be abstract, final or empty. 1103
 Warning design DesignForExtension Method 'getIntersectionConflicts' is not designed for extension - needs to be abstract, final or empty. 1110
 Warning misc FinalParameters Parameter lane should be final. 1111
 Warning design DesignForExtension Method 'getTimeStampedFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 1117
 Warning misc FinalParameters Parameter lat should be final. 1118
 Warning design DesignForExtension Method 'getTimeStampedFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 1124
 Warning misc FinalParameters Parameter lat should be final. 1125
 Warning design DesignForExtension Method 'existsGtuAlongsideTimeStamped' is not designed for extension - needs to be abstract, final or empty. 1131
 Warning misc FinalParameters Parameter lat should be final. 1132
 Warning design DesignForExtension Method 'getTimeStampedLeaders' is not designed for extension - needs to be abstract, final or empty. 1138
 Warning misc FinalParameters Parameter lane should be final. 1139
 Warning design DesignForExtension Method 'getTimeStampedFollowers' is not designed for extension - needs to be abstract, final or empty. 1145
 Warning misc FinalParameters Parameter lane should be final. 1146
 Warning design DesignForExtension Method 'getTimeStampedInfrastructureLaneChangeInfo' is not designed for extension - needs to be abstract, final or empty. 1152
 Warning misc FinalParameters Parameter lane should be final. 1154
 Warning design DesignForExtension Method 'getTimeStampedSplitNumber' is not designed for extension - needs to be abstract, final or empty. 1160
 Warning misc FinalParameters Parameter info should be final. 1161
 Warning design DesignForExtension Method 'getTimeStampedSpeedLimitProspect' is not designed for extension - needs to be abstract, final or empty. 1167
 Warning misc FinalParameters Parameter lane should be final. 1168
 Warning design DesignForExtension Method 'getTimeStampedLegalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. 1174
 Warning misc FinalParameters Parameter fromLane should be final. 1175
 Warning misc FinalParameters Parameter lat should be final. 1175
 Warning design DesignForExtension Method 'getTimeStampedPhysicalLaneChangePossibility' is not designed for extension - needs to be abstract, final or empty. 1181
 Warning misc FinalParameters Parameter fromLane should be final. 1182
 Warning misc FinalParameters Parameter lat should be final. 1183
 Warning design DesignForExtension Method 'getTimeStampedCurrentCrossSection' is not designed for extension - needs to be abstract, final or empty. 1189
 Warning design DesignForExtension Method 'getTimeStampedTrafficLights' is not designed for extension - needs to be abstract, final or empty. 1196
 Warning design DesignForExtension Method 'getTimeStampedIntersectionConflicts' is not designed for extension - needs to be abstract, final or empty. 1203
 Warning misc FinalParameters Parameter lane should be final. 1204

org/opentrafficsim/road/gtu/lane/perceptionold/LanePerception.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 130). 574
 Info sizes LineLength Line is longer than 128 characters (found 131). 590
 Info sizes LineLength Line is longer than 128 characters (found 134). 613
 Info sizes LineLength Line is longer than 128 characters (found 135). 619

org/opentrafficsim/road/gtu/lane/perceptionold/LanePerceptionNone.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Collection. 3
 Warning imports UnusedImports Unused import - java.util.HashSet. 4
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.gtu.perception.TimeStampedObject. 8
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.perception.PerceivedObject. 10

org/opentrafficsim/road/gtu/lane/perceptionold/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/lane/plan/operational/LaneBasedOperationalPlan.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter operationalPlanSegmentList should be final. 53
 Info sizes LineLength Line is longer than 128 characters (found 137). 69
 Warning design DesignForExtension Method 'isLaneChange' is not designed for extension - needs to be abstract, final or empty. 82

org/opentrafficsim/road/gtu/lane/plan/operational/LaneOperationalPlanBuilder.java

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 9). 80
 Info sizes ParameterNumber More than 7 parameters (found 9). 196
 Info sizes LineLength Line is longer than 128 characters (found 131). 420
 Info sizes LineLength Line is longer than 128 characters (found 131). 733

org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlanner.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 201 lines (max allowed is 150). 105
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 311
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 479
 Info sizes MethodLength Method length is 169 lines (max allowed is 150). 605
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 823

org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlannerFactory.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 135). 27

org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingChange0TacticalPlanner.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getCarFollowingModelOld' is not designed for extension - needs to be abstract, final or empty. 102
 Warning design DesignForExtension Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. 108
 Info sizes MethodLength Method length is 176 lines (max allowed is 150). 108
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 171

org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingLaneChangeTacticalPlanner.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. 119
 Info sizes MethodLength Method length is 152 lines (max allowed is 150). 119
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 178
 Info sizes MethodLength Method length is 164 lines (max allowed is 150). 368

org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingTacticalPlanner.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'generateOperationalPlan' is not designed for extension - needs to be abstract, final or empty. 57

org/opentrafficsim/road/gtu/lane/tactical/directedlanechange/AbstractDirectedLaneChangeModel.java

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 9). 58

org/opentrafficsim/road/gtu/lane/tactical/following/AbstractGTUFollowingModelMobil.java

Severity Category Rule Message Line
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 77

org/opentrafficsim/road/gtu/lane/tactical/following/AbstractIDM.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 44

org/opentrafficsim/road/gtu/lane/tactical/following/AccelerationStep.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'duration' must be private and have accessor methods. 33

org/opentrafficsim/road/gtu/lane/tactical/following/IDMOld.java

Severity Category Rule Message Line
 Warning coding HiddenField 'stepSize' hides a field. 107

org/opentrafficsim/road/gtu/lane/tactical/following/IDMPlusOld.java

Severity Category Rule Message Line
 Warning coding HiddenField 'stepSize' hides a field. 114

org/opentrafficsim/road/gtu/lane/tactical/fourwaystop/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/lane/tactical/lanechangemobil/LaneChangeModel.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 15

org/opentrafficsim/road/gtu/lane/tactical/toledo/Toledo.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 214 lines (max allowed is 150). 91
 Info sizes MethodLength Method length is 175 lines (max allowed is 150). 319
 Info sizes LineLength Line is longer than 128 characters (found 131). 842
 Info sizes LineLength Line is longer than 128 characters (found 131). 865
 Info sizes LineLength Line is longer than 128 characters (found 131). 950

org/opentrafficsim/road/gtu/lane/tactical/toledo/ToledoCFTester.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 28
 Warning misc FinalParameters Parameter args should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'args'. 35
 Warning javadoc JavadocMethod Expected @throws tag for 'ParameterException'. 35

org/opentrafficsim/road/gtu/lane/tactical/toledo/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/lane/tactical/util/ConflictUtil.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 551
 Info sizes LineLength Line is longer than 128 characters (found 131). 715

org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/LmrsUtil.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 534

org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline.

org/opentrafficsim/road/gtu/strategical/LaneBasedStrategicalPlannerNone.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'generateTacticalPlanner' is not designed for extension - needs to be abstract, final or empty. 42
 Warning design DesignForExtension Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. 49
 Warning misc FinalParameters Parameter link should be final. 50
 Warning misc FinalParameters Parameter direction should be final. 50
 Warning misc FinalParameters Parameter gtuType should be final. 50
 Warning design DesignForExtension Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. 56
 Warning misc FinalParameters Parameter link should be final. 57
 Warning misc FinalParameters Parameter direction should be final. 57
 Warning misc FinalParameters Parameter gtuType should be final. 57
 Warning design DesignForExtension Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. 64
 Warning misc FinalParameters Parameter node should be final. 65
 Warning misc FinalParameters Parameter previousLink should be final. 65
 Warning misc FinalParameters Parameter gtuType should be final. 65
 Warning design DesignForExtension Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. 71
 Warning misc FinalParameters Parameter node should be final. 72
 Warning misc FinalParameters Parameter previousLink should be final. 72
 Warning misc FinalParameters Parameter gtuType should be final. 72
 Warning design DesignForExtension Method 'getRoute' is not designed for extension - needs to be abstract, final or empty. 78

org/opentrafficsim/road/gtu/strategical/route/LaneBasedStrategicalRoutePlanner.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.gtu.GTU. 8
 Warning design DesignForExtension Method 'generateTacticalPlanner' is not designed for extension - needs to be abstract, final or empty. 82
 Warning design DesignForExtension Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. 89
 Warning design DesignForExtension Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. 97
 Warning design DesignForExtension Method 'nextNode' is not designed for extension - needs to be abstract, final or empty. 106
 Warning design DesignForExtension Method 'nextLinkDirection' is not designed for extension - needs to be abstract, final or empty. 114

org/opentrafficsim/road/network/animation/LaneAnimation.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 141). 87

org/opentrafficsim/road/network/factory/CoordinateTransformLonLatToXY.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'Re' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 41
 Warning naming ConstantName Name 'Rp' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 44
 Warning design DesignForExtension Method 'floatTransform' is not designed for extension - needs to be abstract, final or empty. 63
 Warning misc FinalParameters Parameter lon should be final. 64
 Warning misc FinalParameters Parameter lat should be final. 64
 Warning design DesignForExtension Method 'doubleTransformWSG84toCartesianXY' is not designed for extension - needs to be abstract, final or empty. 76
 Warning misc FinalParameters Parameter lon should be final. 76
 Warning misc FinalParameters Parameter lat should be final. 76
 Warning design DesignForExtension Method 'doubleTransform' is not designed for extension - needs to be abstract, final or empty. 96
 Warning javadoc JavadocMethod Missing a Javadoc comment. 96
 Warning misc FinalParameters Parameter lon should be final. 96
 Warning misc FinalParameters Parameter lat should be final. 96

org/opentrafficsim/road/network/factory/LaneFactory.java

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 8). 174

org/opentrafficsim/road/network/factory/Test.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter args should be final. 21

org/opentrafficsim/road/network/factory/xml/BezierTag.java

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 16

org/opentrafficsim/road/network/factory/xml/GeneratorTag.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'gtuDirection' must be private and have accessor methods. 60

org/opentrafficsim/road/network/factory/xml/LinkTag.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' should be on a new line. 34
 Warning blocks LeftCurly '{' should be on a new line. 139
 Warning blocks LeftCurly '{' should be on a new line. 140
 Warning blocks LeftCurly '{' should be on a new line. 229
 Warning blocks LeftCurly '{' should be on a new line. 234
 Warning blocks LeftCurly '{' should be on a new line. 239
 Warning blocks LeftCurly '{' should be on a new line. 244
 Warning blocks LeftCurly '{' should be on a new line. 249
 Warning blocks LeftCurly '{' should be on a new line. 254
 Warning blocks LeftCurly '{' should be on a new line. 259
 Warning blocks LeftCurly '{' should be on a new line. 264
 Warning blocks LeftCurly '{' should be on a new line. 279
 Warning blocks LeftCurly '{' should be on a new line. 280
 Warning blocks LeftCurly '{' should be on a new line. 286
 Warning blocks LeftCurly '{' should be on a new line. 290
 Warning blocks LeftCurly '{' should be on a new line. 292
 Warning blocks LeftCurly '{' should be on a new line. 294
 Warning blocks RightCurly '}' should be alone on a line. 299
 Warning blocks LeftCurly '{' should be on a new line. 299
 Warning blocks LeftCurly '{' should be on a new line. 305
 Warning blocks LeftCurly '{' should be on a new line. 308
 Warning blocks LeftCurly '{' should be on a new line. 316
 Warning blocks LeftCurly '{' should be on a new line. 325

org/opentrafficsim/road/network/factory/xml/PolyLineTag.java

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 32
 Warning design VisibilityModifier Variable 'coordinates' must be private and have accessor methods. 32

org/opentrafficsim/road/network/factory/xml/XmlNetworkLaneParser.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 219

org/opentrafficsim/road/network/factory/xml/units/LaneAttributes.java

Severity Category Rule Message Line
 Info javadoc JavadocPackage Missing package-info.java file.

org/opentrafficsim/road/network/lane/DirectedLanePosition.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 81
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 93
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 105
 Warning blocks NeedBraces 'if' construct must use '{}'s. 108
 Warning blocks NeedBraces 'if' construct must use '{}'s. 110
 Warning blocks NeedBraces 'if' construct must use '{}'s. 112
 Warning blocks NeedBraces 'if' construct must use '{}'s. 115
 Warning blocks NeedBraces 'if' construct must use '{}'s. 119
 Warning blocks NeedBraces 'if' construct must use '{}'s. 122
 Warning blocks NeedBraces 'if' construct must use '{}'s. 126
 Warning blocks NeedBraces 'if' construct must use '{}'s. 129
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 135

org/opentrafficsim/road/network/lane/Lane.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'addDirectionality' is not designed for extension - needs to be abstract, final or empty. 1118
 Warning design DesignForExtension Method 'removeDirectionality' is not designed for extension - needs to be abstract, final or empty. 1131

org/opentrafficsim/road/network/lane/LaneDirection.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 56

org/opentrafficsim/road/network/lane/SimpleReportingSensor.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'trigger' is not designed for extension - needs to be abstract, final or empty. 53
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 60

org/opentrafficsim/road/network/lane/SinkSensor.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'trigger' is not designed for extension - needs to be abstract, final or empty. 48
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 55

org/opentrafficsim/road/network/speed/SpeedLimitProspect.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 334

org/opentrafficsim/road/test/FourStop.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 119

org/opentrafficsim/road/test/LMRSTests.java

Severity Category Rule Message Line
 Warning whitespace FileTabCharacter File contains tab characters (this is the first instance). 63
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 119

org/opentrafficsim/road/test/TestGMParser.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics. 47
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.gtu.plan.tactical.TacticalPlanner. 48
 Warning imports UnusedImports Unused import - org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlanner. 54
 Warning imports UnusedImports Unused import - org.opentrafficsim.road.gtu.lane.tactical.following.GTUFollowingModelOld. 56
 Warning imports UnusedImports Unused import - org.opentrafficsim.road.gtu.strategical.route.LaneBasedStrategicalRoutePlanner. 60
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 156
 Warning naming LocalVariableName Name 'L2a' must match pattern '^[a-z][a-zA-Z0-9]*$'. 233
 Warning naming LocalVariableName Name 'L2a_A2' must match pattern '^[a-z][a-zA-Z0-9]*$'. 234
 Warning naming LocalVariableName Name 'L2a_A3' must match pattern '^[a-z][a-zA-Z0-9]*$'. 235
 Warning naming LocalVariableName Name 'L49b' must match pattern '^[a-z][a-zA-Z0-9]*$'. 245
 Warning naming LocalVariableName Name 'L49b_A1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 246
 Warning naming LocalVariableName Name 'L49b_A2' must match pattern '^[a-z][a-zA-Z0-9]*$'. 247
 Warning design VisibilityModifier Variable 'dx' must be private and have accessor methods. 284
 Warning design VisibilityModifier Variable 'dy' must be private and have accessor methods. 287
 Warning misc FinalParameters Parameter x should be final. 301
 Warning misc FinalParameters Parameter y should be final. 301
 Warning misc FinalParameters Parameter x should be final. 309
 Warning misc FinalParameters Parameter y should be final. 309
 Warning javadoc JavadocVariable Missing a Javadoc comment. 347
 Warning naming ConstantName Name 'r' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 347
 Warning misc ArrayTypeStyle Array brackets at illegal position. 347
 Warning javadoc JavadocVariable Missing a Javadoc comment. 353
 Warning naming ConstantName Name 's' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 353
 Warning misc ArrayTypeStyle Array brackets at illegal position. 353
 Warning javadoc JavadocMethod Missing a Javadoc comment. 361
 Warning misc FinalParameters Parameter srcPts should be final. 361
 Warning misc FinalParameters Parameter srcOff should be final. 361
 Warning misc FinalParameters Parameter dstPts should be final. 361
 Warning misc FinalParameters Parameter dstOff should be final. 361
 Warning misc FinalParameters Parameter numPts should be final. 361
 Warning javadoc JavadocMethod Missing a Javadoc comment. 372
 Warning misc FinalParameters Parameter EW should be final. 372
 Warning naming ParameterName Name 'EW' must match pattern '^[a-z][a-zA-Z0-9]*$'. 372
 Warning misc FinalParameters Parameter NS should be final. 372
 Warning naming ParameterName Name 'NS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 372
 Warning javadoc JavadocVariable Missing a Javadoc comment. 408
 Warning design VisibilityModifier Variable 'x' must be private and have accessor methods. 408
 Warning design VisibilityModifier Variable 'y' must be private and have accessor methods. 408
 Warning javadoc JavadocMethod Missing a Javadoc comment. 410
 Warning misc FinalParameters Parameter x should be final. 410
 Warning misc FinalParameters Parameter y should be final. 410

org/opentrafficsim/road/test/TestLaneDirections.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 117

org/opentrafficsim/road/test/TestNetwork2.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.Throw. 22
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 118

org/opentrafficsim/road/test/TestTransform.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter args should be final. 34

org/opentrafficsim/road/test/TestXMLParserXStream.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.simulationengine.WrappableAnimation. 40
 Warning javadoc JavadocMethod Missing a Javadoc comment. 199
 Info sizes LineLength Line is longer than 128 characters (found 133). 205