Checkstyle Results

The following document contains the results of Checkstyle 8.29 with https://maven.avcompris.com/checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
9 0 0 19

Rules

Category Rule Violations Severity
coding HiddenField
  • tokens: "VARIABLE_DEF"
1  Error
UnnecessaryParentheses 2  Error
design DesignForExtension 2  Error
javadoc JavadocMethod
  • validateThrows: "true"
  • scope: "private"
  • allowMissingReturnTag: "false"
  • allowMissingParamTags: "false"
11  Error
naming AbstractClassName
  • format: "^Abstract.*$|^.*Utils$|^.*Assert$|^.*Matchers$"
1  Error
whitespace ParenPad 2  Error

Details

net/avcompris/examples/users3/web/Application.java

Severity Category Rule Message Line
 Error design DesignForExtension Class 'Application' looks like designed for extension (can be subclassed), but the method 'corsConfigurer' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Application' final or making the method 'corsConfigurer' static/final/abstract/empty, or adding allowed annotation for the method. 126
 Error coding HiddenField 'secure' hides a field. 144
 Error javadoc JavadocMethod Expected @return tag. 163

net/avcompris/examples/users3/web/ApplicationConfig.java

Severity Category Rule Message Line
 Error design DesignForExtension Class 'ApplicationConfig' looks like designed for extension (can be subclassed), but the method 'getRDS' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ApplicationConfig' final or making the method 'getRDS' static/final/abstract/empty, or adding allowed annotation for the method. 19
 Error whitespace ParenPad '(' is followed by whitespace. 29

net/avcompris/examples/users3/web/AuthController.java

Severity Category Rule Message Line
 Error coding UnnecessaryParentheses Unnecessary parentheses around lambda value. 58
 Error javadoc JavadocMethod Expected @return tag. 102
 Error javadoc JavadocMethod Expected @param tag for 'request'. 103
 Error javadoc JavadocMethod Expected @param tag for 'authorizationHeader'. 104
 Error javadoc JavadocMethod Expected @param tag for 'userSessionIdCookie'. 105
 Error javadoc JavadocMethod Expected @param tag for 'userSessionIdHeader'. 106
 Error javadoc JavadocMethod Expected @throws tag for 'ServiceException'. 107
 Error coding UnnecessaryParentheses Unnecessary parentheses around lambda value. 109
 Error javadoc JavadocMethod Expected @return tag. 134
 Error whitespace ParenPad '(' is followed by whitespace. 135
 Error javadoc JavadocMethod Expected @param tag for 'request'. 136
 Error javadoc JavadocMethod Expected @param tag for 'response'. 137
 Error javadoc JavadocMethod Expected @throws tag for 'ServiceException'. 138

net/avcompris/examples/users3/web/MyAbstractController.java

Severity Category Rule Message Line
 Error naming AbstractClassName Name 'MyAbstractController' must match pattern '^Abstract.*$|^.*Utils$|^.*Assert$|^.*Matchers$'. 8