Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
26 0 62 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 7 0
waffle/mock/http/SimpleRequestDispatcher.java 0 1 0
waffle/servlet/BasicSecurityFilterTest.java 0 3 0
waffle/servlet/ImpersonateTest.java 0 4 0
waffle/servlet/NegotiateSecurityFilterLoadTest.java 0 2 0
waffle/servlet/NegotiateSecurityFilterTest.java 0 8 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/WindowsAuthProviderLoadTest.java 0 2 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
javadoc SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
5  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 'java.io.IOException' 28
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletException' 30

waffle/mock/http/SimpleFilterChain.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.FilterChain' 28

waffle/mock/http/SimpleFilterConfig.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.FilterConfig' 33

waffle/mock/http/SimpleHttpRequest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.http.HttpServletRequest' 32
 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 'javax.servlet.ServletOutputStream' 36
 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' 28
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletContext' 32
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 79
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 91
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 103
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 125
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 141

waffle/mock/http/SimpleRequestDispatcher.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.RequestDispatcher' 28

waffle/servlet/BasicSecurityFilterTest.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.AfterEach' 36
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 41

waffle/servlet/ImpersonateTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 32
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 37
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 40
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAccount' 46

waffle/servlet/NegotiateSecurityFilterLoadTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletException' 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 'java.io.IOException' 34
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 38
 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.MockWindowsAuthProvider' 46
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeGET' must contain no more than '1' consecutive capital letters. 103
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengePOST' must contain no more than '1' consecutive capital letters. 127
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPOST' must contain no more than '1' consecutive capital letters. 273
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPUT' must contain no more than '1' consecutive capital letters. 302

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.servlet.ServletException' 31
 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.http.SimpleHttpRequest' 45

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/WindowsAuthProviderLoadTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletException' 28
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Test' 30

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