Checkstyle Results

The following document contains the results of Checkstyle 10.12.7 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
19 0 47 0

Files

File  I  W  E
waffle/shiro/AbstractWaffleRealm.java 0 1 0
waffle/shiro/GroupMappingWaffleRealm.java 0 1 0
waffle/shiro/GroupMappingWaffleRealmTest.java 0 3 0
waffle/shiro/WaffleFqnPrincipal.java 0 1 0
waffle/shiro/dynamic/DynamicAuthenticationFilter.java 0 11 0
waffle/shiro/dynamic/DynamicAuthenticationFilterTest.java 0 2 0
waffle/shiro/negotiate/AuthenticationInProgressException.java 0 2 0
waffle/shiro/negotiate/MockServletResponse.java 0 1 0
waffle/shiro/negotiate/NegotiateAuthenticationFilter.java 0 7 0
waffle/shiro/negotiate/NegotiateAuthenticationFilterTest.java 0 3 0
waffle/shiro/negotiate/NegotiateAuthenticationRealm.java 0 4 0
waffle/shiro/negotiate/NegotiateAuthenticationRealmTest.java 0 1 0
waffle/shiro/negotiate/NegotiateAuthenticationStrategy.java 0 4 0
waffle/shiro/negotiate/NegotiateInfo.java 0 3 0
waffle/shiro/negotiate/NegotiateToken.java 0 3 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
24  Warning
javadoc InvalidJavadocPosition 3  Warning
JavadocParagraph 14  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
5  Error

Details

waffle/shiro/AbstractWaffleRealm.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.windows.auth.IWindowsAuthProvider' 43

waffle/shiro/GroupMappingWaffleRealm.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authz.AuthorizationInfo' 32

waffle/shiro/GroupMappingWaffleRealmTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Collections' 31
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationException' 33
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 42

waffle/shiro/WaffleFqnPrincipal.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.windows.auth.IWindowsAccount' 31

waffle/shiro/dynamic/DynamicAuthenticationFilter.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationToken' 29
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.shiro.negotiate.NegotiateAuthenticationFilter' 35
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 42
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 42
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 45
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 45
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 48
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 48
 Warning sizes LineLength Line is longer than 120 characters (found 138). 180
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 182
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 182

waffle/shiro/dynamic/DynamicAuthenticationFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'mockit.Expectations' 28
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 32

waffle/shiro/negotiate/AuthenticationInProgressException.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 30
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 30

waffle/shiro/negotiate/MockServletResponse.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.http.HttpServletResponse' 31

waffle/shiro/negotiate/NegotiateAuthenticationFilter.java

Severity Category Rule Message Line
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 31
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletRequest' 42
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationException' 47
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.util.AuthorizationHeader' 56
 Warning sizes LineLength Line is longer than 120 characters (found 122). 246
 Warning sizes LineLength Line is longer than 120 characters (found 158). 247
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '235'. 283

waffle/shiro/negotiate/NegotiateAuthenticationFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.http.HttpServletResponse' 29
 Warning imports CustomImportOrder Extra separation in import group before 'mockit.Tested' 31
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 33

waffle/shiro/negotiate/NegotiateAuthenticationRealm.java

Severity Category Rule Message Line
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 28
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 39
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationException' 41
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.servlet.WindowsPrincipal' 48

waffle/shiro/negotiate/NegotiateAuthenticationRealmTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationException' 30

waffle/shiro/negotiate/NegotiateAuthenticationStrategy.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 165). 41
 Warning sizes LineLength Line is longer than 120 characters (found 156). 43
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 61
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 61

waffle/shiro/negotiate/NegotiateInfo.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationInfo' 28
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 34
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 34

waffle/shiro/negotiate/NegotiateToken.java

Severity Category Rule Message Line
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 28
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 39
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.shiro.authc.AuthenticationInfo' 41