Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
36 0 73 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/MockWindowsAuthProviderTest.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 1 0
waffle/mock/http/SimpleHttpSession.java 0 7 0
waffle/mock/http/SimpleRequestDispatcher.java 0 1 0
waffle/mock/http/SimpleRequestDispatcherTest.java 0 2 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"
57  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' 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/MockWindowsAuthProviderTest.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.IWindowsComputer' 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 'java.io.IOException' 11
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletException' 13

waffle/mock/http/SimpleFilterChain.java

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

waffle/mock/http/SimpleFilterChainTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletRequest' 11
 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 'javax.servlet.FilterConfig' 16

waffle/mock/http/SimpleHttpRequest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.http.HttpServletRequest' 16
 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 'javax.servlet.ServletOutputStream' 19
 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 'org.junit.jupiter.api.Assertions' 12

waffle/mock/http/SimpleHttpSession.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Enumeration' 11
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletContext' 15
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 62
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 74
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 86
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 108
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 124

waffle/mock/http/SimpleRequestDispatcher.java

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

waffle/mock/http/SimpleRequestDispatcherTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.servlet.ServletException' 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 'javax.security.auth.Subject' 15
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 19
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 24

waffle/servlet/ImpersonateTest.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' 19
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 22
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAccount' 28

waffle/servlet/NegotiateSecurityFilterLoadTest.java

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

waffle/servlet/NegotiateSecurityFilterTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 17
 Warning imports CustomImportOrder Extra separation in import group before 'javax.security.auth.Subject' 22
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.AfterEach' 25
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.MockWindowsAuthProvider' 30
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeGET' must contain no more than '1' consecutive capital letters. 87
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengePOST' must contain no more than '1' consecutive capital letters. 111
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPOST' must contain no more than '1' consecutive capital letters. 258
 Warning naming AbbreviationAsWordInName Abbreviation in name 'testChallengeNTLMPUT' must contain no more than '1' consecutive capital letters. 287

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.servlet.ServletException' 14
 Warning imports CustomImportOrder Extra separation in import group before 'org.junit.jupiter.api.Assertions' 20
 Warning imports CustomImportOrder Extra separation in import group before 'waffle.mock.http.SimpleHttpRequest' 29

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

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

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