Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
43 0 119 8

Files

Files Infos Warnings Errors
org/mitre/oauth2/introspectingfilter/IntrospectingTokenService.java 0 18 0
org/mitre/oauth2/introspectingfilter/OAuth2AccessTokenImpl.java 0 4 0
org/mitre/oauth2/introspectingfilter/service/IntrospectionAuthorityGranter.java 0 1 0
org/mitre/oauth2/introspectingfilter/service/impl/JWTParsingIntrospectionConfigurationService.java 0 3 0
org/mitre/oauth2/introspectingfilter/service/impl/ScopeBasedIntrospectionAuthoritiesGranter.java 0 2 0
org/mitre/oauth2/introspectingfilter/service/impl/SimpleIntrospectionAuthorityGranter.java 0 1 0
org/mitre/openid/connect/client/AuthorizationEndpointException.java 0 1 0
org/mitre/openid/connect/client/NamedAdminAuthoritiesMapper.java 0 1 0
org/mitre/openid/connect/client/OIDCAuthenticationFilter.java 0 49 8
org/mitre/openid/connect/client/OIDCAuthenticationProvider.java 0 1 0
org/mitre/openid/connect/client/OIDCAuthoritiesMapper.java 0 1 0
org/mitre/openid/connect/client/StaticPrefixTargetLinkURIChecker.java 0 1 0
org/mitre/openid/connect/client/SubjectIssuerGrantedAuthority.java 0 2 0
org/mitre/openid/connect/client/UserInfoFetcher.java 0 3 0
org/mitre/openid/connect/client/keypublisher/ClientKeyPublisher.java 0 1 0
org/mitre/openid/connect/client/keypublisher/JwkViewResolver.java 0 1 0
org/mitre/openid/connect/client/service/impl/DynamicRegistrationClientConfigurationService.java 0 2 0
org/mitre/openid/connect/client/service/impl/DynamicServerConfigurationService.java 0 3 0
org/mitre/openid/connect/client/service/impl/EncryptedAuthRequestUrlBuilder.java 0 2 0
org/mitre/openid/connect/client/service/impl/HybridIssuerService.java 0 3 0
org/mitre/openid/connect/client/service/impl/JsonFileRegisteredClientService.java 0 2 0
org/mitre/openid/connect/client/service/impl/PlainAuthRequestUrlBuilder.java 0 1 0
org/mitre/openid/connect/client/service/impl/SignedAuthRequestUrlBuilder.java 0 2 0
org/mitre/openid/connect/client/service/impl/StaticClientConfigurationService.java 0 1 0
org/mitre/openid/connect/client/service/impl/StaticSingleIssuerService.java 0 2 0
org/mitre/openid/connect/client/service/impl/ThirdPartyIssuerService.java 0 2 0
org/mitre/openid/connect/client/service/impl/WebfingerIssuerService.java 0 9 0

Rules

Rules Violations Severity
NewlineAtEndOfFile
  • lineSeparator: "lf"
0 Errors Error
RegexpSingleline
  • format: "((//.*)|(\*.*))FIXME"
  • message: "TODO is preferred to FIXME."
0 Warnings Warning
RedundantImport 0 Errors Error
ImportOrder
  • tokens: "STATIC_IMPORT, IMPORT"
  • option: "top"
23 Warnings Warning
AvoidStarImport 0 Warnings Warning
UnusedImports 0 Errors Error
JavadocStyle 30 Warnings Warning
PackageName
  • format: "^[a-z]+(\.[a-z][a-z0-9]{1,})*$"
0 Warnings Warning
TypeNameCheck 0 Warnings Warning
ConstantNameCheck
  • applyToPackage: "true"
  • format: "^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|FLAG_.*)$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "false"
0 Warnings Warning
StaticVariableNameCheck
  • applyToPackage: "true"
  • format: "^[a-z][a-zA-Z0-9]*_?$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "true"
0 Warnings Warning
MemberNameCheck
  • applyToPackage: "true"
  • format: "^[a-z][a-zA-Z0-9]*$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "true"
0 Warnings Warning
MethodNameCheck
  • format: "^[a-z][a-zA-Z0-9]*(_[a-zA-Z0-9]+)*$"
0 Warnings Warning
ParameterName 0 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName 0 Warnings Warning
LineLength
  • max: "250"
  • ignorePattern: "^(package .*;\s*)|(import .*;\s*)|( *\* *https?://.*)$"
2 Warnings Warning
LeftCurly 0 Warnings Warning
RightCurly
  • option: "same"
0 Warnings Warning
NeedBraces
  • tokens: "LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"
0 Warnings Warning
UpperEll 0 Errors Error
FallThrough
  • reliefPattern: "fall through|Fall through|fallthru|Fallthru|falls through|Falls through|fallthrough|Fallthrough|No break|NO break|no break|continue on"
0 Errors Error
AnnotationUseStyle 0 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
AvoidNestedBlocks 0 Errors Error
CovariantEquals 0 Errors Error
DeclarationOrder 6 Warnings Warning
DefaultComesLast 0 Warnings Warning
EmptyStatement 0 Warnings Warning
MultipleStringLiterals
  • allowedDuplicates: "1"
37 Warnings Warning
NeedBraces 0 Errors Error
PackageDeclaration 0 Errors Error
BooleanExpressionComplexity
  • max: "10"
0 Warnings Warning
CyclomaticComplexity
  • max: "10"
4 Warnings Warning
NPathComplexity
  • max: "200"
2 Warnings Warning
ModifierOrder 8 Errors Error
WhitespaceAround
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SL_ASSIGN, SR_ASSIGN, STAR, STAR_ASSIGN"
12 Warnings Warning
WhitespaceAfter
  • tokens: "COMMA, SEMI, TYPECAST"
2 Warnings Warning
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
  • allowLineBreaks: "true"
0 Warnings Warning
NoWhitespaceBefore
  • tokens: "SEMI, DOT, POST_DEC, POST_INC"
  • allowLineBreaks: "true"
0 Warnings Warning
ParenPad 1 Warnings Warning

Details

org/mitre/oauth2/introspectingfilter/IntrospectingTokenService.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonElement' import. 55
Warnings Instance variable definition in wrong order. 110
Warnings First sentence should end with a period. 111
Warnings Static variable definition in wrong order. 114
Warnings First sentence should end with a period. 144
Warnings First sentence should end with a period. 152
Warnings First sentence should end with a period. 160
Warnings First sentence should end with a period. 168
Warnings First sentence should end with a period. 176
Warnings First sentence should end with a period. 184
Warnings First sentence should end with a period. 192
Warnings First sentence should end with a period. 200
Warnings The String "client_id" appears 3 times in the file. 232
Warnings The String "scope" appears 3 times in the file. 234
Warnings 'if' is not followed by whitespace. 246
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 265
Warnings ')' is preceded with whitespace. 295
Warnings The String "error" appears 2 times in the file. 323

org/mitre/oauth2/introspectingfilter/OAuth2AccessTokenImpl.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Splitter' import. 29
Warnings The String "scope" appears 2 times in the file. 45
Warnings The String "exp" appears 2 times in the file. 49
Warnings 'cast' is not followed by whitespace. 91

org/mitre/oauth2/introspectingfilter/service/IntrospectionAuthorityGranter.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonObject' import. 27

org/mitre/oauth2/introspectingfilter/service/impl/JWTParsingIntrospectionConfigurationService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 31
Warnings The String "Could not find server configuration for issuer " appears 2 times in the file. 98
Warnings The String "No issuer claim found in JWT" appears 2 times in the file. 101

org/mitre/oauth2/introspectingfilter/service/impl/ScopeBasedIntrospectionAuthoritiesGranter.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonObject' import. 29
Warnings The String "scope" appears 3 times in the file. 46

org/mitre/oauth2/introspectingfilter/service/impl/SimpleIntrospectionAuthorityGranter.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonObject' import. 29

org/mitre/openid/connect/client/AuthorizationEndpointException.java

Violation Message Line
Warnings The String " " appears 2 times in the file. 31

org/mitre/openid/connect/client/NamedAdminAuthoritiesMapper.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 34

org/mitre/openid/connect/client/OIDCAuthenticationFilter.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 73
Warnings First sentence should end with a period. 90
Errors 'static' modifier out of order with the JLS suggestions. 98
Warnings The String "redirect_uri" appears 2 times in the file. 98
Errors 'static' modifier out of order with the JLS suggestions. 99
Warnings The String "code_verifier" appears 2 times in the file. 99
Errors 'static' modifier out of order with the JLS suggestions. 100
Warnings The String "state" appears 2 times in the file. 100
Errors 'static' modifier out of order with the JLS suggestions. 101
Warnings The String "nonce" appears 2 times in the file. 101
Errors 'static' modifier out of order with the JLS suggestions. 102
Errors 'static' modifier out of order with the JLS suggestions. 103
Errors 'static' modifier out of order with the JLS suggestions. 104
Warnings Variable access definition in wrong order. 106
Errors 'static' modifier out of order with the JLS suggestions. 106
Warnings '=' is not preceded with whitespace. 112
Warnings '=' is not followed by whitespace. 112
Warnings '=' is not preceded with whitespace. 116
Warnings '=' is not followed by whitespace. 116
Warnings '=' is not preceded with whitespace. 120
Warnings '=' is not followed by whitespace. 120
Warnings '=' is not preceded with whitespace. 123
Warnings '=' is not followed by whitespace. 123
Warnings Variable access definition in wrong order. 144
Warnings First sentence should end with a period. 146
Warnings The String "error" appears 4 times in the file. 184
Warnings The String "code" appears 3 times in the file. 190
Warnings First sentence should end with a period. 206
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 216
Warnings NPath Complexity is 322 (max allowed is 200). 216
Warnings The String "No issuer found: " appears 2 times in the file. 238
Warnings The String "No server configuration found for issuer: " appears 2 times in the file. 244
Warnings The String "No client configuration found for issuer: " appears 2 times in the file. 253
Warnings The String "code_challenge" appears 2 times in the file. 280
Warnings Cyclomatic Complexity is 47 (max allowed is 10). 310
Warnings NPath Complexity is 164,234,880 (max allowed is 200). 310
Warnings The String " got " appears 5 times in the file. 320
Warnings 'if' is not followed by whitespace. 347
Warnings The String "UTF-8" appears 2 times in the file. 369
Warnings The String "access_token" appears 2 times in the file. 485
Warnings The String "id_token" appears 2 times in the file. 491
Warnings The String "Token Endpoint did not return an id_token" appears 2 times in the file. 494
Warnings The String "refresh_token" appears 2 times in the file. 498
Warnings 'cast' is not followed by whitespace. 532
Warnings 'if' is not followed by whitespace. 546
Warnings The String "ID token did not contain a nonce claim." appears 2 times in the file. 603
Warnings The String "Possible replay attack detected! The comparison of the nonce in the returned " appears 2 times in the file. 610
Warnings The String "ID Token to the session " appears 2 times in the file. 611
Warnings The String " failed. Expected " appears 2 times in the file. 611
Warnings The String "." appears 2 times in the file. 611
Warnings First sentence should end with a period. 636
Warnings First sentence should end with a period. 671
Warnings First sentence should end with a period. 683
Warnings First sentence should end with a period. 692
Warnings First sentence should end with a period. 704
Warnings First sentence should end with a period. 713
Warnings First sentence should end with a period. 724

org/mitre/openid/connect/client/OIDCAuthenticationProvider.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 33

org/mitre/openid/connect/client/OIDCAuthoritiesMapper.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 24

org/mitre/openid/connect/client/StaticPrefixTargetLinkURIChecker.java

Violation Message Line
Warnings The String "/" appears 2 times in the file. 32

org/mitre/openid/connect/client/SubjectIssuerGrantedAuthority.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 23
Warnings First sentence should end with a period. 51

org/mitre/openid/connect/client/UserInfoFetcher.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 43
Warnings First sentence should end with a period. 58
Warnings The String "access_token" appears 2 times in the file. 126

org/mitre/openid/connect/client/keypublisher/ClientKeyPublisher.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 32

org/mitre/openid/connect/client/keypublisher/JwkViewResolver.java

Violation Message Line
Warnings First sentence should end with a period. 29

org/mitre/openid/connect/client/service/impl/DynamicRegistrationClientConfigurationService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.cache.CacheBuilder' import. 47
Warnings First sentence should end with a period. 61

org/mitre/openid/connect/client/service/impl/DynamicServerConfigurationService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.cache.CacheBuilder' import. 44
Warnings First sentence should end with a period. 61
Warnings The String "issuer" appears 4 times in the file. 160

org/mitre/openid/connect/client/service/impl/EncryptedAuthRequestUrlBuilder.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 35
Warnings Line is longer than 250 characters (found 260). 56

org/mitre/openid/connect/client/service/impl/HybridIssuerService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 27
Warnings Instance variable definition in wrong order. 72
Warnings Instance variable definition in wrong order. 73

org/mitre/openid/connect/client/service/impl/JsonFileRegisteredClientService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.reflect.TypeToken' import. 37
Warnings First sentence should end with a period. 53

org/mitre/openid/connect/client/service/impl/PlainAuthRequestUrlBuilder.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 33

org/mitre/openid/connect/client/service/impl/SignedAuthRequestUrlBuilder.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 34
Warnings Line is longer than 250 characters (found 264). 50

org/mitre/openid/connect/client/service/impl/StaticClientConfigurationService.java

Violation Message Line
Warnings First sentence should end with a period. 58

org/mitre/openid/connect/client/service/impl/StaticSingleIssuerService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 29
Warnings First sentence should end with a period. 53

org/mitre/openid/connect/client/service/impl/ThirdPartyIssuerService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 35
Warnings First sentence should end with a period. 37

org/mitre/openid/connect/client/service/impl/WebfingerIssuerService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 43
Warnings First sentence should end with a period. 61
Warnings First sentence should end with a period. 92
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 218
Warnings '&&' is not followed by whitespace. 229
Warnings The String "http" appears 3 times in the file. 229
Warnings The String "rel" appears 3 times in the file. 250
Warnings The String "http://openid.net/specs/connect/1.0/issuer" appears 2 times in the file. 250
Warnings The String "href" appears 2 times in the file. 266