Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
64 5 7 0

Files

File
 I
 W
 E
org/opentrafficsim/draw/core/TextAnimation.java 1 0 0
org/opentrafficsim/draw/factory/DefaultAnimationFactory.java 0 3 0
org/opentrafficsim/draw/graphs/AbstractContourPlot.java 0 1 0
org/opentrafficsim/draw/graphs/ContourDataSource.java 0 3 0
org/opentrafficsim/draw/graphs/FundamentalDiagram.java 3 0 0
org/opentrafficsim/draw/network/LinkAnimation.java 1 0 0

Rules

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

Details

org/opentrafficsim/draw/core/TextAnimation.java

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

org/opentrafficsim/draw/factory/DefaultAnimationFactory.java

Severity Category Rule Message Line
 Warning
blocks EmptyBlock Must have at least one statement. 236
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 237
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 309

org/opentrafficsim/draw/graphs/AbstractContourPlot.java

Severity Category Rule Message Line
 Warning
design DesignForExtension Class 'AbstractContourPlot' looks like designed for extension (can be subclassed), but the method 'getBlockRenderer' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractContourPlot' final or making the method 'getBlockRenderer' static/final/abstract/empty, or adding allowed annotation for the method. 338

org/opentrafficsim/draw/graphs/ContourDataSource.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'spaceAxis' must be private and have accessor methods. 115
 Warning
design VisibilityModifier Variable 'timeAxis' must be private and have accessor methods. 118
 Warning
blocks EmptyBlock Must have at least one statement. 891

org/opentrafficsim/draw/graphs/FundamentalDiagram.java

Severity Category Rule Message Line
 Info
sizes LineLength Line is longer than 128 characters (found 137). 303
 Info
sizes LineLength Line is longer than 128 characters (found 132). 897
 Info
sizes LineLength Line is longer than 128 characters (found 133). 1113

org/opentrafficsim/draw/network/LinkAnimation.java

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