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
23 4 15 0

Files

File
 I
 W
 E
org/opentrafficsim/swing/graphs/SwingContourPlot.java 1 0 0
org/opentrafficsim/swing/graphs/SwingPlot.java 1 0 0
org/opentrafficsim/swing/gui/AnimationToggles.java 2 4 0
org/opentrafficsim/swing/gui/OTSAnimationPanel.java 0 1 0
org/opentrafficsim/swing/gui/OTSControlPanel.java 0 8 0
org/opentrafficsim/swing/gui/OTSSimulationPanel.java 0 1 0
org/opentrafficsim/swing/gui/OTSSwingApplication.java 0 1 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1
 Warning
NeedBraces 3
 Warning
design VisibilityModifier 1
 Warning
imports UnusedImports 2
 Warning
misc TodoComment 4
 Warning
modifier ModifierOrder 2
 Warning
RedundantModifier 2
 Warning
sizes LineLength
  • max: "128"
2
 Info
MethodLength 1
 Info
ParameterNumber 1
 Info

Details

org/opentrafficsim/swing/graphs/SwingContourPlot.java

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

org/opentrafficsim/swing/graphs/SwingPlot.java

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

org/opentrafficsim/swing/gui/AnimationToggles.java

Severity Category Rule Message Line
 Info
sizes LineLength Line is longer than 128 characters (found 132). 117
 Info
sizes LineLength Line is longer than 128 characters (found 132). 157
 Warning
modifier RedundantModifier Redundant 'final' modifier. 186
 Warning
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 186
 Warning
modifier RedundantModifier Redundant 'final' modifier. 197
 Warning
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 197

org/opentrafficsim/swing/gui/OTSAnimationPanel.java

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

org/opentrafficsim/swing/gui/OTSControlPanel.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - nl.tudelft.simulation.naming.context.ContextInterface. 63
 Warning
imports UnusedImports Unused import - nl.tudelft.simulation.naming.context.util.ContextUtil. 64
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 433
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 461
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 463
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 465
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 467
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 477

org/opentrafficsim/swing/gui/OTSSimulationPanel.java

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

org/opentrafficsim/swing/gui/OTSSwingApplication.java

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