Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
327 46 275 0

Files

File  I  W  E
org/opentrafficsim/road/gtu/generator/AbstractGTUGenerator.java 0 7 0
org/opentrafficsim/road/gtu/generator/CFBARoomChecker.java 0 1 0
org/opentrafficsim/road/gtu/generator/CFRoomChecker.java 0 2 0
org/opentrafficsim/road/gtu/generator/GeneratorPositions.java 1 0 0
org/opentrafficsim/road/gtu/generator/LaneBasedGTUGenerator.java 0 5 0
org/opentrafficsim/road/gtu/generator/MarkovCorrelation.java 0 4 0
org/opentrafficsim/road/gtu/generator/Platoons.java 0 1 0
org/opentrafficsim/road/gtu/generator/characteristics/LaneBasedGTUCharacteristics.java 0 3 0
org/opentrafficsim/road/gtu/generator/headway/ArrivalsHeadwayGenerator.java 0 1 0
org/opentrafficsim/road/gtu/generator/headway/DemandPattern.java 0 5 0
org/opentrafficsim/road/gtu/generator/headway/ListHeadways.java 0 1 0
org/opentrafficsim/road/gtu/generator/od/DefaultGTUCharacteristicsGeneratorOD.java 0 7 0
org/opentrafficsim/road/gtu/generator/od/ODApplier.java 1 3 0
org/opentrafficsim/road/gtu/lane/AbstractLaneBasedGTU.java 1 19 0
org/opentrafficsim/road/gtu/lane/perception/AbstractLanePerception.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/AbstractPerceptionIterable.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/AbstractPerceptionReiterable.java 0 14 0
org/opentrafficsim/road/gtu/lane/perception/DownstreamNeighborsIterable.java 1 3 0
org/opentrafficsim/road/gtu/lane/perception/InfrastructureLaneChangeInfo.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/LaneBasedObjectIterable.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/LaneDirectionRecord.java 0 6 0
org/opentrafficsim/road/gtu/lane/perception/MultiLanePerceptionIterable.java 0 7 0
org/opentrafficsim/road/gtu/lane/perception/PerceptionIterableSet.java 0 3 0
org/opentrafficsim/road/gtu/lane/perception/RelativeLane.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/RollingLaneStructure.java 1 3 0
org/opentrafficsim/road/gtu/lane/perception/RollingLaneStructureRecord.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/SortedSetPerceptionIterable.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/UpstreamNeighborsIterable.java 0 3 0
org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationDensity.java 0 7 0
org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationSpeed.java 0 3 0
org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationTrafficPerception.java 0 3 0
org/opentrafficsim/road/gtu/lane/perception/categories/DirectInfrastructurePerception.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/categories/DirectIntersectionPerception.java 1 0 0
org/opentrafficsim/road/gtu/lane/perception/categories/WienerProcess.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/AbstractDelayedNeighborsPerception.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/DelayedNeighborsPerception.java 1 0 0
org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/HistoricalNeighborsPerception.java 0 14 0
org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/NeighborsUtil.java 0 3 0
org/opentrafficsim/road/gtu/lane/perception/headway/AbstractHeadwayCopy.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/headway/AbstractHeadwayGTU.java 1 1 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayConflict.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayGTUReal.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayGTUSimple.java 2 0 0
org/opentrafficsim/road/gtu/lane/perception/headway/HeadwayGTUType.java 1 0 0
org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationHeadway.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationSituationalAwareness.java 1 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationSpeed.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/Fuller.java 0 7 0
org/opentrafficsim/road/gtu/lane/perception/mental/TaskCarFollowing.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/TaskHeadwayBased.java 0 5 0
org/opentrafficsim/road/gtu/lane/perception/mental/TaskLaneChanging.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/TaskRoadSideDistraction.java 0 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/sdm/Distraction.java 1 1 0
org/opentrafficsim/road/gtu/lane/perception/mental/sdm/StochasticDistractionModel.java 0 3 0
org/opentrafficsim/road/gtu/lane/plan/operational/LaneChange.java 4 7 0
org/opentrafficsim/road/gtu/lane/plan/operational/LaneOperationalPlanBuilder.java 0 3 0
org/opentrafficsim/road/gtu/lane/plan/operational/SimpleOperationalPlan.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/AbstractLaneBasedTacticalPlanner.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/AbstractLaneBasedTacticalPlannerFactory.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlanner.java 1 3 0
org/opentrafficsim/road/gtu/lane/tactical/directedlanechange/AbstractDirectedLaneChangeModel.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/following/AbstractIDMFactory.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/following/IDMPlusMultiFactory.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lanechangemobil/LaneChangeModel.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationConflicts.java 1 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationIncentive.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationNoRightOvertake.java 1 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationSpeedLimitTransition.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationTrafficLights.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/DefaultLMRSPerceptionFactory.java 0 2 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveBusStop.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveGetInLane.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveStayRight.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/LMRS.java 0 2 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/LMRSFactory.java 1 0 0
org/opentrafficsim/road/gtu/lane/tactical/lmrs/SocioDesiredSpeed.java 0 2 0
org/opentrafficsim/road/gtu/lane/tactical/toledo/Toledo.java 2 0 0
org/opentrafficsim/road/gtu/lane/tactical/toledo/ToledoCFTester.java 0 1 0
org/opentrafficsim/road/gtu/lane/tactical/util/CarFollowingUtil.java 0 5 0
org/opentrafficsim/road/gtu/lane/tactical/util/ConflictUtil.java 2 1 0
org/opentrafficsim/road/gtu/lane/tactical/util/Steering.java 0 20 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/GapAcceptance.java 3 0 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/LmrsData.java 0 2 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/LmrsUtil.java 1 1 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/Synchronization.java 2 0 0
org/opentrafficsim/road/gtu/strategical/od/Category.java 1 0 0
org/opentrafficsim/road/gtu/strategical/od/ODMatrix.java 0 1 0
org/opentrafficsim/road/gtu/strategical/od/SplitFraction.java 0 8 0
org/opentrafficsim/road/gtu/strategical/route/LaneBasedStrategicalRoutePlanner.java 0 2 0
org/opentrafficsim/road/gtu/strategical/route/LaneBasedStrategicalRoutePlannerFactory.java 0 1 0
org/opentrafficsim/road/network/factory/LaneFactory.java 1 0 0
org/opentrafficsim/road/network/lane/DirectedLanePosition.java 0 2 0
org/opentrafficsim/road/network/lane/Lane.java 7 4 0
org/opentrafficsim/road/network/lane/LaneDirection.java 0 2 0
org/opentrafficsim/road/network/lane/changing/OvertakingConditions.java 0 1 0
org/opentrafficsim/road/network/lane/conflict/BusStopConflictRule.java 0 1 0
org/opentrafficsim/road/network/lane/conflict/DefaultConflictRule.java 0 1 0
org/opentrafficsim/road/network/lane/conflict/SplitConflictRule.java 0 1 0
org/opentrafficsim/road/network/lane/object/Distraction.java 0 3 0
org/opentrafficsim/road/network/lane/object/SpeedSign.java 0 2 0
org/opentrafficsim/road/network/lane/object/sensor/Detector.java 0 14 0
org/opentrafficsim/road/network/lane/object/sensor/TrafficLightSensor.java 1 1 0
org/opentrafficsim/road/network/speed/SpeedLimitProspect.java 0 1 0

Rules

Category Rule Violations Severity
blocks AvoidNestedBlocks
  • allowInSwitchCase: "true"
3  Warning
EmptyBlock 1  Warning
coding InnerAssignment 2  Warning
design DesignForExtension 217  Warning
HideUtilityClassConstructor 2  Warning
VisibilityModifier 21  Warning
javadoc JavadocMethod 3  Warning
misc TodoComment 20  Warning
naming StaticVariableName 6  Warning
sizes LineLength
  • max: "128"
10  Info
MethodLength 13  Info
ParameterNumber 23  Info

Details

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 338
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 365
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 398
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 425
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 592
 Warning design DesignForExtension Method 'getBounds' is not designed for extension - needs to be abstract, final or empty. 606
 Warning design DesignForExtension Method 'getQueueLengths' is not designed for extension - needs to be abstract, final or empty. 613

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

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

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

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

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

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

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'setNoLaneChangeDistance' is not designed for extension - needs to be abstract, final or empty. 160
 Warning design DesignForExtension Method 'disable' is not designed for extension - needs to be abstract, final or empty. 442
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 576
 Warning design DesignForExtension Method 'getBounds' is not designed for extension - needs to be abstract, final or empty. 583
 Warning design DesignForExtension Method 'getQueueLengths' is not designed for extension - needs to be abstract, final or empty. 590

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'addState' is not designed for extension - needs to be abstract, final or empty. 139
 Warning design DesignForExtension Method 'addState' is not designed for extension - needs to be abstract, final or empty. 199
 Warning design DesignForExtension Method 'drawState' is not designed for extension - needs to be abstract, final or empty. 256
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 284

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

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

org/opentrafficsim/road/gtu/generator/characteristics/LaneBasedGTUCharacteristics.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getOrigin' is not designed for extension - needs to be abstract, final or empty. 82
 Warning design DesignForExtension Method 'getDestination' is not designed for extension - needs to be abstract, final or empty. 90
 Warning design DesignForExtension Method 'getVehicleModel' is not designed for extension - needs to be abstract, final or empty. 99

org/opentrafficsim/road/gtu/generator/headway/ArrivalsHeadwayGenerator.java

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

org/opentrafficsim/road/gtu/generator/headway/DemandPattern.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getFrequency' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'nextTimeSlice' is not designed for extension - needs to be abstract, final or empty. 80
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 94
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 106
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 152

org/opentrafficsim/road/gtu/generator/headway/ListHeadways.java

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

org/opentrafficsim/road/gtu/generator/od/DefaultGTUCharacteristicsGeneratorOD.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 155
 Warning design DesignForExtension Method 'setGtuTypeGenerator' is not designed for extension - needs to be abstract, final or empty. 283
 Warning design DesignForExtension Method 'setTemplates' is not designed for extension - needs to be abstract, final or empty. 293
 Warning design DesignForExtension Method 'setRouteSupplier' is not designed for extension - needs to be abstract, final or empty. 303
 Warning design DesignForExtension Method 'setFactorySupplier' is not designed for extension - needs to be abstract, final or empty. 313
 Warning design DesignForExtension Method 'setVehicleModelGenerator' is not designed for extension - needs to be abstract, final or empty. 323
 Warning design DesignForExtension Method 'create' is not designed for extension - needs to be abstract, final or empty. 333

org/opentrafficsim/road/gtu/generator/od/ODApplier.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 250 lines (max allowed is 150). 119
 Warning design DesignForExtension Method 'getGenerator' is not designed for extension - needs to be abstract, final or empty. 846
 Warning design DesignForExtension Method 'getHeadwayGenerator' is not designed for extension - needs to be abstract, final or empty. 855
 Warning design DesignForExtension Method 'getCharachteristicsGenerator' is not designed for extension - needs to be abstract, final or empty. 864

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 154
 Warning naming StaticVariableName Name 'CACHING' must match pattern '^[a-z][a-zA-Z0-9]*$'. 155
 Warning design VisibilityModifier Variable 'CACHING' must be private and have accessor methods. 155
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 158
 Warning naming StaticVariableName Name 'CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 159
 Warning design VisibilityModifier Variable 'CACHED_POSITION' must be private and have accessor methods. 159
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 162
 Warning naming StaticVariableName Name 'NON_CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 163
 Warning design VisibilityModifier Variable 'NON_CACHED_POSITION' must be private and have accessor methods. 163
 Warning design DesignForExtension Method 'setParent' is not designed for extension - needs to be abstract, final or empty. 266
 Warning design DesignForExtension Method 'reinit' is not designed for extension - needs to be abstract, final or empty. 284
 Warning design DesignForExtension Method 'addGtuToLane' is not designed for extension - needs to be abstract, final or empty. 345
 Warning design DesignForExtension Method 'changeLaneInstantaneously' is not designed for extension - needs to be abstract, final or empty. 437
 Warning design DesignForExtension Method 'setFinalizeLaneChangeEvent' is not designed for extension - needs to be abstract, final or empty. 694
 Warning coding InnerAssignment Inner assignments should be avoided. 934
 Info sizes MethodLength Method length is 172 lines (max allowed is 150). 1215
 Warning design DesignForExtension Method 'setVehicleModel' is not designed for extension - needs to be abstract, final or empty. 1458
 Warning design DesignForExtension Method 'getVehicleModel' is not designed for extension - needs to be abstract, final or empty. 1464
 Warning design DesignForExtension Method 'getDesiredSpeed' is not designed for extension - needs to be abstract, final or empty. 1548
 Warning design DesignForExtension Method 'getCarFollowingAcceleration' is not designed for extension - needs to be abstract, final or empty. 1576

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

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

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

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

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

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'first' must be private and have accessor methods. 34
 Warning design VisibilityModifier Variable 'last' must be private and have accessor methods. 37
 Warning design VisibilityModifier Variable 'gtu' must be private and have accessor methods. 43
 Warning design VisibilityModifier Variable 'lastReturned' must be private and have accessor methods. 183
 Warning design VisibilityModifier Variable 'next' must be private and have accessor methods. 186
 Warning design DesignForExtension Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. 195
 Warning design DesignForExtension Method 'next' is not designed for extension - needs to be abstract, final or empty. 203
 Warning design DesignForExtension Method 'assureNext' is not designed for extension - needs to be abstract, final or empty. 225
 Warning design VisibilityModifier Variable 'object' must be private and have accessor methods. 257
 Warning design VisibilityModifier Variable 'distance' must be private and have accessor methods. 260
 Warning design DesignForExtension Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. 274
 Warning design VisibilityModifier Variable 'object' must be private and have accessor methods. 296
 Warning design VisibilityModifier Variable 'distance' must be private and have accessor methods. 299
 Warning design VisibilityModifier Variable 'next' must be private and have accessor methods. 305

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

Severity Category Rule Message Line
 Info sizes ParameterNumber More than 7 parameters (found 9). 80
 Warning design DesignForExtension Method 'getNext' is not designed for extension - needs to be abstract, final or empty. 95
 Warning design DesignForExtension Method 'getDistance' is not designed for extension - needs to be abstract, final or empty. 143
 Warning design DesignForExtension Method 'perceive' is not designed for extension - needs to be abstract, final or empty. 150

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

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

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

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

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getNext' is not designed for extension - needs to be abstract, final or empty. 63
 Warning design DesignForExtension Method 'getPrev' is not designed for extension - needs to be abstract, final or empty. 80
 Warning design DesignForExtension Method 'getStartDistance' is not designed for extension - needs to be abstract, final or empty. 96
 Warning design DesignForExtension Method 'getLength' is not designed for extension - needs to be abstract, final or empty. 103
 Warning design DesignForExtension Method 'getDirection' is not designed for extension - needs to be abstract, final or empty. 110
 Warning design DesignForExtension Method 'getLane' is not designed for extension - needs to be abstract, final or empty. 117

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

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'iterators' must be private and have accessor methods. 33
 Warning design VisibilityModifier Variable 'laneMap' must be private and have accessor methods. 36
 Warning design VisibilityModifier Variable 'iterables' must be private and have accessor methods. 39
 Warning design DesignForExtension Method 'addIterable' is not designed for extension - needs to be abstract, final or empty. 55
 Warning design DesignForExtension Method 'primaryIterator' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design VisibilityModifier Variable 'elements' must be private and have accessor methods. 84
 Warning design DesignForExtension Method 'perceive' is not designed for extension - needs to be abstract, final or empty. 156

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

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

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

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

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

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 178 lines (max allowed is 150). 189
 Warning design DesignForExtension Method 'getCrossSectionRecords' is not designed for extension - needs to be abstract, final or empty. 1490
 Warning design DesignForExtension Method 'getUpstreamEdge' is not designed for extension - needs to be abstract, final or empty. 1499
 Warning design DesignForExtension Method 'getDownstreamEdge' is not designed for extension - needs to be abstract, final or empty. 1508

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

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

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

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

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getNext' is not designed for extension - needs to be abstract, final or empty. 60
 Warning design DesignForExtension Method 'getDistance' is not designed for extension - needs to be abstract, final or empty. 107
 Warning design DesignForExtension Method 'perceive' is not designed for extension - needs to be abstract, final or empty. 114

org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationDensity.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getIdentity' is not designed for extension - needs to be abstract, final or empty. 29
 Warning design DesignForExtension Method 'getAccumulator' is not designed for extension - needs to be abstract, final or empty. 44
 Warning design DesignForExtension Method 'getFinalizer' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design DesignForExtension Method 'getCount' is not designed for extension - needs to be abstract, final or empty. 100
 Warning design DesignForExtension Method 'increaseCount' is not designed for extension - needs to be abstract, final or empty. 108
 Warning design DesignForExtension Method 'getDistance' is not designed for extension - needs to be abstract, final or empty. 116
 Warning design DesignForExtension Method 'setDistance' is not designed for extension - needs to be abstract, final or empty. 124

org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationSpeed.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getIdentity' is not designed for extension - needs to be abstract, final or empty. 54
 Warning design DesignForExtension Method 'getAccumulator' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'getFinalizer' is not designed for extension - needs to be abstract, final or empty. 134

org/opentrafficsim/road/gtu/lane/perception/categories/AnticipationTrafficPerception.java

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

org/opentrafficsim/road/gtu/lane/perception/categories/DirectInfrastructurePerception.java

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

org/opentrafficsim/road/gtu/lane/perception/categories/DirectIntersectionPerception.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 152 lines (max allowed is 150). 132

org/opentrafficsim/road/gtu/lane/perception/categories/WienerProcess.java

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

org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/AbstractDelayedNeighborsPerception.java

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

org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/DelayedNeighborsPerception.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 216 lines (max allowed is 150). 125

org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/HistoricalNeighborsPerception.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 64
 Warning javadoc JavadocMethod Missing a Javadoc comment. 69
 Warning design DesignForExtension Method 'updateAll' is not designed for extension - needs to be abstract, final or empty. 79
 Warning blocks EmptyBlock Must have at least one statement. 92
 Warning design DesignForExtension Method 'updateFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 98
 Warning design DesignForExtension Method 'updateFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 105
 Warning design DesignForExtension Method 'updateGtuAlongside' is not designed for extension - needs to be abstract, final or empty. 112
 Warning design DesignForExtension Method 'updateLeaders' is not designed for extension - needs to be abstract, final or empty. 119
 Warning design DesignForExtension Method 'updateFollowers' is not designed for extension - needs to be abstract, final or empty. 126
 Warning design DesignForExtension Method 'getFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 133
 Warning design DesignForExtension Method 'getFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 141
 Warning design DesignForExtension Method 'isGtuAlongside' is not designed for extension - needs to be abstract, final or empty. 149
 Warning design DesignForExtension Method 'getLeaders' is not designed for extension - needs to be abstract, final or empty. 157
 Warning design DesignForExtension Method 'getFollowers' is not designed for extension - needs to be abstract, final or empty. 164

org/opentrafficsim/road/gtu/lane/perception/categories/neighbors/NeighborsUtil.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGTU' is not designed for extension - needs to be abstract, final or empty. 263
 Warning design DesignForExtension Method 'getDistance' is not designed for extension - needs to be abstract, final or empty. 272
 Warning design DesignForExtension Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. 278

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

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

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

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

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

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

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

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

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

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

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

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

org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationHeadway.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationSituationalAwareness.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 20
 Warning design DesignForExtension Method 'adapt' is not designed for extension - needs to be abstract, final or empty. 79

org/opentrafficsim/road/gtu/lane/perception/mental/AdaptationSpeed.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/Fuller.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'addTask' is not designed for extension - needs to be abstract, final or empty. 115
 Warning design DesignForExtension Method 'removeTask' is not designed for extension - needs to be abstract, final or empty. 124
 Warning design DesignForExtension Method 'getTasks' is not designed for extension - needs to be abstract, final or empty. 133
 Warning design DesignForExtension Method 'apply' is not designed for extension - needs to be abstract, final or empty. 139
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 164
 Warning design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 300
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 307

org/opentrafficsim/road/gtu/lane/perception/mental/TaskCarFollowing.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/TaskHeadwayBased.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'demand' is not designed for extension - needs to be abstract, final or empty. 39
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design DesignForExtension Method 'getIdentity' is not designed for extension - needs to be abstract, final or empty. 106
 Warning design DesignForExtension Method 'getAccumulator' is not designed for extension - needs to be abstract, final or empty. 120
 Warning design DesignForExtension Method 'getFinalizer' is not designed for extension - needs to be abstract, final or empty. 138

org/opentrafficsim/road/gtu/lane/perception/mental/TaskLaneChanging.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/TaskRoadSideDistraction.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/sdm/Distraction.java

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

org/opentrafficsim/road/gtu/lane/perception/mental/sdm/StochasticDistractionModel.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'startDistraction' is not designed for extension - needs to be abstract, final or empty. 87
 Warning design DesignForExtension Method 'stopDistraction' is not designed for extension - needs to be abstract, final or empty. 131
 Warning design DesignForExtension Method 'notify' is not designed for extension - needs to be abstract, final or empty. 157

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

Severity Category Rule Message Line
 Warning naming StaticVariableName Name 'MIN_LC_LENGTH_FACTOR' must match pattern '^[a-z][a-zA-Z0-9]*$'. 69
 Warning design VisibilityModifier Variable 'MIN_LC_LENGTH_FACTOR' must be private and have accessor methods. 69
 Warning design DesignForExtension Method 'setDesiredLaneChangeDuration' is not designed for extension - needs to be abstract, final or empty. 75
 Warning design DesignForExtension Method 'setBoundary' is not designed for extension - needs to be abstract, final or empty. 86
 Warning design DesignForExtension Method 'getFraction' is not designed for extension - needs to be abstract, final or empty. 95
 Warning design DesignForExtension Method 'setLaneChangePath' is not designed for extension - needs to be abstract, final or empty. 104
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 331
 Info sizes ParameterNumber More than 7 parameters (found 11). 355
 Info sizes ParameterNumber More than 7 parameters (found 11). 421
 Info sizes ParameterNumber More than 7 parameters (found 11). 452
 Info sizes ParameterNumber More than 7 parameters (found 11). 543

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

Severity Category Rule Message Line
 Warning design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 54
 Warning naming StaticVariableName Name 'INSTANT_LANE_CHANGES' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
 Warning design VisibilityModifier Variable 'INSTANT_LANE_CHANGES' must be private and have accessor methods. 58

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

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

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

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 201 lines (max allowed is 150). 304

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

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

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 239
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 385
 Info sizes MethodLength Method length is 178 lines (max allowed is 150). 449
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 678

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/AbstractIDMFactory.java

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

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

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

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/lmrs/AccelerationConflicts.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationIncentive.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationNoRightOvertake.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationSpeedLimitTransition.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/AccelerationTrafficLights.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/DefaultLMRSPerceptionFactory.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveBusStop.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveGetInLane.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/IncentiveStayRight.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/LMRS.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/LMRSFactory.java

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

org/opentrafficsim/road/gtu/lane/tactical/lmrs/SocioDesiredSpeed.java

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

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

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 188 lines (max allowed is 150). 95
 Info sizes MethodLength Method length is 165 lines (max allowed is 150). 297

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. 30

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 255
 Warning design DesignForExtension Method 'getLength' is not designed for extension - needs to be abstract, final or empty. 262
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 269
 Warning design DesignForExtension Method 'getObjectType' is not designed for extension - needs to be abstract, final or empty. 276
 Warning design DesignForExtension Method 'getAcceleration' is not designed for extension - needs to be abstract, final or empty. 283

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

Severity Category Rule Message Line
 Warning naming StaticVariableName Name 'CROSSSTANDING' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
 Info sizes MethodLength Method length is 173 lines (max allowed is 150). 135
 Info sizes MethodLength Method length is 170 lines (max allowed is 150). 569

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 109
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 136
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 140
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 157
 Warning design DesignForExtension Method 'getSteeringAngle' is not designed for extension - needs to be abstract, final or empty. 194
 Warning design DesignForExtension Method 'setSteeringAngle' is not designed for extension - needs to be abstract, final or empty. 202
 Warning design DesignForExtension Method 'getAngularError' is not designed for extension - needs to be abstract, final or empty. 210
 Warning design DesignForExtension Method 'setAngularError' is not designed for extension - needs to be abstract, final or empty. 218
 Warning design DesignForExtension Method 'getAngularErrorDerivative' is not designed for extension - needs to be abstract, final or empty. 226
 Warning design DesignForExtension Method 'setAngularErrorDerivative' is not designed for extension - needs to be abstract, final or empty. 234
 Warning design DesignForExtension Method 'getPositionError' is not designed for extension - needs to be abstract, final or empty. 242
 Warning design DesignForExtension Method 'setPositionError' is not designed for extension - needs to be abstract, final or empty. 250
 Warning design DesignForExtension Method 'getPositionErrorDerivative' is not designed for extension - needs to be abstract, final or empty. 258
 Warning design DesignForExtension Method 'setPositionErrorDerivative' is not designed for extension - needs to be abstract, final or empty. 266
 Warning design DesignForExtension Method 'getAngularErrorFeedback' is not designed for extension - needs to be abstract, final or empty. 306
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 373
 Warning design DesignForExtension Method 'getAngularErrorFeedback' is not designed for extension - needs to be abstract, final or empty. 381
 Warning design DesignForExtension Method 'getAngularErrorDerivateFeedback' is not designed for extension - needs to be abstract, final or empty. 389
 Warning design DesignForExtension Method 'getPositionErrorFeedback' is not designed for extension - needs to be abstract, final or empty. 397
 Warning design DesignForExtension Method 'getPositionErrorDerivativeFeedback' is not designed for extension - needs to be abstract, final or empty. 405

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

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

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

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'desireMap' must be private and have accessor methods. 47
 Warning design VisibilityModifier Variable 'synchronizationState' must be private and have accessor methods. 50

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 107
 Info sizes ParameterNumber More than 7 parameters (found 9). 444

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

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 196 lines (max allowed is 150). 265
 Info sizes ParameterNumber More than 7 parameters (found 14). 672

org/opentrafficsim/road/gtu/strategical/od/Category.java

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

org/opentrafficsim/road/gtu/strategical/od/ODMatrix.java

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

org/opentrafficsim/road/gtu/strategical/od/SplitFraction.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'addFraction' is not designed for extension - needs to be abstract, final or empty. 74
 Warning design DesignForExtension Method 'addFraction' is not designed for extension - needs to be abstract, final or empty. 85
 Warning design DesignForExtension Method 'addFraction' is not designed for extension - needs to be abstract, final or empty. 111
 Warning design DesignForExtension Method 'addFraction' is not designed for extension - needs to be abstract, final or empty. 123
 Warning design DesignForExtension Method 'draw' is not designed for extension - needs to be abstract, final or empty. 158
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 226
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 237
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 279

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getTacticalPlanner' is not designed for extension - needs to be abstract, final or empty. 141
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 232

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

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

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

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

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

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

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 970
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 992
 Warning javadoc JavadocMethod Expected @throws tag for 'GTUException'. 1156
 Warning coding InnerAssignment Inner assignments should be avoided. 1172
 Info sizes LineLength Line is longer than 128 characters (found 160). 1347
 Info sizes LineLength Line is longer than 128 characters (found 153). 1358
 Info sizes LineLength Line is longer than 128 characters (found 162). 1363
 Info sizes LineLength Line is longer than 128 characters (found 153). 1421
 Info sizes LineLength Line is longer than 128 characters (found 162). 1426
 Info sizes LineLength Line is longer than 128 characters (found 172). 1437
 Info sizes LineLength Line is longer than 128 characters (found 160). 1441

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

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

org/opentrafficsim/road/network/lane/changing/OvertakingConditions.java

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

org/opentrafficsim/road/network/lane/conflict/BusStopConflictRule.java

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

org/opentrafficsim/road/network/lane/conflict/DefaultConflictRule.java

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

org/opentrafficsim/road/network/lane/conflict/SplitConflictRule.java

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

org/opentrafficsim/road/network/lane/object/Distraction.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'clone' is not designed for extension - needs to be abstract, final or empty. 49
 Warning design DesignForExtension Method 'getDistraction' is not designed for extension - needs to be abstract, final or empty. 61
 Warning design DesignForExtension Method 'getDistraction' is not designed for extension - needs to be abstract, final or empty. 134

org/opentrafficsim/road/network/lane/object/SpeedSign.java

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

org/opentrafficsim/road/network/lane/object/sensor/Detector.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getLength' is not designed for extension - needs to be abstract, final or empty. 403
 Warning design DesignForExtension Method 'triggerResponse' is not designed for extension - needs to be abstract, final or empty. 409
 Warning design DesignForExtension Method 'accumulate' is not designed for extension - needs to be abstract, final or empty. 431
 Warning design DesignForExtension Method 'getLastFlow' is not designed for extension - needs to be abstract, final or empty. 481
 Warning design DesignForExtension Method 'getLastValue' is not designed for extension - needs to be abstract, final or empty. 492
 Warning design DesignForExtension Method 'clone' is not designed for extension - needs to be abstract, final or empty. 547
 Warning design DesignForExtension Method 'identity' is not designed for extension - needs to be abstract, final or empty. 832
 Warning design DesignForExtension Method 'accumulateEntry' is not designed for extension - needs to be abstract, final or empty. 839
 Warning design DesignForExtension Method 'accumulateExit' is not designed for extension - needs to be abstract, final or empty. 863
 Warning design DesignForExtension Method 'isPeriodic' is not designed for extension - needs to be abstract, final or empty. 880
 Warning design DesignForExtension Method 'aggregate' is not designed for extension - needs to be abstract, final or empty. 887
 Warning design DesignForExtension Method 'getName' is not designed for extension - needs to be abstract, final or empty. 900
 Warning design DesignForExtension Method 'stringValue' is not designed for extension - needs to be abstract, final or empty. 907
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 914

org/opentrafficsim/road/network/lane/object/sensor/TrafficLightSensor.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 185 lines (max allowed is 150). 258
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 330

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

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