Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
3 0 0 35

Rules

Category Rule Violations Severity
blocks LeftCurly 4  Error
coding MagicNumber 1  Error
design DesignForExtension 4  Error
javadoc JavadocMethod 3  Error
JavadocPackage 1  Error
JavadocType 1  Error
JavadocVariable 1  Error
naming ConstantName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
9  Error
whitespace WhitespaceAround 10  Error

Details

ejava/examples/javase5/Alias.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error javadoc JavadocMethod Missing a Javadoc comment. 14

ejava/examples/javase5/CallMe.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error regexp RegexpSingleline Line has trailing spaces. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21

ejava/examples/javase5/MyAnnotatedClass.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error naming ConstantName Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 8
 Error regexp RegexpSingleline Line has trailing spaces. 9
 Error design DesignForExtension Method 'one' is not designed for extension - needs to be abstract, final or empty. 10
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 10
 Error coding MagicNumber '3' is a magic number. 10
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 10
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 10
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 10
 Error blocks LeftCurly '{' should have line break after. 11
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error design DesignForExtension Method 'two' is not designed for extension - needs to be abstract, final or empty. 13
 Error blocks LeftCurly '{' should have line break after. 13
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error regexp RegexpSingleline Line has trailing spaces. 15
 Error design DesignForExtension Method 'three' is not designed for extension - needs to be abstract, final or empty. 15
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 15
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 15
 Error blocks LeftCurly '{' should have line break after. 17
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error design DesignForExtension Method 'four' is not designed for extension - needs to be abstract, final or empty. 19
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 19
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 19
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 19
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 19
 Error blocks LeftCurly '{' should have line break after. 20