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
33 1 12 0

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
InnerAssignment 2  Warning
design DesignForExtension 1  Warning
VisibilityModifier 2  Warning
imports UnusedImports 3  Warning
javadoc JavadocVariable 1  Warning
sizes LineLength
  • max: "128"
1  Info
whitespace WhitespaceAround
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"
1  Warning

Details

org/opentrafficsim/road/network/factory/xml/BezierTag.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.network.factory.xml.units.LengthUnits. 4

org/opentrafficsim/road/network/factory/xml/GeneratorTag.java

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

org/opentrafficsim/road/network/factory/xml/Links.java

Severity Category Rule Message Line
 Warning coding InnerAssignment Inner assignments should be avoided. 394
 Warning coding InnerAssignment Inner assignments should be avoided. 398

org/opentrafficsim/road/network/factory/xml/NodeTag.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.network.animation.LinkAnimation. 15

org/opentrafficsim/road/network/factory/xml/PolyLineTag.java

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 32
 Warning design VisibilityModifier Variable 'coordinates' must be private and have accessor methods. 32

org/opentrafficsim/road/network/factory/xml/RoadTypeTag.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 143). 142
 Warning whitespace WhitespaceAround '=' is not preceded with whitespace. 143

org/opentrafficsim/road/network/factory/xml/SensorTag.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - org.opentrafficsim.core.geometry.OTSLine3D. 8

org/opentrafficsim/road/network/factory/xml/XmlNetworkLaneParser.java

Severity Category Rule Message Line
 Warning coding HiddenField 'network' hides a field. 171
 Warning coding HiddenField 'network' hides a field. 192
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 285