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 2 8 0

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
design DesignForExtension 1  Warning
HideUtilityClassConstructor 1  Warning
VisibilityModifier 2  Warning
javadoc JavadocVariable 1  Warning
sizes LineLength
  • max: "128"
2  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 design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 16

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. 63
 Info sizes LineLength Line is longer than 128 characters (found 139). 305

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/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