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
167 8 19 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 11  Warning
design VisibilityModifier 7  Warning
sizes LineLength
  • max: "128"
3  Info
MethodLength 3  Info
ParameterNumber 2  Info
whitespace WhitespaceAfter 1  Warning

Details

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. 901

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). 116
 Warning design VisibilityModifier Variable 'printDetails' must be private and have accessor methods. 481

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/behavioralcharacteristics/BehavioralCharacteristics.java

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

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/network/CapacityOTSLink.java

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

org/opentrafficsim/core/network/OTSNetwork.java

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

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. 239
 Warning whitespace WhitespaceAfter ';' is not followed by whitespace. 809