Checkstyle Source Code Analyzer report
448 violation(s) found
Annotations
Check warning on line 4 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
Using the '.*' form of import should be avoided - com.yas.cart.viewmodel.*.
Check warning on line 17 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*.
Check warning on line 19 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
Extra separation in import group before 'java.security.Principal'
Check warning on line 19 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
Wrong lexicographical order for 'java.security.Principal' import. Should be before 'org.springframework.web.bind.annotation.*'.
Check warning on line 20 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
Wrong lexicographical order for 'java.util.List' import. Should be before 'org.springframework.web.bind.annotation.*'.
Check warning on line 22 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck
Missing a Javadoc comment.
Check warning on line 26 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'member def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 28 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'ctor def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 29 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'ctor def' child has incorrect indentation level 8, expected level should be 4.
Check warning on line 30 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'ctor def rcurly' has incorrect indentation level 4, expected level should be 2.
Check warning on line 32 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 34 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def' child has incorrect indentation level 8, expected level should be 4.
Check warning on line 35 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def rcurly' has incorrect indentation level 4, expected level should be 2.
Check warning on line 37 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 40 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def' child has incorrect indentation level 8, expected level should be 4.
Check warning on line 41 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def rcurly' has incorrect indentation level 4, expected level should be 2.
Check warning on line 43 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 43 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck
Missing a Javadoc comment.
Check warning on line 45 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'if' has incorrect indentation level 8, expected level should be 4.
Check warning on line 46 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'if' child has incorrect indentation level 12, expected level should be 6.
Check warning on line 47 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'if rcurly' has incorrect indentation level 8, expected level should be 4.
Check warning on line 48 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def' child has incorrect indentation level 8, expected level should be 4.
Check warning on line 49 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def rcurly' has incorrect indentation level 4, expected level should be 2.
Check warning on line 51 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
'method def modifier' has incorrect indentation level 4, expected level should be 2.
Check warning on line 52 in cart/src/main/java/com/yas/cart/controller/CartController.java
github-actions / Checkstyle
com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck
Line is longer than 100 characters (found 107).