Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
35 0 67 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/MockWindowsIdentityTest.java 0 2 0
waffle/mock/MockWindowsSecurityContext.java 0 2 0
waffle/mock/MockWindowsSecurityContextTest.java 0 1 0
waffle/mock/http/RecordUserNameFilterChain.java 0 2 0
waffle/mock/http/SimpleFilterChain.java 0 1 0
waffle/mock/http/SimpleFilterChainTest.java 0 2 0
waffle/mock/http/SimpleFilterConfig.java 0 1 0
waffle/mock/http/SimpleHttpRequest.java 0 4 0
waffle/mock/http/SimpleHttpRequestTest.java 0 1 0
waffle/mock/http/SimpleHttpResponse.java 0 2 0
waffle/mock/http/SimpleHttpResponseTest.java 0 2 0
waffle/mock/http/SimpleHttpSession.java 0 1 0
waffle/mock/http/SimpleRequestDispatcher.java 0 1 0
waffle/mock/http/SimpleRequestDispatcherTest.java 0 2 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"
56  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' 11

waffle/jaas/WindowsLoginModuleTest.java

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

waffle/mock/MockWindowsAuthProvider.java

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

waffle/mock/MockWindowsIdentity.java

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

waffle/mock/MockWindowsIdentityTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 12
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.windows.auth.IWindowsAccount' 16

waffle/mock/MockWindowsSecurityContext.java

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

waffle/mock/MockWindowsSecurityContextTest.java

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

waffle/mock/http/RecordUserNameFilterChain.java

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

waffle/mock/http/SimpleFilterChain.java

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

waffle/mock/http/SimpleFilterChainTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 12
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 14

waffle/mock/http/SimpleFilterConfig.java

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

waffle/mock/http/SimpleHttpRequest.java

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

waffle/mock/http/SimpleHttpRequestTest.java

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

waffle/mock/http/SimpleHttpResponse.java

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

waffle/mock/http/SimpleHttpResponseTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 11
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 14

waffle/mock/http/SimpleHttpSession.java

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

waffle/mock/http/SimpleRequestDispatcher.java

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

waffle/mock/http/SimpleRequestDispatcherTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 11
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 13

waffle/servlet/BasicSecurityFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 14
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 18
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 20
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 25

waffle/servlet/ImpersonateTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'jakarta.servlet.ServletException' 14
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 16
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 21
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 23
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAccount' 29

waffle/servlet/NegotiateSecurityFilterLoadTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 11
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 13

waffle/servlet/NegotiateSecurityFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'jakarta.servlet.ServletException' 17
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 19
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 24
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 26
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 31
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeGET' must contain no more than '1' consecutive capital letters. 88
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengePOST' must contain no more than '1' consecutive capital letters. 112
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPOST' must contain no more than '1' consecutive capital letters. 259
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPUT' must contain no more than '1' consecutive capital letters. 288

waffle/servlet/WaffleInfoServletTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 11
 Warning imports CustomImportOrder Extra separation in import group before 'javax.xml.XMLConstants' 14
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 19
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.http.SimpleHttpRequest' 28

waffle/servlet/WindowsPrincipalTest.java

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

waffle/util/AuthorizationHeaderTest.java

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

waffle/util/NtlmServletRequestTest.java

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

waffle/windows/auth/WindowsAuthProviderTest.java

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