Checkstyle Results

The following document contains the results of Checkstyle 10.13.0 with /checkstyle/google_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
114 0 19 0

Files

File  I  W  E
springboot/bg/harisauto/common/config/swagger/SwaggerSecurityConfig.java 0 8 0
springboot/bg/harisauto/common/exception/GlobalExceptionHandler.java 0 1 0
springboot/bg/harisauto/dev/DevModeProperties.java 0 1 0
springboot/bg/harisauto/invoice/repository/InvoiceRepository.java 0 2 0
springboot/bg/harisauto/news/controller/AdminNewsController.java 0 3 0
springboot/bg/harisauto/news/service/NewsService.java 0 2 0
springboot/bg/harisauto/payment/controller/PaymentController.java 0 2 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
3  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "2"
  • caseIndent: "2"
  • basicOffset: "2"
  • braceAdjustment: "2"
  • lineWrappingIndentation: "4"
8  Warning
javadoc JavadocParagraph
  • allowNewlineParagraph: "false"
1  Warning
MissingJavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • scope: "protected"
  • tokens: "METHOD_DEF, ANNOTATION_FIELD_DEF"
  • allowedAnnotations: "Override, Test"
7  Warning

Details

springboot/bg/harisauto/common/config/swagger/SwaggerSecurityConfig.java

Severity Category Rule Message Line
 Warning indentation Indentation '.' has incorrect indentation level 4, expected level should be 8. 59
 Warning indentation Indentation '.' has incorrect indentation level 4, expected level should be 8. 63
 Warning indentation Indentation '.' has incorrect indentation level 4, expected level should be 8. 66
 Warning indentation Indentation '.' has incorrect indentation level 4, expected level should be 8. 68
 Warning indentation Indentation '.' has incorrect indentation level 4, expected level should be 8. 70
 Warning indentation Indentation 'method call' child has incorrect indentation level 4, expected level should be 8. 71
 Warning indentation Indentation 'sessionManagement' has incorrect indentation level 6, expected level should be 8. 72
 Warning indentation Indentation 'method call rparen' has incorrect indentation level 4, expected level should be 8. 73

springboot/bg/harisauto/common/exception/GlobalExceptionHandler.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.springframework.web.server.ResponseStatusException' import. Should be before 'org.springframework.web.servlet.ModelAndView'. 12

springboot/bg/harisauto/dev/DevModeProperties.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 11

springboot/bg/harisauto/invoice/repository/InvoiceRepository.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 17
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 19

springboot/bg/harisauto/news/controller/AdminNewsController.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 30
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 38
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 59

springboot/bg/harisauto/news/service/NewsService.java

Severity Category Rule Message Line
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 29
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 45

springboot/bg/harisauto/payment/controller/PaymentController.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'lombok.extern.slf4j.Slf4j' import. Should be before 'springboot.bg.harisauto.dev.DevModeProperties'. 17
 Warning imports CustomImportOrder Wrong lexicographical order for 'springboot.bg.harisauto.payment.PaymentVerificationProperties' import. Should be before 'springboot.bg.harisauto.payment.dto.request.PaymentRequest'. 22