Checkstyle Results

The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
5 0 0 26

Files

File  I  W  E
application.properties 0 0 1
de/sesqa/ase/Application.java 0 0 11
de/sesqa/ase/BaseController.java 0 0 10
de/sesqa/ase/DoraChatBot.java 0 0 3
version.properties 0 0 1

Rules

Category Rule Violations Severity
blocks RightCurly 1  Error
design DesignForExtension 2  Error
HideUtilityClassConstructor 2  Error
imports AvoidStarImport 1  Error
javadoc JavadocPackage 1  Error
JavadocVariable 2  Error
MissingJavadocMethod 4  Error
misc FinalParameters 3  Error
NewlineAtEndOfFile 2  Error
sizes LineLength
  • fileExtensions: "java"
4  Error
whitespace ParenPad 1  Error
WhitespaceAfter 1  Error
WhitespaceAround 2  Error

Details

application.properties

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

de/sesqa/ase/Application.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 13
 Error sizes LineLength Line is longer than 80 characters (found 93). 16
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 16
 Error misc FinalParameters Parameter content should be final. 16
 Error sizes LineLength Line is longer than 80 characters (found 133). 25
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 30
 Error whitespace ParenPad ')' is preceded with whitespace. 30
 Error whitespace WhitespaceAround 'try' is not followed by whitespace. 35
 Error sizes LineLength Line is longer than 80 characters (found 99). 37
 Error sizes LineLength Line is longer than 80 characters (found 98). 45
 Error blocks RightCurly '}' at column 7 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally). 47

de/sesqa/ase/BaseController.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error design DesignForExtension Class 'BaseController' looks like designed for extension (can be subclassed), but the method 'index' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BaseController' final or making the method 'index' static/final/abstract/empty, or adding allowed annotation for the method. 16
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 16
 Error misc FinalParameters Parameter model should be final. 17
 Error design DesignForExtension Class 'BaseController' looks like designed for extension (can be subclassed), but the method 'handleMessage' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BaseController' final or making the method 'handleMessage' static/final/abstract/empty, or adding allowed annotation for the method. 23
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 23
 Error misc FinalParameters Parameter message should be final. 25
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 33

de/sesqa/ase/DoraChatBot.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 6
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 8

version.properties

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