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
37 1 32 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1  Warning
design DesignForExtension 28  Warning
VisibilityModifier 2  Warning
misc FinalParameters 1  Warning
sizes LineLength
  • max: "128"
1  Info

Details

org/opentrafficsim/core/animation/FixedColorer.java

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

org/opentrafficsim/core/animation/network/NetworkAnimation.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter network should be final. 45
 Warning design DesignForExtension Method 'addDrawingInfoClass' is not designed for extension - needs to be abstract, final or empty. 71
 Warning design DesignForExtension Method 'addDrawingInfoBase' is not designed for extension - needs to be abstract, final or empty. 82
 Warning design DesignForExtension Method 'addDrawingInfoDynamic' is not designed for extension - needs to be abstract, final or empty. 94
 Warning design DesignForExtension Method 'getDrawingInfo' is not designed for extension - needs to be abstract, final or empty. 105
 Warning design DesignForExtension Method 'getDrawingInfoBase' is not designed for extension - needs to be abstract, final or empty. 120
 Warning design DesignForExtension Method 'getDrawingInfoClass' is not designed for extension - needs to be abstract, final or empty. 135
 Warning design DesignForExtension Method 'notify' is not designed for extension - needs to be abstract, final or empty. 154
 Warning blocks EmptyBlock Must have at least one statement. 158

org/opentrafficsim/core/gis/CoordinateTransformLonLatToXY.java

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

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

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

org/opentrafficsim/road/gtu/colorer/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/colorer/DistractionColorer.java

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

org/opentrafficsim/road/gtu/colorer/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 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/colorer/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/colorer/SocialPressureColorer.java

Severity Category Rule Message Line
 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/colorer/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/colorer/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