Checkstyle Results

The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
2 0 0 114

Rules

Category Rule Violations Severity
blocks NeedBraces 2  Error
coding AvoidInlineConditionals 1  Error
MagicNumber 10  Error
design DesignForExtension 5  Error
VisibilityModifier 3  Error
javadoc JavadocMethod 12  Error
JavadocPackage 1  Error
JavadocType 1  Error
JavadocVariable 7  Error
misc ArrayTypeStyle 2  Error
FinalParameters 16  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
33  Error
sizes LineLength 6  Error
whitespace FileTabCharacter 1  Error
NoWhitespaceAfter 1  Error
OperatorWrap 2  Error
WhitespaceAfter 4  Error
WhitespaceAround 7  Error

Details

ejava/projects/edmv/xml/EDmvParser.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error design VisibilityModifier Variable 'xmlif' must be private and have accessor methods. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error design VisibilityModifier Variable 'um' must be private and have accessor methods. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error design VisibilityModifier Variable 'xmlr' must be private and have accessor methods. 36
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error misc FinalParameters Parameter rootType should be final. 47
 Error misc FinalParameters Parameter is should be final. 47
 Error javadoc JavadocMethod Expected @throws tag for 'JAXBException'. 48
 Error javadoc JavadocMethod Expected @throws tag for 'XMLStreamException'. 48
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 58
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 60
 Error regexp RegexpSingleline Line has trailing spaces. 61
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error sizes LineLength Line is longer than 80 characters (found 88). 62
 Error misc FinalParameters Parameter targetType should be final. 62
 Error blocks NeedBraces 'if' construct must use '{}'s. 66
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 66
 Error regexp RegexpSingleline Line has trailing spaces. 71
 Error sizes LineLength Line is longer than 80 characters (found 85). 73
 Error misc FinalParameters Parameter id should be final. 73
 Error misc FinalParameters Parameter obj should be final. 73
 Error blocks NeedBraces 'if' construct must use '{}'s. 74
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 74
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 74
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 74
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 75
 Error regexp RegexpSingleline Line has trailing spaces. 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 80
 Error misc FinalParameters Parameter rootTypes should be final. 80
 Error misc ArrayTypeStyle Array brackets at illegal position. 80
 Error misc FinalParameters Parameter is should be final. 80
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error design DesignForExtension Method 'setSchema' is not designed for extension - needs to be abstract, final or empty. 88
 Error javadoc JavadocMethod Missing a Javadoc comment. 88
 Error misc FinalParameters Parameter schema should be final. 88
 Error sizes LineLength Line is longer than 80 characters (found 89). 89
 Error regexp RegexpSingleline Line has trailing spaces. 93
 Error javadoc JavadocMethod Missing a Javadoc comment. 94
 Error misc FinalParameters Parameter elements should be final. 94
 Error misc ArrayTypeStyle Array brackets at illegal position. 94
 Error misc FinalParameters Parameter localName should be final. 94
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 95
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error regexp RegexpSingleline Line has trailing spaces. 106
 Error regexp RegexpSingleline Line has trailing spaces. 108
 Error javadoc JavadocMethod Expected an @return tag. 114
 Error design DesignForExtension Method 'getObject' is not designed for extension - needs to be abstract, final or empty. 114
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error misc FinalParameters Parameter elements should be final. 115
 Error javadoc JavadocMethod Expected @param tag for 'elements'. 115
 Error javadoc JavadocMethod Expected @throws tag for 'XMLStreamException'. 116
 Error javadoc JavadocMethod Expected @throws tag for 'JAXBException'. 116
 Error regexp RegexpSingleline Line has trailing spaces. 119
 Error whitespace OperatorWrap '&&' should be on a new line. 119
 Error whitespace OperatorWrap '?' should be on a new line. 122
 Error coding AvoidInlineConditionals Avoid inline conditionals. 122
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 123
 Error regexp RegexpSingleline Line has trailing spaces. 127
 Error regexp RegexpSingleline Line has trailing spaces. 128

ejava/projects/edmv/xml/SampleGen.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error design DesignForExtension Method 'createDmv' is not designed for extension - needs to be abstract, final or empty. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error design DesignForExtension Method 'createPerson' is not designed for extension - needs to be abstract, final or empty. 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error misc FinalParameters Parameter first should be final. 60
 Error misc FinalParameters Parameter middle should be final. 60
 Error misc FinalParameters Parameter last should be final. 60
 Error misc FinalParameters Parameter suffix should be final. 61
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error regexp RegexpSingleline Line has trailing spaces. 73
 Error regexp RegexpSingleline Line has trailing spaces. 78
 Error coding MagicNumber '1960' is a magic number. 81
 Error coding MagicNumber '03' is a magic number. 83
 Error coding MagicNumber '72' is a magic number. 89
 Error coding MagicNumber '220' is a magic number. 90
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 93
 Error coding MagicNumber '2000' is a magic number. 104
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error coding MagicNumber '2005' is a magic number. 111
 Error coding MagicNumber '12' is a magic number. 112
 Error coding MagicNumber '31' is a magic number. 113
 Error regexp RegexpSingleline Line has trailing spaces. 116
 Error sizes LineLength Line is longer than 80 characters (found 89). 124
 Error design DesignForExtension Method 'createVehicleRegistration' is not designed for extension - needs to be abstract, final or empty. 124
 Error javadoc JavadocMethod Missing a Javadoc comment. 124
 Error misc FinalParameters Parameter owner should be final. 124
 Error regexp RegexpSingleline Line has trailing spaces. 127
 Error regexp RegexpSingleline Line has trailing spaces. 129
 Error regexp RegexpSingleline Line has trailing spaces. 132
 Error regexp RegexpSingleline Line has trailing spaces. 133
 Error regexp RegexpSingleline Line has trailing spaces. 134
 Error regexp RegexpSingleline Line has trailing spaces. 135
 Error sizes LineLength Line is longer than 80 characters (found 85). 145
 Error coding MagicNumber '2006' is a magic number. 148
 Error sizes LineLength Line is longer than 80 characters (found 84). 149
 Error regexp RegexpSingleline Line has trailing spaces. 150
 Error coding MagicNumber '1996' is a magic number. 152
 Error regexp RegexpSingleline Line has trailing spaces. 157