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
64 1 112 0

Files

File  I  W  E
org/opentrafficsim/draw/core/BoundsPaintScale.java 0 2 0
org/opentrafficsim/draw/core/OTSDrawingException.java 0 2 0
org/opentrafficsim/draw/factory/DefaultAnimationFactory.java 0 5 0
org/opentrafficsim/draw/graphs/AbstractBoundedPlot.java 0 7 0
org/opentrafficsim/draw/graphs/AbstractContourPlot.java 1 4 0
org/opentrafficsim/draw/graphs/AbstractPlot.java 0 4 0
org/opentrafficsim/draw/graphs/AbstractSamplerPlot.java 0 1 0
org/opentrafficsim/draw/graphs/AbstractSpaceTimePlot.java 0 3 0
org/opentrafficsim/draw/graphs/ContourDataSource.java 0 5 0
org/opentrafficsim/draw/graphs/ContourPlotAcceleration.java 0 5 0
org/opentrafficsim/draw/graphs/ContourPlotDensity.java 0 5 0
org/opentrafficsim/draw/graphs/ContourPlotFlow.java 0 5 0
org/opentrafficsim/draw/graphs/ContourPlotSpeed.java 0 5 0
org/opentrafficsim/draw/graphs/FundamentalDiagram.java 0 15 0
org/opentrafficsim/draw/graphs/GraphCrossSection.java 0 5 0
org/opentrafficsim/draw/graphs/GraphPath.java 0 5 0
org/opentrafficsim/draw/graphs/GraphUpdater.java 0 1 0
org/opentrafficsim/draw/graphs/JFileChooserWithSettings.java 0 1 0
org/opentrafficsim/draw/graphs/PointerHandler.java 0 2 0
org/opentrafficsim/draw/graphs/TrajectoryPlot.java 0 14 0
org/opentrafficsim/draw/graphs/XYInterpolatedBlockRenderer.java 0 4 0
org/opentrafficsim/draw/graphs/road/ContourPlotDelay.java 0 4 0
org/opentrafficsim/draw/gtu/DefaultCarAnimation.java 0 2 0
org/opentrafficsim/draw/gtu/GTUGeneratorAnimation.java 0 2 0
org/opentrafficsim/draw/lane/LaneStructureAnimation.java 0 1 0
org/opentrafficsim/draw/lane/LaneStructureLocatable.java 0 3 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1  Warning
design DesignForExtension 108  Warning
misc FinalParameters 3  Warning
sizes ParameterNumber 1  Info

Details

org/opentrafficsim/draw/core/BoundsPaintScale.java

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

org/opentrafficsim/draw/core/OTSDrawingException.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter message should be final. 42
 Warning misc FinalParameters Parameter cause should be final. 42

org/opentrafficsim/draw/factory/DefaultAnimationFactory.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'notify' is not designed for extension - needs to be abstract, final or empty. 189
 Warning blocks EmptyBlock Must have at least one statement. 229
 Warning design DesignForExtension Method 'animateGTU' is not designed for extension - needs to be abstract, final or empty. 243
 Warning design DesignForExtension Method 'animateStaticObject' is not designed for extension - needs to be abstract, final or empty. 260
 Warning design DesignForExtension Method 'animateGTUGenerator' is not designed for extension - needs to be abstract, final or empty. 300

org/opentrafficsim/draw/graphs/AbstractBoundedPlot.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'setChart' is not designed for extension - needs to be abstract, final or empty. 56
 Warning design DesignForExtension Method 'setLowerDomainBound' is not designed for extension - needs to be abstract, final or empty. 111
 Warning design DesignForExtension Method 'setUpperDomainBound' is not designed for extension - needs to be abstract, final or empty. 121
 Warning design DesignForExtension Method 'setLowerRangeBound' is not designed for extension - needs to be abstract, final or empty. 131
 Warning design DesignForExtension Method 'setUpperRangeBound' is not designed for extension - needs to be abstract, final or empty. 141
 Warning design DesignForExtension Method 'setAutoBoundDomain' is not designed for extension - needs to be abstract, final or empty. 175
 Warning design DesignForExtension Method 'setAutoBoundRange' is not designed for extension - needs to be abstract, final or empty. 189

org/opentrafficsim/draw/graphs/AbstractContourPlot.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'addPopUpMenuItems' is not designed for extension - needs to be abstract, final or empty. 165
 Info sizes ParameterNumber More than 7 parameters (found 8). 219
 Warning design DesignForExtension Method 'getTimeGranularity' is not designed for extension - needs to be abstract, final or empty. 265
 Warning design DesignForExtension Method 'getSpaceGranularity' is not designed for extension - needs to be abstract, final or empty. 274
 Warning design DesignForExtension Method 'getRangeBinCount' is not designed for extension - needs to be abstract, final or empty. 416

org/opentrafficsim/draw/graphs/AbstractPlot.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'setChart' is not designed for extension - needs to be abstract, final or empty. 143
 Warning design DesignForExtension Method 'encodeAsPng' is not designed for extension - needs to be abstract, final or empty. 338
 Warning design DesignForExtension Method 'getChartMouseListener' is not designed for extension - needs to be abstract, final or empty. 407
 Warning design DesignForExtension Method 'update' is not designed for extension - needs to be abstract, final or empty. 435

org/opentrafficsim/draw/graphs/AbstractSamplerPlot.java

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

org/opentrafficsim/draw/graphs/AbstractSpaceTimePlot.java

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

org/opentrafficsim/draw/graphs/ContourDataSource.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getSpeed' is not designed for extension - needs to be abstract, final or empty. 905
 Warning design DesignForExtension Method 'getTotalDistance' is not designed for extension - needs to be abstract, final or empty. 919
 Warning design DesignForExtension Method 'getTotalTime' is not designed for extension - needs to be abstract, final or empty. 933
 Warning design DesignForExtension Method 'get' is not designed for extension - needs to be abstract, final or empty. 948
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 1240

org/opentrafficsim/draw/graphs/ContourPlotAcceleration.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 139
 Warning design DesignForExtension Method 'scale' is not designed for extension - needs to be abstract, final or empty. 146
 Warning design DesignForExtension Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 153
 Warning design DesignForExtension Method 'getContourDataType' is not designed for extension - needs to be abstract, final or empty. 160
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 167

org/opentrafficsim/draw/graphs/ContourPlotDensity.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 52
 Warning design DesignForExtension Method 'scale' is not designed for extension - needs to be abstract, final or empty. 59
 Warning design DesignForExtension Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 66
 Warning design DesignForExtension Method 'getContourDataType' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 80

org/opentrafficsim/draw/graphs/ContourPlotFlow.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 52
 Warning design DesignForExtension Method 'scale' is not designed for extension - needs to be abstract, final or empty. 59
 Warning design DesignForExtension Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 66
 Warning design DesignForExtension Method 'getContourDataType' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 80

org/opentrafficsim/draw/graphs/ContourPlotSpeed.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 52
 Warning design DesignForExtension Method 'scale' is not designed for extension - needs to be abstract, final or empty. 59
 Warning design DesignForExtension Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 66
 Warning design DesignForExtension Method 'getContourDataType' is not designed for extension - needs to be abstract, final or empty. 73
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 80

org/opentrafficsim/draw/graphs/FundamentalDiagram.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getChartMouseListener' is not designed for extension - needs to be abstract, final or empty. 235
 Warning design DesignForExtension Method 'addPopUpMenuItems' is not designed for extension - needs to be abstract, final or empty. 372
 Warning design DesignForExtension Method 'increaseTime' is not designed for extension - needs to be abstract, final or empty. 460
 Warning design DesignForExtension Method 'getSeriesCount' is not designed for extension - needs to be abstract, final or empty. 470
 Warning design DesignForExtension Method 'getSeriesKey' is not designed for extension - needs to be abstract, final or empty. 481
 Warning design DesignForExtension Method 'indexOf' is not designed for extension - needs to be abstract, final or empty. 488
 Warning design DesignForExtension Method 'getDomainOrder' is not designed for extension - needs to be abstract, final or empty. 497
 Warning design DesignForExtension Method 'getItemCount' is not designed for extension - needs to be abstract, final or empty. 504
 Warning design DesignForExtension Method 'getX' is not designed for extension - needs to be abstract, final or empty. 511
 Warning design DesignForExtension Method 'getXValue' is not designed for extension - needs to be abstract, final or empty. 518
 Warning design DesignForExtension Method 'getY' is not designed for extension - needs to be abstract, final or empty. 525
 Warning design DesignForExtension Method 'getYValue' is not designed for extension - needs to be abstract, final or empty. 532
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 539
 Warning design DesignForExtension Method 'getStatusLabel' is not designed for extension - needs to be abstract, final or empty. 546
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 1356

org/opentrafficsim/draw/graphs/GraphCrossSection.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getSource' is not designed for extension - needs to be abstract, final or empty. 78
 Warning design DesignForExtension Method 'iterator' is not designed for extension - needs to be abstract, final or empty. 84
 Warning design DesignForExtension Method 'position' is not designed for extension - needs to be abstract, final or empty. 97
 Warning design DesignForExtension Method 'iterator' 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. 110

org/opentrafficsim/draw/graphs/GraphPath.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'get' is not designed for extension - needs to be abstract, final or empty. 121
 Warning design DesignForExtension Method 'iterator' is not designed for extension - needs to be abstract, final or empty. 127
 Warning design DesignForExtension Method 'iterator' is not designed for extension - needs to be abstract, final or empty. 171
 Warning design DesignForExtension Method 'getSections' is not designed for extension - needs to be abstract, final or empty. 186
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 227

org/opentrafficsim/draw/graphs/GraphUpdater.java

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

org/opentrafficsim/draw/graphs/JFileChooserWithSettings.java

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

org/opentrafficsim/draw/graphs/PointerHandler.java

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

org/opentrafficsim/draw/graphs/TrajectoryPlot.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getChartMouseListener' is not designed for extension - needs to be abstract, final or empty. 196
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 207
 Warning design DesignForExtension Method 'getStatusLabel' is not designed for extension - needs to be abstract, final or empty. 214
 Warning design DesignForExtension Method 'increaseTime' is not designed for extension - needs to be abstract, final or empty. 221
 Warning design DesignForExtension Method 'getSeriesCount' is not designed for extension - needs to be abstract, final or empty. 231
 Warning design DesignForExtension Method 'getSeriesKey' is not designed for extension - needs to be abstract, final or empty. 246
 Warning design DesignForExtension Method 'indexOf' is not designed for extension - needs to be abstract, final or empty. 253
 Warning design DesignForExtension Method 'getDomainOrder' is not designed for extension - needs to be abstract, final or empty. 261
 Warning design DesignForExtension Method 'getItemCount' is not designed for extension - needs to be abstract, final or empty. 268
 Warning design DesignForExtension Method 'getX' is not designed for extension - needs to be abstract, final or empty. 276
 Warning design DesignForExtension Method 'getXValue' is not designed for extension - needs to be abstract, final or empty. 283
 Warning design DesignForExtension Method 'getY' is not designed for extension - needs to be abstract, final or empty. 290
 Warning design DesignForExtension Method 'getYValue' is not designed for extension - needs to be abstract, final or empty. 297
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 590

org/opentrafficsim/draw/graphs/XYInterpolatedBlockRenderer.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'setPaintScale' is not designed for extension - needs to be abstract, final or empty. 70
 Warning design DesignForExtension Method 'setBlockAnchor' is not designed for extension - needs to be abstract, final or empty. 81
 Warning design DesignForExtension Method 'drawItem' is not designed for extension - needs to be abstract, final or empty. 110
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 314

org/opentrafficsim/draw/graphs/road/ContourPlotDelay.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getGraphType' is not designed for extension - needs to be abstract, final or empty. 162
 Warning design DesignForExtension Method 'scale' is not designed for extension - needs to be abstract, final or empty. 169
 Warning design DesignForExtension Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 176
 Warning design DesignForExtension Method 'getContourDataType' is not designed for extension - needs to be abstract, final or empty. 183

org/opentrafficsim/draw/gtu/DefaultCarAnimation.java

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

org/opentrafficsim/draw/gtu/GTUGeneratorAnimation.java

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

org/opentrafficsim/draw/lane/LaneStructureAnimation.java

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

org/opentrafficsim/draw/lane/LaneStructureLocatable.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter rollingLaneStructure should be final. 38
 Warning design DesignForExtension Method 'getLocation' is not designed for extension - needs to be abstract, final or empty. 46
 Warning design DesignForExtension Method 'getBounds' is not designed for extension - needs to be abstract, final or empty. 68