Checkstyle Results

The following document contains the results of Checkstyle 9.3 with config/checkstyle/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
12 0 23 0

Files

File  I  W  E
com/ericbouchut/learndev/LearnDevApplication.java 0 1 0
com/ericbouchut/learndev/auth/AuthController.java 0 6 0
com/ericbouchut/learndev/auth/CustomUserDetailsService.java 0 1 0
com/ericbouchut/learndev/auth/RegistrationService.java 0 4 0
com/ericbouchut/learndev/common/config/SecurityConfig.java 0 2 0
com/ericbouchut/learndev/role/entity/Role.java 0 2 0
com/ericbouchut/learndev/role/repository/RoleRepository.java 0 1 0
com/ericbouchut/learndev/user/entity/User.java 0 3 0
com/ericbouchut/learndev/user/repository/UserRepository.java 0 3 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 1  Warning
imports AvoidStarImport 2  Warning
javadoc JavadocParagraph 1  Warning
JavadocTagContinuationIndentation 1  Warning
MissingJavadocMethod
  • scope: "public"
  • tokens: "METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF"
  • minLineCount: "2"
  • allowedAnnotations: "Override, Test"
2  Warning
MissingJavadocType
  • scope: "protected"
  • excludeScope: "nothing"
  • tokens: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, RECORD_DEF, ANNOTATION_DEF"
7  Warning
NonEmptyAtclauseDescription 1  Warning
RequireEmptyLineBeforeBlockTagGroup 5  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Error
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF"
2  Warning

Details

com/ericbouchut/learndev/LearnDevApplication.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 6

com/ericbouchut/learndev/auth/AuthController.java

Severity Category Rule Message Line
 Warning javadoc RequireEmptyLineBeforeBlockTagGroup Javadoc tag '@return' should be preceded with an empty line. 33
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 34
 Warning javadoc RequireEmptyLineBeforeBlockTagGroup Javadoc tag '@return' should be preceded with an empty line. 43
 Warning javadoc RequireEmptyLineBeforeBlockTagGroup Javadoc tag '@return' should be preceded with an empty line. 52
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 61
 Warning javadoc RequireEmptyLineBeforeBlockTagGroup Javadoc tag '@param' should be preceded with an empty line. 61

com/ericbouchut/learndev/auth/CustomUserDetailsService.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 12

com/ericbouchut/learndev/auth/RegistrationService.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 100 characters (found 101). 27
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 27
 Warning coding VariableDeclarationUsageDistance Distance between variable 'student' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 50
 Warning javadoc RequireEmptyLineBeforeBlockTagGroup Javadoc tag '@param' should be preceded with an empty line. 82

com/ericbouchut/learndev/common/config/SecurityConfig.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 11
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 20

com/ericbouchut/learndev/role/entity/Role.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - jakarta.persistence.*. 3
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 8

com/ericbouchut/learndev/role/repository/RoleRepository.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 8

com/ericbouchut/learndev/user/entity/User.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - jakarta.persistence.*. 4
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 14
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 26

com/ericbouchut/learndev/user/repository/UserRepository.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 10
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous line. 21
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous line. 22