Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
162 12 20 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 5  Warning
design VisibilityModifier 8  Warning
imports UnusedImports 4  Warning
javadoc JavadocVariable 1  Warning
misc TodoComment 2  Warning
sizes LineLength
  • max: "128"
7  Info
MethodLength 5  Info

Details

org/opentrafficsim/core/geometry/OTSBufferingAV.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 288 lines (max allowed is 150). 36
 Info sizes MethodLength Method length is 302 lines (max allowed is 150). 349

org/opentrafficsim/core/geometry/OTSBufferingJTS.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 130). 64
 Info sizes MethodLength Method length is 166 lines (max allowed is 150). 118

org/opentrafficsim/core/geometry/OTSLine3D.java

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 60
 Warning blocks EmptyBlock Must have at least one statement. 829

org/opentrafficsim/core/geometry/OTSOffsetLinePK.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'debugOffsetLine' must be private and have accessor methods. 25
 Warning design VisibilityModifier Variable 'circlePrecision' must be private and have accessor methods. 28
 Warning design VisibilityModifier Variable 'offsetMinimumFilterValue' must be private and have accessor methods. 31
 Warning design VisibilityModifier Variable 'offsetMaximumFilterValue' must be private and have accessor methods. 34
 Warning design VisibilityModifier Variable 'offsetFilterRatio' must be private and have accessor methods. 40
 Info sizes MethodLength Method length is 300 lines (max allowed is 150). 50

org/opentrafficsim/core/geometry/OTSShape.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.awt.geom.Rectangle2D. 6
 Warning imports UnusedImports Unused import - javax.media.j3d.BoundingBox. 11
 Warning imports UnusedImports Unused import - javax.vecmath.Point3d. 12
 Warning imports UnusedImports Unused import - nl.tudelft.simulation.language.d3.DirectedPoint. 14

org/opentrafficsim/core/geometry/Test.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 367 lines (max allowed is 150). 116
 Warning design VisibilityModifier Variable 'printDetails' must be private and have accessor methods. 486

org/opentrafficsim/core/gtu/drivercharacteristics/AbstractParameterType.java

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

org/opentrafficsim/core/gtu/drivercharacteristics/BehavioralCharacteristics.java

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

org/opentrafficsim/core/gtu/drivercharacteristics/ParameterTypes.java

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

org/opentrafficsim/core/gtu/plan/operational/OperationalPlanBuilder.java

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

org/opentrafficsim/core/network/OTSNetwork.java

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

org/opentrafficsim/core/network/OTSNode.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 129). 140
 Info sizes LineLength Line is longer than 128 characters (found 131). 147
 Info sizes LineLength Line is longer than 128 characters (found 132). 199

org/opentrafficsim/core/perception/PerceivedObject2D.java

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

org/opentrafficsim/gui/OTSAnimationPanel.java

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

org/opentrafficsim/gui/OTSControlPanel.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'closeHandlerRegistered' must be private and have accessor methods. 108
 Warning blocks EmptyBlock Must have at least one statement. 236

org/opentrafficsim/simulationengine/properties/AbstractProperty.java

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