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
248 112 324 0

Files

File  I  W  E
org/opentrafficsim/graphs/ContourPlot.java 1 0 0
org/opentrafficsim/graphs/DataSampler.java 0 1 0
org/opentrafficsim/graphs/FundamentalDiagram.java 2 0 0
org/opentrafficsim/graphs/FundamentalDiagramLane.java 0 1 0
org/opentrafficsim/road/animation/AbstractSimulationScript.java 0 2 0
org/opentrafficsim/road/gtu/animation/BlockingColorer.java 0 3 0
org/opentrafficsim/road/gtu/animation/DefaultCarAnimation.java 1 1 0
org/opentrafficsim/road/gtu/animation/DesiredHeadwayColorer.java 0 2 0
org/opentrafficsim/road/gtu/animation/FixedColor.java 0 4 0
org/opentrafficsim/road/gtu/animation/GTUTypeColorer.java 0 5 0
org/opentrafficsim/road/gtu/animation/SocialPressureColorer.java 0 6 0
org/opentrafficsim/road/gtu/animation/Synchronizable.java 1 0 0
org/opentrafficsim/road/gtu/animation/SynchronizationColorer.java 0 2 0
org/opentrafficsim/road/gtu/animation/TaskSaturationColorer.java 0 3 0
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/GTUGeneratorAnimation.java 0 1 0
org/opentrafficsim/road/gtu/generator/GTUGeneratorIndividual.java 1 0 0
org/opentrafficsim/road/gtu/generator/GeneratorPositions.java 1 7 0
org/opentrafficsim/road/gtu/generator/LaneBasedGTUGenerator.java 2 5 0
org/opentrafficsim/road/gtu/generator/MarkovCorrelation.java 0 4 0
org/opentrafficsim/road/gtu/generator/Platoons.java 1 5 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/ODApplier.java 3 3 0
org/opentrafficsim/road/gtu/generator/od/ODApplierExample.java 1 4 0
org/opentrafficsim/road/gtu/lane/AbstractLaneBasedGTU.java 1 18 0
org/opentrafficsim/road/gtu/lane/AbstractLaneBasedIndividualGTU.java 1 0 0
org/opentrafficsim/road/gtu/lane/LaneBasedIndividualGTU.java 2 0 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 8 0
org/opentrafficsim/road/gtu/lane/perception/PerceptionCollectable.java 1 0 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 2 0 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/AbstractDelayedNeighborsPerception.java 1 1 0
org/opentrafficsim/road/gtu/lane/perception/categories/Anticipation.java 0 10 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 2 0
org/opentrafficsim/road/gtu/lane/perception/categories/DelayedNeighborsPerception.java 1 0 0
org/opentrafficsim/road/gtu/lane/perception/categories/DirectInfrastructurePerception.java 3 1 0
org/opentrafficsim/road/gtu/lane/perception/categories/Estimation.java 0 2 0
org/opentrafficsim/road/gtu/lane/perception/categories/HeadwayGtuType.java 0 4 0
org/opentrafficsim/road/gtu/lane/perception/categories/HistoricalNeighborsPerception.java 0 19 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 3 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 1 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 15 0
org/opentrafficsim/road/gtu/lane/plan/operational/LaneOperationalPlanBuilder.java 0 4 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 1 1 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedCFLCTacticalPlanner.java 2 3 0
org/opentrafficsim/road/gtu/lane/tactical/LaneBasedGTUFollowingDirectedChangeTacticalPlanner.java 1 0 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 2 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/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 2 0 0
org/opentrafficsim/road/gtu/lane/tactical/util/lmrs/Synchronization.java 2 1 0
org/opentrafficsim/road/gtu/strategical/od/Category.java 1 0 0
org/opentrafficsim/road/gtu/strategical/od/ODMatrix.java 1 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/animation/AbstractLineAnimation.java 1 0 0
org/opentrafficsim/road/network/animation/BusStopAnimation.java 1 0 0
org/opentrafficsim/road/network/animation/SensorAnimation.java 1 0 0
org/opentrafficsim/road/network/animation/SinkAnimation.java 1 0 0
org/opentrafficsim/road/network/animation/StripeAnimation.java 1 0 0
org/opentrafficsim/road/network/factory/LaneFactory.java 4 0 0
org/opentrafficsim/road/network/lane/CrossSectionElement.java 1 0 0
org/opentrafficsim/road/network/lane/CrossSectionLink.java 2 0 0
org/opentrafficsim/road/network/lane/DirectedLanePosition.java 0 10 0
org/opentrafficsim/road/network/lane/Lane.java 16 8 0
org/opentrafficsim/road/network/lane/LaneDirection.java 0 2 0
org/opentrafficsim/road/network/lane/Shoulder.java 1 0 0
org/opentrafficsim/road/network/lane/Stripe.java 2 0 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/Conflict.java 3 0 0
org/opentrafficsim/road/network/lane/conflict/ConflictBuilder.java 4 0 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/AbstractLaneBasedObject.java 1 0 0
org/opentrafficsim/road/network/lane/object/BusStop.java 1 0 0
org/opentrafficsim/road/network/lane/object/Distraction.java 0 3 0
org/opentrafficsim/road/network/lane/object/SpeedSign.java 3 2 0
org/opentrafficsim/road/network/lane/object/sensor/AbstractSensor.java 3 0 0
org/opentrafficsim/road/network/lane/object/sensor/Detector.java 0 13 0
org/opentrafficsim/road/network/lane/object/sensor/SinkSensor.java 2 0 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"
2  Warning
EmptyBlock 2  Warning
LeftCurly
  • option: "nl"
6  Warning
NeedBraces 8  Warning
coding InnerAssignment 2  Warning
design DesignForExtension 217  Warning
HideUtilityClassConstructor 2  Warning
VisibilityModifier 26  Warning
javadoc JavadocMethod 4  Warning
misc FinalParameters 7  Warning
TodoComment 12  Warning
modifier ModifierOrder 11  Warning
RedundantModifier 18  Warning
naming StaticVariableName 6  Warning
sizes LineLength
  • max: "128"
72  Info
MethodLength 15  Info
ParameterNumber 25  Info
whitespace WhitespaceAfter 1  Warning

Details

org/opentrafficsim/graphs/ContourPlot.java

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

org/opentrafficsim/graphs/DataSampler.java

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

org/opentrafficsim/graphs/FundamentalDiagram.java

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

org/opentrafficsim/graphs/FundamentalDiagramLane.java

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

org/opentrafficsim/road/animation/AbstractSimulationScript.java

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

org/opentrafficsim/road/gtu/animation/BlockingColorer.java

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

org/opentrafficsim/road/gtu/animation/DefaultCarAnimation.java

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

org/opentrafficsim/road/gtu/animation/DesiredHeadwayColorer.java

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

org/opentrafficsim/road/gtu/animation/FixedColor.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getColor' is not designed for extension - needs to be abstract, final or empty. 55
 Warning misc FinalParameters Parameter gtu should be final. 56
 Warning design DesignForExtension Method 'getLegend' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 69

org/opentrafficsim/road/gtu/animation/GTUTypeColorer.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'add' is not designed for extension - needs to be abstract, final or empty. 61
 Warning design DesignForExtension Method 'add' is not designed for extension - needs to be abstract, final or empty. 78
 Warning design DesignForExtension Method 'getColor' is not designed for extension - needs to be abstract, final or empty. 85
 Warning design DesignForExtension Method 'getLegend' is not designed for extension - needs to be abstract, final or empty. 103
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 117

org/opentrafficsim/road/gtu/animation/SocialPressureColorer.java

Severity Category Rule Message Line
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 30
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 33
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 36
 Warning design DesignForExtension Method 'getColor' is not designed for extension - needs to be abstract, final or empty. 47
 Warning design DesignForExtension Method 'getLegend' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 69

org/opentrafficsim/road/gtu/animation/Synchronizable.java

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

org/opentrafficsim/road/gtu/animation/SynchronizationColorer.java

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

org/opentrafficsim/road/gtu/animation/TaskSaturationColorer.java

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

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 337
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 364
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 397
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 424
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 599
 Warning design DesignForExtension Method 'getBounds' is not designed for extension - needs to be abstract, final or empty. 613
 Warning design DesignForExtension Method 'getQueueLengths' is not designed for extension - needs to be abstract, final or empty. 620

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. 40
 Warning design DesignForExtension Method 'headwayFactor' is not designed for extension - needs to be abstract, final or empty. 145

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

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

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

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

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

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'positions' must be private and have accessor methods. 419
 Warning misc FinalParameters Parameter gtuType should be final. 466
 Warning design VisibilityModifier Variable 'positions' must be private and have accessor methods. 580
 Warning modifier RedundantModifier Redundant 'public' modifier. 949
 Warning modifier RedundantModifier Redundant 'public' modifier. 959
 Warning modifier RedundantModifier Redundant 'public' modifier. 1023
 Warning modifier RedundantModifier Redundant 'public' modifier. 1037
 Info sizes LineLength Line is longer than 128 characters (found 136). 1050

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 142). 74
 Info sizes ParameterNumber More than 7 parameters (found 9). 133
 Warning design DesignForExtension Method 'setNoLaneChangeDistance' is not designed for extension - needs to be abstract, final or empty. 159
 Warning design DesignForExtension Method 'disable' is not designed for extension - needs to be abstract, final or empty. 411
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 543
 Warning design DesignForExtension Method 'getBounds' is not designed for extension - needs to be abstract, final or empty. 550
 Warning design DesignForExtension Method 'getQueueLengths' is not designed for extension - needs to be abstract, final or empty. 560

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. 138
 Warning design DesignForExtension Method 'addState' is not designed for extension - needs to be abstract, final or empty. 198
 Warning design DesignForExtension Method 'drawState' is not designed for extension - needs to be abstract, final or empty. 255
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 283

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 138). 117
 Warning design DesignForExtension Method 'addPlatoon' is not designed for extension - needs to be abstract, final or empty. 135
 Warning design DesignForExtension Method 'fixInfo' is not designed for extension - needs to be abstract, final or empty. 159
 Warning design DesignForExtension Method 'addGtu' is not designed for extension - needs to be abstract, final or empty. 175
 Warning design DesignForExtension Method 'addGtu' is not designed for extension - needs to be abstract, final or empty. 194
 Warning design DesignForExtension Method 'start' is not designed for extension - needs to be abstract, final or empty. 210

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. 81
 Warning design DesignForExtension Method 'getDestination' is not designed for extension - needs to be abstract, final or empty. 89
 Warning design DesignForExtension Method 'getVehicleModel' is not designed for extension - needs to be abstract, final or empty. 98

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

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 256 lines (max allowed is 150). 123
 Info sizes LineLength Line is longer than 128 characters (found 140). 124
 Info sizes LineLength Line is longer than 128 characters (found 133). 781
 Warning design DesignForExtension Method 'getGenerator' is not designed for extension - needs to be abstract, final or empty. 856
 Warning design DesignForExtension Method 'getHeadwayGenerator' is not designed for extension - needs to be abstract, final or empty. 865
 Warning design DesignForExtension Method 'getCharachteristicsGenerator' is not designed for extension - needs to be abstract, final or empty. 874

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

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'shortName' is not designed for extension - needs to be abstract, final or empty. 139
 Warning design DesignForExtension Method 'description' is not designed for extension - needs to be abstract, final or empty. 146
 Warning design DesignForExtension Method 'makeModel' is not designed for extension - needs to be abstract, final or empty. 160
 Warning design DesignForExtension Method 'getColorer' is not designed for extension - needs to be abstract, final or empty. 167
 Info sizes MethodLength Method length is 180 lines (max allowed is 150). 189

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

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 150
 Warning naming StaticVariableName Name 'CACHING' must match pattern '^[a-z][a-zA-Z0-9]*$'. 151
 Warning design VisibilityModifier Variable 'CACHING' must be private and have accessor methods. 151
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 154
 Warning naming StaticVariableName Name 'CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 155
 Warning design VisibilityModifier Variable 'CACHED_POSITION' must be private and have accessor methods. 155
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 158
 Warning naming StaticVariableName Name 'NON_CACHED_POSITION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 159
 Warning design VisibilityModifier Variable 'NON_CACHED_POSITION' must be private and have accessor methods. 159
 Warning design DesignForExtension Method 'setParent' is not designed for extension - needs to be abstract, final or empty. 260
 Warning design DesignForExtension Method 'reinit' is not designed for extension - needs to be abstract, final or empty. 278
 Warning design DesignForExtension Method 'addGtuToLane' is not designed for extension - needs to be abstract, final or empty. 339
 Warning design DesignForExtension Method 'changeLaneInstantaneously' is not designed for extension - needs to be abstract, final or empty. 431
 Warning coding InnerAssignment Inner assignments should be avoided. 855
 Info sizes MethodLength Method length is 163 lines (max allowed is 150). 1084
 Warning design DesignForExtension Method 'setVehicleModel' is not designed for extension - needs to be abstract, final or empty. 1318
 Warning design DesignForExtension Method 'getVehicleModel' is not designed for extension - needs to be abstract, final or empty. 1324
 Warning design DesignForExtension Method 'getDesiredSpeed' is not designed for extension - needs to be abstract, final or empty. 1404
 Warning design DesignForExtension Method 'getCarFollowingAcceleration' is not designed for extension - needs to be abstract, final or empty. 1432

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

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

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

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

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

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 modifier RedundantModifier Redundant 'public' modifier. 87
 Warning design DesignForExtension Method 'perceive' is not designed for extension - needs to be abstract, final or empty. 156

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

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

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. 169
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 179

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). 206
 Info sizes MethodLength Method length is 192 lines (max allowed is 150). 1491

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. 133
 Warning design DesignForExtension Method 'isDownstreamBranch' is not designed for extension - needs to be abstract, final or empty. 675

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

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

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

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

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'public' modifier. 23
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 23
 Warning modifier RedundantModifier Redundant 'public' modifier. 40
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Warning modifier RedundantModifier Redundant 'public' modifier. 59
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 59
 Warning modifier RedundantModifier Redundant 'public' modifier. 117
 Warning design DesignForExtension Method 'getHeadway' is not designed for extension - needs to be abstract, final or empty. 144
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 152
 Warning design DesignForExtension Method 'getAcceleration' is not designed for extension - needs to be abstract, final or empty. 160

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. 72
 Warning design DesignForExtension Method 'getDensity' is not designed for extension - needs to be abstract, final or empty. 157

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

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

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 134). 59
 Info sizes LineLength Line is longer than 128 characters (found 137). 63
 Warning design DesignForExtension Method 'updateAll' is not designed for extension - needs to be abstract, final or empty. 93
 Info sizes LineLength Line is longer than 128 characters (found 130). 489

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

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

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

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'public' modifier. 31
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 31
 Warning modifier RedundantModifier Redundant 'public' modifier. 49
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 49

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 63
 Warning javadoc JavadocMethod Missing a Javadoc comment. 68
 Warning design DesignForExtension Method 'updateAll' is not designed for extension - needs to be abstract, final or empty. 78
 Warning blocks EmptyBlock Must have at least one statement. 91
 Warning design DesignForExtension Method 'updateFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 97
 Warning design DesignForExtension Method 'updateFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 104
 Warning design DesignForExtension Method 'updateGtuAlongside' is not designed for extension - needs to be abstract, final or empty. 111
 Warning design DesignForExtension Method 'updateLeaders' is not designed for extension - needs to be abstract, final or empty. 118
 Warning design DesignForExtension Method 'updateFollowers' is not designed for extension - needs to be abstract, final or empty. 125
 Warning design DesignForExtension Method 'getFirstLeaders' is not designed for extension - needs to be abstract, final or empty. 132
 Warning misc FinalParameters Parameter lat should be final. 133
 Warning design DesignForExtension Method 'getFirstFollowers' is not designed for extension - needs to be abstract, final or empty. 140
 Warning misc FinalParameters Parameter lat should be final. 141
 Warning design DesignForExtension Method 'isGtuAlongside' is not designed for extension - needs to be abstract, final or empty. 148
 Warning misc FinalParameters Parameter lat should be final. 149
 Warning design DesignForExtension Method 'getLeaders' is not designed for extension - needs to be abstract, final or empty. 156
 Warning misc FinalParameters Parameter lane should be final. 157
 Warning design DesignForExtension Method 'getFollowers' is not designed for extension - needs to be abstract, final or empty. 163
 Warning misc FinalParameters Parameter lane should be final. 164

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. 249
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 263

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

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

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

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). 21
 Warning design DesignForExtension Method 'adapt' is not designed for extension - needs to be abstract, final or empty. 80

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. 110
 Warning design DesignForExtension Method 'removeTask' is not designed for extension - needs to be abstract, final or empty. 119
 Warning design DesignForExtension Method 'apply' is not designed for extension - needs to be abstract, final or empty. 125

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
 Info sizes LineLength Line is longer than 128 characters (found 129). 125

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. 86
 Warning design DesignForExtension Method 'stopDistraction' is not designed for extension - needs to be abstract, final or empty. 130
 Warning design DesignForExtension Method 'notify' is not designed for extension - needs to be abstract, final or empty. 156

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
 Warning modifier RedundantModifier Redundant 'public' modifier. 352
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 352
 Info sizes ParameterNumber More than 7 parameters (found 11). 355
 Warning modifier RedundantModifier Redundant 'public' modifier. 367
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 367
 Warning modifier RedundantModifier Redundant 'public' modifier. 386
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 386
 Warning modifier RedundantModifier Redundant 'public' modifier. 417
 Warning design DesignForExtension Method 'getPath' is not designed for extension - needs to be abstract, final or empty. 420
 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. 52
 Warning naming StaticVariableName Name 'INSTANT_LANE_CHANGES' must match pattern '^[a-z][a-zA-Z0-9]*$'. 56
 Warning design VisibilityModifier Variable 'INSTANT_LANE_CHANGES' must be private and have accessor methods. 56
 Warning whitespace WhitespaceAfter ';' is not followed by whitespace. 406

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

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). 305

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

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

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 177 lines (max allowed is 150). 449
 Info sizes LineLength Line is longer than 128 characters (found 133). 502
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 677

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

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

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. 38
 Warning javadoc JavadocMethod Expected @throws tag for 'ParameterException'. 104

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. 241
 Warning design DesignForExtension Method 'isBlocking' is not designed for extension - needs to be abstract, final or empty. 248

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

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

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. 256
 Warning design DesignForExtension Method 'getLength' is not designed for extension - needs to be abstract, final or empty. 263
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 270
 Warning design DesignForExtension Method 'getObjectType' is not designed for extension - needs to be abstract, final or empty. 277
 Warning design DesignForExtension Method 'getAcceleration' is not designed for extension - needs to be abstract, final or empty. 284

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]*$'. 106
 Info sizes MethodLength Method length is 173 lines (max allowed is 150). 136
 Info sizes MethodLength Method length is 170 lines (max allowed is 150). 570

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). 94
 Info sizes ParameterNumber More than 7 parameters (found 8). 183

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
 Info sizes MethodLength Method length is 196 lines (max allowed is 150). 99
 Info sizes ParameterNumber More than 7 parameters (found 9). 446

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). 190
 Info sizes ParameterNumber More than 7 parameters (found 14). 588
 Warning modifier RedundantModifier Redundant 'public' modifier. 635

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. 460
 Info sizes LineLength Line is longer than 128 characters (found 133). 669

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. 142
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 233

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

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

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

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

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

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

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

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

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

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

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

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 129). 138
 Info sizes ParameterNumber More than 7 parameters (found 8). 174
 Info sizes LineLength Line is longer than 128 characters (found 129). 176
 Info sizes LineLength Line is longer than 128 characters (found 129). 258

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

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

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

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

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
 Warning blocks NeedBraces 'if' construct must use '{}'s. 146
 Warning blocks NeedBraces 'if' construct must use '{}'s. 148
 Warning blocks NeedBraces 'if' construct must use '{}'s. 150
 Warning blocks NeedBraces 'if' construct must use '{}'s. 153
 Warning blocks NeedBraces 'if' construct must use '{}'s. 157
 Warning blocks NeedBraces 'if' construct must use '{}'s. 160
 Warning blocks NeedBraces 'if' construct must use '{}'s. 164
 Warning blocks NeedBraces 'if' construct must use '{}'s. 167

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 136). 247
 Info sizes LineLength Line is longer than 128 characters (found 136). 278
 Info sizes LineLength Line is longer than 128 characters (found 136). 304
 Info sizes LineLength Line is longer than 128 characters (found 136). 331
 Info sizes LineLength Line is longer than 128 characters (found 136). 358
 Info sizes LineLength Line is longer than 128 characters (found 136). 386
 Info sizes LineLength Line is longer than 128 characters (found 135). 398
 Info sizes LineLength Line is longer than 128 characters (found 139). 405
 Warning blocks LeftCurly '{' at column 37 should be on a new line. 429
 Warning blocks LeftCurly '{' at column 50 should be on a new line. 1105
 Warning javadoc JavadocMethod Expected @throws tag for 'GTUException'. 1136
 Warning coding InnerAssignment Inner assignments should be avoided. 1152
 Info sizes LineLength Line is longer than 128 characters (found 160). 1326
 Info sizes LineLength Line is longer than 128 characters (found 153). 1337
 Info sizes LineLength Line is longer than 128 characters (found 160). 1341
 Info sizes LineLength Line is longer than 128 characters (found 153). 1398
 Info sizes LineLength Line is longer than 128 characters (found 160). 1402
 Info sizes LineLength Line is longer than 128 characters (found 153). 1413
 Info sizes LineLength Line is longer than 128 characters (found 160). 1417
 Warning blocks LeftCurly '{' at column 46 should be on a new line. 1439
 Warning blocks LeftCurly '{' at column 44 should be on a new line. 1466
 Warning blocks LeftCurly '{' at column 76 should be on a new line. 1747
 Warning blocks LeftCurly '{' at column 80 should be on a new line. 1767
 Info sizes LineLength Line is longer than 128 characters (found 138). 1868

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

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

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 137). 101
 Info sizes LineLength Line is longer than 128 characters (found 140). 151

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

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

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 134). 143
 Info sizes LineLength Line is longer than 128 characters (found 138). 379
 Info sizes LineLength Line is longer than 128 characters (found 138). 454

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 131). 62
 Info sizes LineLength Line is longer than 128 characters (found 139). 109
 Info sizes LineLength Line is longer than 128 characters (found 139). 125
 Info sizes LineLength Line is longer than 128 characters (found 139). 459

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

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

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

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

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
 Info sizes LineLength Line is longer than 128 characters (found 139). 67
 Info sizes LineLength Line is longer than 128 characters (found 139). 98
 Info sizes LineLength Line is longer than 128 characters (found 134). 163
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 171
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 184

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 134). 62
 Info sizes LineLength Line is longer than 128 characters (found 134). 89
 Info sizes LineLength Line is longer than 128 characters (found 135). 250

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. 407
 Warning design DesignForExtension Method 'triggerResponse' is not designed for extension - needs to be abstract, final or empty. 413
 Warning design DesignForExtension Method 'accumulate' is not designed for extension - needs to be abstract, final or empty. 435
 Warning design DesignForExtension Method 'getMesoMeasurements' is not designed for extension - needs to be abstract, final or empty. 514
 Warning design DesignForExtension Method 'clone' is not designed for extension - needs to be abstract, final or empty. 529
 Warning design DesignForExtension Method 'identity' is not designed for extension - needs to be abstract, final or empty. 814
 Warning design DesignForExtension Method 'accumulateEntry' is not designed for extension - needs to be abstract, final or empty. 821
 Warning design DesignForExtension Method 'accumulateExit' is not designed for extension - needs to be abstract, final or empty. 845
 Warning design DesignForExtension Method 'isPeriodic' is not designed for extension - needs to be abstract, final or empty. 862
 Warning design DesignForExtension Method 'aggregate' is not designed for extension - needs to be abstract, final or empty. 869
 Warning design DesignForExtension Method 'getName' is not designed for extension - needs to be abstract, final or empty. 882
 Warning design DesignForExtension Method 'stringValue' is not designed for extension - needs to be abstract, final or empty. 889
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 896

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

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 140). 43
 Info sizes LineLength Line is longer than 128 characters (found 140). 95

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

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

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