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
184 6 54 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 16  Warning
design DesignForExtension 24  Warning
VisibilityModifier 9  Warning
misc TodoComment 2  Warning
naming StaticVariableName 2  Warning
sizes LineLength
  • max: "128"
2  Info
MethodLength 4  Info
whitespace WhitespaceAfter 1  Warning

Details

org/opentrafficsim/core/dsol/OTSDEVSRTParallelMove.java

Severity Category Rule Message Line
 Info sizes MethodLength Method length is 300 lines (max allowed is 150). 115
 Warning blocks EmptyBlock Must have at least one statement. 335
 Warning blocks EmptyBlock Must have at least one statement. 371
 Warning blocks EmptyBlock Must have at least one statement. 407

org/opentrafficsim/core/dsol/SynchronizedRedBlackTree.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'comparator' is not designed for extension - needs to be abstract, final or empty. 113
 Warning design DesignForExtension Method 'subSet' is not designed for extension - needs to be abstract, final or empty. 123
 Warning design DesignForExtension Method 'headSet' is not designed for extension - needs to be abstract, final or empty. 133
 Warning design DesignForExtension Method 'tailSet' is not designed for extension - needs to be abstract, final or empty. 143
 Warning design DesignForExtension Method 'size' is not designed for extension - needs to be abstract, final or empty. 153
 Warning design DesignForExtension Method 'isEmpty' is not designed for extension - needs to be abstract, final or empty. 163
 Warning design DesignForExtension Method 'contains' is not designed for extension - needs to be abstract, final or empty. 173
 Warning design DesignForExtension Method 'iterator' is not designed for extension - needs to be abstract, final or empty. 183
 Warning design DesignForExtension Method 'toArray' is not designed for extension - needs to be abstract, final or empty. 193
 Warning design DesignForExtension Method 'toArray' is not designed for extension - needs to be abstract, final or empty. 203
 Warning design DesignForExtension Method 'add' is not designed for extension - needs to be abstract, final or empty. 213
 Warning design DesignForExtension Method 'remove' is not designed for extension - needs to be abstract, final or empty. 223
 Warning design DesignForExtension Method 'containsAll' is not designed for extension - needs to be abstract, final or empty. 233
 Warning design DesignForExtension Method 'addAll' is not designed for extension - needs to be abstract, final or empty. 243
 Warning design DesignForExtension Method 'retainAll' is not designed for extension - needs to be abstract, final or empty. 253
 Warning design DesignForExtension Method 'removeAll' is not designed for extension - needs to be abstract, final or empty. 263
 Warning design DesignForExtension Method 'clear' is not designed for extension - needs to be abstract, final or empty. 273
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 280

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 blocks EmptyBlock Must have at least one statement. 929

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 307 lines (max allowed is 150). 50

org/opentrafficsim/core/geometry/Test.java

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

org/opentrafficsim/core/gis/TransformWGS84DutchRDNew.java

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 271
 Warning blocks EmptyBlock Must have at least one statement. 281
 Warning blocks EmptyBlock Must have at least one statement. 291

org/opentrafficsim/core/gtu/AbstractGTU.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 102
 Warning naming StaticVariableName Name 'ALIGNED' must match pattern '^[a-z][a-zA-Z0-9]*$'. 103
 Warning design VisibilityModifier Variable 'ALIGNED' must be private and have accessor methods. 103
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 106
 Warning naming StaticVariableName Name 'ALIGN_COUNT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 107
 Warning design VisibilityModifier Variable 'ALIGN_COUNT' must be private and have accessor methods. 107

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

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 363
 Warning blocks EmptyBlock Must have at least one statement. 367
 Warning blocks EmptyBlock Must have at least one statement. 401

org/opentrafficsim/core/gtu/behavioralcharacteristics/BehavioralCharacteristicsFactoryByType.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'setValues' is not designed for extension - needs to be abstract, final or empty. 34
 Warning design DesignForExtension Method 'addParameter' is not designed for extension - needs to be abstract, final or empty. 52
 Warning design DesignForExtension Method 'addParameter' is not designed for extension - needs to be abstract, final or empty. 64
 Warning design DesignForExtension Method 'addGaussianParameter' is not designed for extension - needs to be abstract, final or empty. 79
 Warning design DesignForExtension Method 'addGaussianParameter' is not designed for extension - needs to be abstract, final or empty. 93
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 113

org/opentrafficsim/core/gtu/behavioralcharacteristics/CheckInterface.java

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

org/opentrafficsim/core/network/OTSNetwork.java

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

org/opentrafficsim/gui/OTSAnimationPanel.java

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

org/opentrafficsim/gui/OTSControlPanel.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'closeHandlerRegistered' must be private and have accessor methods. 110
 Warning blocks EmptyBlock Must have at least one statement. 258
 Warning whitespace WhitespaceAfter ';' is not followed by whitespace. 828

org/opentrafficsim/simulationengine/AbstractWrappableAnimation.java

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