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
201 14 33 0

Files

File  I  W  E
org/opentrafficsim/core/geometry/OTSBufferingAV.java 2 0 0
org/opentrafficsim/core/geometry/OTSBufferingJTS.java 2 0 0
org/opentrafficsim/core/geometry/OTSLine3D.java 0 1 0
org/opentrafficsim/core/geometry/OTSOffsetLinePK.java 1 5 0
org/opentrafficsim/core/geometry/Test.java 1 2 0
org/opentrafficsim/core/gis/TransformWGS84DutchRDNew.java 0 4 0
org/opentrafficsim/core/gtu/behavioralcharacteristics/BehavioralCharacteristics.java 1 3 0
org/opentrafficsim/core/gtu/behavioralcharacteristics/CheckInterface.java 1 0 0
org/opentrafficsim/core/gtu/plan/operational/OperationalPlanBuilder.java 1 0 0
org/opentrafficsim/core/immutablecollections/ImmutableHashMap.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableHashSet.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableMap.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableNavigableMap.java 0 2 0
org/opentrafficsim/core/immutablecollections/ImmutableNavigableSet.java 0 2 0
org/opentrafficsim/core/immutablecollections/ImmutableSortedMap.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableSortedSet.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableTreeMap.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableTreeSet.java 0 1 0
org/opentrafficsim/core/immutablecollections/ImmutableVector.java 0 2 0
org/opentrafficsim/core/network/OTSNetwork.java 0 1 0
org/opentrafficsim/core/network/OTSNode.java 3 0 0
org/opentrafficsim/gui/OTSAnimationPanel.java 0 2 0
org/opentrafficsim/gui/OTSControlPanel.java 0 2 0
org/opentrafficsim/simulationengine/properties/AbstractProperty.java 2 0 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 11  Warning
design HideUtilityClassConstructor 1  Warning
VisibilityModifier 7  Warning
imports UnusedImports 14  Warning
sizes LineLength
  • max: "128"
9  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 blocks EmptyBlock Must have at least one statement. 905

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
 Warning imports UnusedImports Unused import - org.jfree.ui.HorizontalAlignment. 14
 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 design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 21
 Warning blocks EmptyBlock Must have at least one statement. 265
 Warning blocks EmptyBlock Must have at least one statement. 275
 Warning blocks EmptyBlock Must have at least one statement. 285

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

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 331
 Warning blocks EmptyBlock Must have at least one statement. 335
 Warning blocks EmptyBlock Must have at least one statement. 369
 Info sizes LineLength Line is longer than 128 characters (found 131). 380

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/gtu/plan/operational/OperationalPlanBuilder.java

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

org/opentrafficsim/core/immutablecollections/ImmutableHashMap.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.HashSet. 4

org/opentrafficsim/core/immutablecollections/ImmutableHashSet.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.EnumSet. 4

org/opentrafficsim/core/immutablecollections/ImmutableMap.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Set. 7

org/opentrafficsim/core/immutablecollections/ImmutableNavigableMap.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Collections. 3
 Warning imports UnusedImports Unused import - java.util.Comparator. 4

org/opentrafficsim/core/immutablecollections/ImmutableNavigableSet.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Collections. 3
 Warning imports UnusedImports Unused import - java.util.Comparator. 4

org/opentrafficsim/core/immutablecollections/ImmutableSortedMap.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.NoSuchElementException. 4

org/opentrafficsim/core/immutablecollections/ImmutableSortedSet.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.NoSuchElementException. 4

org/opentrafficsim/core/immutablecollections/ImmutableTreeMap.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.HashSet. 4

org/opentrafficsim/core/immutablecollections/ImmutableTreeSet.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.EnumSet. 4

org/opentrafficsim/core/immutablecollections/ImmutableVector.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Iterator. 4
 Warning imports UnusedImports Unused import - java.util.NoSuchElementException. 6

org/opentrafficsim/core/network/OTSNetwork.java

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

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/gui/OTSAnimationPanel.java

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

org/opentrafficsim/gui/OTSControlPanel.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'closeHandlerRegistered' must be private and have accessor methods. 109
 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 179). 147
 Info sizes LineLength Line is longer than 128 characters (found 131). 163