Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
26 0 57 0

Files

File  I  W  E
waffle/jaas/UsernamePasswordCallbackHandler.java 0 1 0
waffle/jaas/WindowsLoginModuleTest.java 0 3 0
waffle/mock/MockWindowsAuthProvider.java 0 2 0
waffle/mock/MockWindowsIdentity.java 0 1 0
waffle/mock/MockWindowsSecurityContext.java 0 2 0
waffle/mock/http/RecordUserNameFilterChain.java 0 2 0
waffle/mock/http/SimpleFilterChain.java 0 1 0
waffle/mock/http/SimpleFilterConfig.java 0 1 0
waffle/mock/http/SimpleHttpRequest.java 0 4 0
waffle/mock/http/SimpleHttpResponse.java 0 2 0
waffle/mock/http/SimpleHttpSession.java 0 1 0
waffle/mock/http/SimpleRequestDispatcher.java 0 1 0
waffle/servlet/BasicSecurityFilterTest.java 0 4 0
waffle/servlet/ImpersonateTest.java 0 5 0
waffle/servlet/NegotiateSecurityFilterLoadTest.java 0 2 0
waffle/servlet/NegotiateSecurityFilterTest.java 0 9 0
waffle/servlet/WaffleInfoServletTest.java 0 4 0
waffle/servlet/WindowsPrincipalTest.java 0 2 0
waffle/util/AuthorizationHeaderTest.java 0 6 0
waffle/util/NtlmServletRequestTest.java 0 1 0
waffle/windows/auth/WindowsAuthProviderTest.java 0 3 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
46  Warning
naming AbbreviationAsWordInName
  • tokens: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, PARAMETER_DEF, VARIABLE_DEF, METHOD_DEF, PATTERN_VARIABLE_DEF, RECORD_DEF, RECORD_COMPONENT_DEF"
  • ignoreFinal: "false"
  • allowedAbbreviations: "XML,URL"
  • allowedAbbreviationLength: "0"
8  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
3  Error

Details

waffle/jaas/UsernamePasswordCallbackHandler.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.callback.Callback' 28

waffle/jaas/WindowsLoginModuleTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 32
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 35
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 39

waffle/mock/MockWindowsAuthProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.nio.charset.StandardCharsets' 29
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.windows.auth.IWindowsAccount' 33

waffle/mock/MockWindowsIdentity.java

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

waffle/mock/MockWindowsSecurityContext.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.ArrayList' 29
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.windows.auth.IWindowsIdentity' 32

waffle/mock/http/RecordUserNameFilterChain.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'jakarta.servlet.ServletException' 28
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 32

waffle/mock/http/SimpleFilterChain.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 31

waffle/mock/http/SimpleFilterConfig.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.ArrayList' 29

waffle/mock/http/SimpleHttpRequest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.security.Principal' 30
 Warning imports CustomImportOrder Extra separation in import group before 'org.mockito.Mockito' 36
 Warning naming AbbreviationAsWordInName Abbreviation in name 'requestURI' must contain no more than '1' consecutive capital letters. 47
 Warning naming AbbreviationAsWordInName Abbreviation in name 'setRequestURI' must contain no more than '1' consecutive capital letters. 219

waffle/mock/http/SimpleHttpResponse.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.ByteArrayOutputStream' 31
 Warning imports CustomImportOrder Extra separation in import group before 'org.mockito.Mockito' 41

waffle/mock/http/SimpleHttpSession.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Enumeration' 29

waffle/mock/http/SimpleRequestDispatcher.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 32

waffle/servlet/BasicSecurityFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 31
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 35
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 37
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 42

waffle/servlet/ImpersonateTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'jakarta.servlet.ServletException' 32
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 34
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 39
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 41
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAccount' 47

waffle/servlet/NegotiateSecurityFilterLoadTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 28
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Test' 30

waffle/servlet/NegotiateSecurityFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'jakarta.servlet.ServletException' 34
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 36
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 40
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 42
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 47
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeGET' must contain no more than '1' consecutive capital letters. 104
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengePOST' must contain no more than '1' consecutive capital letters. 128
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPOST' must contain no more than '1' consecutive capital letters. 274
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPUT' must contain no more than '1' consecutive capital letters. 303

waffle/servlet/WaffleInfoServletTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 28
 Warning imports CustomImportOrder Extra separation in import group before 'javax.xml.parsers.DocumentBuilder' 31
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 35
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.http.SimpleHttpRequest' 44

waffle/servlet/WindowsPrincipalTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 36
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsSecurityContext' 40

waffle/util/AuthorizationHeaderTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.http.SimpleHttpRequest' 30
 Warning sizes LineLength Line is longer than 120 characters (found 316). 38
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testIsSPNegTokenInitMessage' must contain no more than '1' consecutive capital letters. 106
 Warning sizes LineLength Line is longer than 120 characters (found 190). 113
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testIsSPNegoPostAuthorizationHeader' must contain no more than '1' consecutive capital letters. 121
 Warning sizes LineLength Line is longer than 120 characters (found 190). 125

waffle/util/NtlmServletRequestTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.http.SimpleHttpRequest' 29

waffle/windows/auth/WindowsAuthProviderTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Base64' 38
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 40
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAccount' 47