Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
10 0 0 100

Rules

Category Rule Violations Severity
coding MagicNumber 1  Error
design DesignForExtension 8  Error
HideUtilityClassConstructor 1  Error
imports UnusedImports
  • processJavadoc: "false"
1  Error
javadoc JavadocMethod 6  Error
JavadocVariable 3  Error
misc FinalParameters 10  Error
NewlineAtEndOfFile 4  Error
modifier RedundantModifier 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
37  Error
sizes LineLength 20  Error
whitespace FileTabCharacter 6  Error
NoWhitespaceAfter 1  Error

Details

de/mxro/webapiexample/WebApi.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 10
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 11
 Error sizes LineLength Line is longer than 80 characters (found 98). 13
 Error misc FinalParameters Parameter args should be final. 16
 Error coding MagicNumber '8989' is a magic number. 17
 Error sizes LineLength Line is longer than 80 characters (found 105). 22
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 34
 Error sizes LineLength Line is longer than 80 characters (found 98). 35
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error regexp RegexpSingleline Line has trailing spaces. 42

de/mxro/webapiexample/WebApiServer.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 10
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error modifier RedundantModifier Redundant 'public' modifier. 16
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error modifier RedundantModifier Redundant 'public' modifier. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22

de/mxro/webapiexample/internal/WebApiServerImpl.java

Severity Category Rule Message Line
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error design DesignForExtension Method 'start' is not designed for extension - needs to be abstract, final or empty. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 23
 Error misc FinalParameters Parameter port should be final. 23
 Error sizes LineLength Line is longer than 80 characters (found 95). 24
 Error sizes LineLength Line is longer than 80 characters (found 99). 27
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 35
 Error sizes LineLength Line is longer than 80 characters (found 95). 37
 Error sizes LineLength Line is longer than 80 characters (found 106). 39
 Error design DesignForExtension Method 'stop' is not designed for extension - needs to be abstract, final or empty. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error sizes LineLength Line is longer than 80 characters (found 95). 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 76

de/mxro/webapiexample/internal/package-info.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error sizes LineLength Line is longer than 80 characters (found 85). 2
 Error regexp RegexpSingleline Line has trailing spaces. 4

de/mxro/webapiexample/internal/services/ApplicationMetadataServlet.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.FileInputStream. 3
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 26
 Error sizes LineLength Line is longer than 80 characters (found 112). 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 32
 Error sizes LineLength Line is longer than 80 characters (found 125). 33
 Error misc FinalParameters Parameter request should be final. 33
 Error misc FinalParameters Parameter response should be final. 33
 Error regexp RegexpSingleline Line has trailing spaces. 34
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error sizes LineLength Line is longer than 80 characters (found 84). 53
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error sizes LineLength Line is longer than 80 characters (found 89). 55
 Error regexp RegexpSingleline Line has trailing spaces. 59
 Error sizes LineLength Line is longer than 80 characters (found 87). 62
 Error sizes LineLength Line is longer than 80 characters (found 85). 63
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error regexp RegexpSingleline Line has trailing spaces. 66

de/mxro/webapiexample/internal/services/HealthServlet.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 96). 13
 Error regexp RegexpSingleline Line has trailing spaces. 15
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 21
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error design DesignForExtension Method 'doHead' is not designed for extension - needs to be abstract, final or empty. 28
 Error sizes LineLength Line is longer than 80 characters (found 126). 29
 Error misc FinalParameters Parameter request should be final. 29
 Error misc FinalParameters Parameter response should be final. 29
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 33
 Error sizes LineLength Line is longer than 80 characters (found 125). 34
 Error misc FinalParameters Parameter request should be final. 34
 Error misc FinalParameters Parameter response should be final. 34
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error regexp RegexpSingleline Line has trailing spaces. 57
 Error regexp RegexpSingleline Line has trailing spaces. 58

de/mxro/webapiexample/internal/services/HelloWorldServlet.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 19
 Error sizes LineLength Line is longer than 80 characters (found 86). 21
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error misc FinalParameters Parameter request should be final. 21
 Error misc FinalParameters Parameter response should be final. 21

de/mxro/webapiexample/internal/services/package-info.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error sizes LineLength Line is longer than 80 characters (found 83). 4

de/mxro/webapiexample/package-info.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error regexp RegexpSingleline Line has trailing spaces. 3

jetty-logging.properties

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.