Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
94 0 661 10

Files

Files Infos Warnings Errors
org/mitre/discovery/view/WebfingerView.java 0 4 0
org/mitre/discovery/web/DiscoveryEndpoint.java 0 9 0
org/mitre/oauth2/assertion/AssertionOAuth2RequestFactory.java 0 2 0
org/mitre/oauth2/assertion/impl/DirectCopyRequestFactory.java 0 2 0
org/mitre/oauth2/exception/AuthorizationPendingException.java 0 1 0
org/mitre/oauth2/exception/DeviceCodeExpiredException.java 0 1 0
org/mitre/oauth2/exception/DuplicateClientIdException.java 0 1 0
org/mitre/oauth2/repository/impl/JpaAuthenticationHolderRepository.java 0 13 0
org/mitre/oauth2/repository/impl/JpaAuthorizationCodeRepository.java 0 8 0
org/mitre/oauth2/repository/impl/JpaDeviceCodeRepository.java 0 14 0
org/mitre/oauth2/repository/impl/JpaOAuth2ClientRepository.java 0 4 0
org/mitre/oauth2/repository/impl/JpaOAuth2TokenRepository.java 0 23 0
org/mitre/oauth2/repository/impl/JpaSystemScopeRepository.java 0 12 0
org/mitre/oauth2/service/impl/BlacklistAwareRedirectResolver.java 0 1 0
org/mitre/oauth2/service/impl/DefaultDeviceCodeService.java 0 2 0
org/mitre/oauth2/service/impl/DefaultIntrospectionResultAssembler.java 0 5 0
org/mitre/oauth2/service/impl/DefaultOAuth2AuthorizationCodeService.java 0 4 0
org/mitre/oauth2/service/impl/DefaultOAuth2ClientDetailsEntityService.java 0 22 0
org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java 0 25 0
org/mitre/oauth2/service/impl/DefaultSystemScopeService.java 0 1 0
org/mitre/oauth2/token/ChainedTokenGranter.java 0 1 0
org/mitre/oauth2/token/DeviceTokenGranter.java 0 1 1
org/mitre/oauth2/token/JWTAssertionTokenGranter.java 0 1 0
org/mitre/oauth2/token/ScopeServiceAwareOAuth2RequestValidator.java 0 1 0
org/mitre/oauth2/view/TokenApiView.java 0 8 0
org/mitre/oauth2/web/AuthenticationUtilities.java 0 3 0
org/mitre/oauth2/web/DeviceEndpoint.java 0 16 2
org/mitre/oauth2/web/IntrospectionEndpoint.java 0 6 0
org/mitre/oauth2/web/OAuthConfirmationController.java 0 8 0
org/mitre/oauth2/web/RevocationEndpoint.java 0 7 0
org/mitre/oauth2/web/ScopeAPI.java 0 6 0
org/mitre/oauth2/web/TokenAPI.java 0 13 0
org/mitre/openid/connect/assertion/JWTBearerAssertionAuthenticationToken.java 0 3 0
org/mitre/openid/connect/assertion/JWTBearerAuthenticationProvider.java 0 9 0
org/mitre/openid/connect/assertion/JWTBearerClientAssertionTokenEndpointFilter.java 0 3 0
org/mitre/openid/connect/config/JsonMessageSource.java 0 4 0
org/mitre/openid/connect/exception/ValidationException.java 0 0 1
org/mitre/openid/connect/filter/AuthorizationRequestFilter.java 0 8 2
org/mitre/openid/connect/repository/impl/JpaAddressRepository.java 0 5 0
org/mitre/openid/connect/repository/impl/JpaApprovedSiteRepository.java 0 15 0
org/mitre/openid/connect/repository/impl/JpaBlacklistedSiteRepository.java 0 12 0
org/mitre/openid/connect/repository/impl/JpaPairwiseIdentifierRepository.java 0 4 0
org/mitre/openid/connect/repository/impl/JpaUserInfoRepository.java 0 5 0
org/mitre/openid/connect/repository/impl/JpaWhitelistedSiteRepository.java 0 17 0
org/mitre/openid/connect/request/ConnectOAuth2RequestFactory.java 0 15 0
org/mitre/openid/connect/service/impl/DefaultApprovedSiteService.java 0 10 0
org/mitre/openid/connect/service/impl/DefaultBlacklistedSiteService.java 0 3 0
org/mitre/openid/connect/service/impl/DefaultOIDCTokenService.java 0 6 1
org/mitre/openid/connect/service/impl/DefaultScopeClaimTranslationService.java 0 7 0
org/mitre/openid/connect/service/impl/DefaultStatsService.java 0 1 0
org/mitre/openid/connect/service/impl/DefaultUserInfoService.java 0 1 0
org/mitre/openid/connect/service/impl/DefaultWhitelistedSiteService.java 0 3 0
org/mitre/openid/connect/service/impl/InMemoryClientLogoLoadingService.java 0 1 0
org/mitre/openid/connect/service/impl/MITREidDataServiceSupport.java 0 2 0
org/mitre/openid/connect/service/impl/MITREidDataService_1_0.java 0 29 0
org/mitre/openid/connect/service/impl/MITREidDataService_1_1.java 0 30 0
org/mitre/openid/connect/service/impl/MITREidDataService_1_2.java 0 16 0
org/mitre/openid/connect/service/impl/MITREidDataService_1_3.java 0 19 0
org/mitre/openid/connect/service/impl/MatchLoginHintsAgainstUsers.java 0 1 0
org/mitre/openid/connect/service/impl/RemoveLoginHintsWithHTTP.java 0 2 0
org/mitre/openid/connect/service/impl/UUIDPairwiseIdentiferService.java 0 2 0
org/mitre/openid/connect/token/ConnectTokenEnhancer.java 0 2 0
org/mitre/openid/connect/token/TofuUserApprovalHandler.java 0 3 0
org/mitre/openid/connect/util/IdTokenHashUtils.java 0 7 0
org/mitre/openid/connect/view/AbstractClientEntityView.java 0 2 0
org/mitre/openid/connect/view/ClientEntityViewForAdmins.java 0 1 0
org/mitre/openid/connect/view/ClientEntityViewForUsers.java 0 3 0
org/mitre/openid/connect/view/ClientInformationResponseView.java 0 3 0
org/mitre/openid/connect/view/HttpCodeView.java 0 1 0
org/mitre/openid/connect/view/JsonApprovedSiteView.java 0 3 0
org/mitre/openid/connect/view/JsonEntityView.java 0 3 0
org/mitre/openid/connect/view/JsonErrorView.java 0 4 0
org/mitre/openid/connect/view/UserInfoJWTView.java 0 7 0
org/mitre/openid/connect/view/UserInfoView.java 0 3 0
org/mitre/openid/connect/web/ApprovedSiteAPI.java 0 11 0
org/mitre/openid/connect/web/AuthenticationTimeStamper.java 0 2 0
org/mitre/openid/connect/web/BlacklistAPI.java 0 19 0
org/mitre/openid/connect/web/ClientAPI.java 0 38 0
org/mitre/openid/connect/web/DataAPI.java 0 2 1
org/mitre/openid/connect/web/DynamicClientRegistrationEndpoint.java 0 39 0
org/mitre/openid/connect/web/EndSessionEndpoint.java 0 5 2
org/mitre/openid/connect/web/JWKSetPublishingEndpoint.java 0 1 0
org/mitre/openid/connect/web/ProtectedResourceRegistrationEndpoint.java 0 13 0
org/mitre/openid/connect/web/UserInfoEndpoint.java 0 14 0
org/mitre/openid/connect/web/WhitelistAPI.java 0 17 0

Rules

Rules Violations Severity
NewlineAtEndOfFile
  • lineSeparator: "lf"
2 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"
60 Warnings Warning
AvoidStarImport 0 Warnings Warning
UnusedImports 6 Errors Error
JavadocStyle 98 Warnings Warning
PackageName
  • format: "^[a-z]+(\.[a-z][a-z0-9]{1,})*$"
0 Warnings Warning
TypeNameCheck 4 Warnings Warning
ConstantNameCheck
  • applyToPackage: "true"
  • format: "^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|FLAG_.*)$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "false"
1 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 2 Warnings Warning
LineLength
  • max: "250"
  • ignorePattern: "^(package .*;\s*)|(import .*;\s*)|( *\* *https?://.*)$"
2 Warnings Warning
LeftCurly 0 Warnings Warning
RightCurly
  • option: "same"
6 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 4 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
AvoidNestedBlocks 0 Errors Error
CovariantEquals 0 Errors Error
DeclarationOrder 36 Warnings Warning
DefaultComesLast 0 Warnings Warning
EmptyStatement 0 Warnings Warning
MultipleStringLiterals
  • allowedDuplicates: "1"
154 Warnings Warning
NeedBraces 0 Errors Error
PackageDeclaration 0 Errors Error
BooleanExpressionComplexity
  • max: "10"
1 Warnings Warning
CyclomaticComplexity
  • max: "10"
51 Warnings Warning
NPathComplexity
  • max: "200"
12 Warnings Warning
ModifierOrder 2 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"
203 Warnings Warning
WhitespaceAfter
  • tokens: "COMMA, SEMI, TYPECAST"
27 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 0 Warnings Warning

Details

org/mitre/discovery/view/WebfingerView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 38
Warnings First sentence should end with a period. 52
Warnings 'cast' is not followed by whitespace. 95
Warnings 'cast' is not followed by whitespace. 96

org/mitre/discovery/web/DiscoveryEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Function' import. 54
Warnings First sentence should end with a period. 75
Warnings '=' is not preceded with whitespace. 108
Warnings '=' is not followed by whitespace. 108
Warnings The String "issuer" appears 2 times in the file. 162
Warnings The String "/" appears 2 times in the file. 291
Warnings Line is longer than 250 characters (found 264). 307
Warnings The String "token" appears 2 times in the file. 312
Warnings The String "about" appears 3 times in the file. 358

org/mitre/oauth2/assertion/AssertionOAuth2RequestFactory.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 23
Warnings First sentence should end with a period. 25

org/mitre/oauth2/assertion/impl/DirectCopyRequestFactory.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 28
Warnings First sentence should end with a period. 32

org/mitre/oauth2/exception/AuthorizationPendingException.java

Violation Message Line
Warnings Static variable definition in wrong order. 37

org/mitre/oauth2/exception/DeviceCodeExpiredException.java

Violation Message Line
Warnings Static variable definition in wrong order. 37

org/mitre/oauth2/exception/DuplicateClientIdException.java

Violation Message Line
Warnings Static variable definition in wrong order. 29

org/mitre/oauth2/repository/impl/JpaAuthenticationHolderRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 35
Warnings '=' is not followed by whitespace. 35
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40
Warnings '=' is not preceded with whitespace. 55
Warnings '=' is not followed by whitespace. 55
Warnings '=' is not preceded with whitespace. 66
Warnings '=' is not followed by whitespace. 66
Warnings '=' is not preceded with whitespace. 72
Warnings '=' is not followed by whitespace. 72
Warnings ',' is not followed by whitespace. 74
Warnings '=' is not preceded with whitespace. 79
Warnings '=' is not followed by whitespace. 79

org/mitre/oauth2/repository/impl/JpaAuthorizationCodeRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 44
Warnings '=' is not followed by whitespace. 44
Warnings '=' is not preceded with whitespace. 47
Warnings '=' is not followed by whitespace. 47
Warnings '=' is not preceded with whitespace. 54
Warnings '=' is not followed by whitespace. 54
Warnings '=' is not preceded with whitespace. 65
Warnings '=' is not followed by whitespace. 65

org/mitre/oauth2/repository/impl/JpaDeviceCodeRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 42
Warnings '=' is not followed by whitespace. 42
Warnings '=' is not preceded with whitespace. 48
Warnings '=' is not followed by whitespace. 48
Warnings '=' is not preceded with whitespace. 56
Warnings '=' is not followed by whitespace. 56
Warnings '=' is not preceded with whitespace. 66
Warnings '=' is not followed by whitespace. 66
Warnings '=' is not preceded with whitespace. 76
Warnings '=' is not followed by whitespace. 76
Warnings '=' is not preceded with whitespace. 90
Warnings '=' is not followed by whitespace. 90
Warnings '=' is not preceded with whitespace. 99
Warnings '=' is not followed by whitespace. 99

org/mitre/oauth2/repository/impl/JpaOAuth2ClientRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 37
Warnings '=' is not followed by whitespace. 37
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40

org/mitre/oauth2/repository/impl/JpaOAuth2TokenRepository.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 49
Warnings '=' is not preceded with whitespace. 59
Warnings '=' is not followed by whitespace. 59
Warnings '=' is not preceded with whitespace. 93
Warnings '=' is not followed by whitespace. 93
Warnings '=' is not preceded with whitespace. 99
Warnings '=' is not followed by whitespace. 99
Warnings '=' is not preceded with whitespace. 110
Warnings '=' is not followed by whitespace. 110
Warnings '=' is not preceded with whitespace. 138
Warnings '=' is not followed by whitespace. 138
Warnings '=' is not preceded with whitespace. 144
Warnings '=' is not followed by whitespace. 144
Warnings '=' is not preceded with whitespace. 155
Warnings '=' is not followed by whitespace. 155
Warnings ',' is not followed by whitespace. 216
Warnings '=' is not preceded with whitespace. 235
Warnings '=' is not followed by whitespace. 235
Warnings 'cast' is not followed by whitespace. 243
Warnings The String "jwt" appears 2 times in the file. 250
Warnings '=' is not preceded with whitespace. 260
Warnings '=' is not followed by whitespace. 260
Warnings 'cast' is not followed by whitespace. 267

org/mitre/oauth2/repository/impl/JpaSystemScopeRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 45
Warnings '=' is not followed by whitespace. 45
Warnings '=' is not preceded with whitespace. 52
Warnings '=' is not followed by whitespace. 52
Warnings '=' is not preceded with whitespace. 63
Warnings '=' is not followed by whitespace. 63
Warnings '=' is not preceded with whitespace. 72
Warnings '=' is not followed by whitespace. 72
Warnings '=' is not preceded with whitespace. 83
Warnings '=' is not followed by whitespace. 83
Warnings '=' is not preceded with whitespace. 97
Warnings '=' is not followed by whitespace. 97

org/mitre/oauth2/service/impl/BlacklistAwareRedirectResolver.java

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

org/mitre/oauth2/service/impl/DefaultDeviceCodeService.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 127
Warnings '=' is not followed by whitespace. 127

org/mitre/oauth2/service/impl/DefaultIntrospectionResultAssembler.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 34
Warnings First sentence should end with a period. 43
Warnings The String "Parse exception in token introspection" appears 2 times in the file. 82
Warnings 'if' is not followed by whitespace. 94
Warnings 'if' is not followed by whitespace. 135

org/mitre/oauth2/service/impl/DefaultOAuth2AuthorizationCodeService.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 71
Warnings '=' is not followed by whitespace. 71
Warnings '=' is not preceded with whitespace. 118
Warnings '=' is not followed by whitespace. 118

org/mitre/oauth2/service/impl/DefaultOAuth2ClientDetailsEntityService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 60
Warnings First sentence should end with a period. 71
Warnings The String "Client URI is blacklisted: " appears 2 times in the file. 118
Warnings First sentence should end with a period. 155
Warnings First sentence should end with a period. 166
Warnings First sentence should end with a period. 178
Warnings The String "refresh_token" appears 4 times in the file. 206
Warnings First sentence should end with a period. 213
Warnings Cyclomatic Complexity is 38 (max allowed is 10). 222
Warnings NPath Complexity is 75,817 (max allowed is 200). 222
Warnings The String "authorization_code" appears 3 times in the file. 224
Warnings The String "implicit" appears 3 times in the file. 226
Warnings The String "client_credentials" appears 3 times in the file. 226
Warnings The String "[HEART mode] Incompatible grant types" appears 3 times in the file. 227
Warnings The String "https" appears 2 times in the file. 307
Warnings First sentence should end with a period. 324
Warnings First sentence should end with a period. 334
Warnings The String "Client with id " appears 2 times in the file. 342
Warnings The String " was not found" appears 2 times in the file. 342
Warnings '}' should be on the same line. 343
Warnings First sentence should end with a period. 352
Warnings First sentence should end with a period. 431

org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 68
Warnings First sentence should end with a period. 82
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 182
Warnings NPath Complexity is 225 (max allowed is 200). 182
Warnings '=' is not preceded with whitespace. 183
Warnings '=' is not followed by whitespace. 183
Warnings The String "Code challenge and verifier do not match" appears 2 times in the file. 206
Warnings ';' is not followed by whitespace. 224
Warnings The String "approved_site" appears 2 times in the file. 262
Warnings Cyclomatic Complexity is 14 (max allowed is 10). 316
Warnings NPath Complexity is 1,536 (max allowed is 200). 316
Warnings '=' is not preceded with whitespace. 317
Warnings '=' is not followed by whitespace. 317
Warnings The String "Invalid refresh token: " appears 2 times in the file. 322
Warnings The String " was not found" appears 2 times in the file. 436
Warnings '}' should be on the same line. 459
Warnings '=' is not preceded with whitespace. 469
Warnings '=' is not followed by whitespace. 469
Warnings '=' is not preceded with whitespace. 479
Warnings '=' is not followed by whitespace. 479
Warnings First sentence should end with a period. 501
Warnings '=' is not preceded with whitespace. 549
Warnings '=' is not followed by whitespace. 549
Warnings '=' is not preceded with whitespace. 565
Warnings '=' is not followed by whitespace. 565

org/mitre/oauth2/service/impl/DefaultSystemScopeService.java

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

org/mitre/oauth2/token/ChainedTokenGranter.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 40

org/mitre/oauth2/token/DeviceTokenGranter.java

Violation Message Line
Errors Unused import - org.mitre.oauth2.web.DeviceEndpoint. 25
Warnings First sentence should end with a period. 37

org/mitre/oauth2/token/JWTAssertionTokenGranter.java

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

org/mitre/oauth2/token/ScopeServiceAwareOAuth2RequestValidator.java

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

org/mitre/oauth2/view/TokenApiView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 38
Warnings First sentence should end with a period. 52
Warnings The String "value" appears 2 times in the file. 84
Warnings The String "id" appears 2 times in the file. 85
Warnings The String "scopes" appears 2 times in the file. 88
Warnings The String "clientId" appears 2 times in the file. 90
Warnings The String "userId" appears 2 times in the file. 91
Warnings The String "expiration" appears 2 times in the file. 93

org/mitre/oauth2/web/AuthenticationUtilities.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableSet' import. 24
Warnings First sentence should end with a period. 35
Warnings First sentence should end with a period. 52

org/mitre/oauth2/web/DeviceEndpoint.java

Violation Message Line
Errors Unused import - java.util.UUID. 25
Errors Unused import - org.springframework.security.oauth2.common.util.RandomValueStringGenerator. 50
Warnings Wrong order for 'com.google.common.collect.Sets' import. 61
Warnings First sentence should end with a period. 63
Warnings Variable 'logger' should be in ALL_CAPS (if it is a constant) or be private (otherwise). 77
Warnings '=' is not preceded with whitespace. 95
Warnings '=' is not followed by whitespace. 95
Warnings '=' is not preceded with whitespace. 95
Warnings '=' is not followed by whitespace. 95
Warnings The String "requestUserCode" appears 6 times in the file. 168
Warnings The String "error" appears 5 times in the file. 180
Warnings The String "expiredUserCode" appears 2 times in the file. 186
Warnings The String "client" appears 2 times in the file. 198
Warnings The String "scopes" appears 2 times in the file. 217
Warnings The String "authorizationRequest" appears 2 times in the file. 221
Warnings The String "deviceCode" appears 2 times in the file. 222
Warnings The String "approved" appears 2 times in the file. 252
Warnings The String "deviceApproved" appears 2 times in the file. 253

org/mitre/oauth2/web/IntrospectionEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 52
Warnings First sentence should end with a period. 78
Warnings Static variable definition in wrong order. 81
Warnings ',' is not followed by whitespace. 149
Warnings ',' is not followed by whitespace. 185
Warnings ',' is not followed by whitespace. 202

org/mitre/oauth2/web/OAuthConfirmationController.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 58
Warnings First sentence should end with a period. 91
Warnings Static variable definition in wrong order. 94
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 104
Warnings NPath Complexity is 960 (max allowed is 200). 104
Warnings 'cast' is not followed by whitespace. 111
Warnings Name 'redirect_uri' must match pattern '^[a-z][a-zA-Z0-9]*$'. 158
Warnings The String "gras" appears 2 times in the file. 219

org/mitre/oauth2/web/RevocationEndpoint.java

Violation Message Line
Warnings First sentence should end with a period. 50
Warnings Static variable definition in wrong order. 53
Warnings Static variable definition in wrong order. 55
Warnings Variable access definition in wrong order. 55
Warnings The String "Client " appears 4 times in the file. 95
Warnings The String " tried to revoke a token owned by " appears 2 times in the file. 95
Warnings The String " revoked access token " appears 2 times in the file. 104

org/mitre/oauth2/web/ScopeAPI.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.Gson' import. 44
Warnings First sentence should end with a period. 60
Warnings Static variable definition in wrong order. 63
Warnings The String " could not be found." appears 3 times in the file. 92
Warnings The String " and " appears 2 times in the file. 118
Warnings The String " not found." appears 2 times in the file. 128

org/mitre/oauth2/web/TokenAPI.java

Violation Message Line
Warnings First sentence should end with a period. 47
Warnings First sentence should end with a period. 68
Warnings Static variable definition in wrong order. 71
Warnings The String "getToken failed; token not found: " appears 2 times in the file. 87
Warnings The String "The requested token with id " appears 4 times in the file. 89
Warnings The String " could not be found." appears 7 times in the file. 89
Warnings The String "getToken failed; token does not belong to principal " appears 2 times in the file. 92
Warnings The String "You do not have permission to view this token" appears 4 times in the file. 94
Warnings The String "The requested client with id " appears 3 times in the file. 137
Warnings The String "No registration token could be found." appears 2 times in the file. 156
Warnings The String "refresh token not found: " appears 2 times in the file. 210
Warnings The String "refresh token " appears 2 times in the file. 215
Warnings The String " does not belong to principal " appears 2 times in the file. 215

org/mitre/openid/connect/assertion/JWTBearerAssertionAuthenticationToken.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 29
Warnings First sentence should end with a period. 44
Warnings First sentence should end with a period. 62

org/mitre/openid/connect/assertion/JWTBearerAuthenticationProvider.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. 46
Warnings First sentence should end with a period. 57
Warnings Cyclomatic Complexity is 39 (max allowed is 10). 82
Warnings NPath Complexity is 9,721 (max allowed is 200). 82
Warnings 'cast' is not followed by whitespace. 85
Warnings Boolean expression complexity is 13 (max allowed is 10). 117
Warnings The String " and algorithm " appears 2 times in the file. 140
Warnings The String " got " appears 2 times in the file. 154
Warnings The String "token" appears 2 times in the file. 188

org/mitre/openid/connect/assertion/JWTBearerClientAssertionTokenEndpointFilter.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 42
Warnings The String "client_assertion_type" appears 2 times in the file. 91
Warnings The String "client_assertion" appears 2 times in the file. 92

org/mitre/openid/connect/config/JsonMessageSource.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Splitter' import. 36
Warnings First sentence should end with a period. 83
Warnings First sentence should end with a period. 107
Warnings The String ".json" appears 2 times in the file. 166

org/mitre/openid/connect/exception/ValidationException.java

Violation Message Line
Errors File does not end with a newline. 0

org/mitre/openid/connect/filter/AuthorizationRequestFilter.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Splitter' import. 68
Warnings First sentence should end with a period. 78
Warnings Variable access definition in wrong order. 83
Errors 'static' modifier out of order with the JLS suggestions. 83
Warnings Variable access definition in wrong order. 84
Errors 'static' modifier out of order with the JLS suggestions. 84
Warnings Cyclomatic Complexity is 23 (max allowed is 10). 103
Warnings NPath Complexity is 210 (max allowed is 200). 103
Warnings 'cast' is not followed by whitespace. 138
Warnings The String "Access Denied" appears 2 times in the file. 171

org/mitre/openid/connect/repository/impl/JpaAddressRepository.java

Violation Message Line
Warnings First sentence should end with a period. 28
Warnings '=' is not preceded with whitespace. 37
Warnings '=' is not followed by whitespace. 37
Warnings '=' is not preceded with whitespace. 41
Warnings '=' is not followed by whitespace. 41

org/mitre/openid/connect/repository/impl/JpaApprovedSiteRepository.java

Violation Message Line
Warnings First sentence should end with a period. 33
Warnings '=' is not preceded with whitespace. 42
Warnings '=' is not followed by whitespace. 42
Warnings '=' is not preceded with whitespace. 46
Warnings '=' is not followed by whitespace. 46
Warnings '=' is not preceded with whitespace. 53
Warnings '=' is not followed by whitespace. 53
Warnings '=' is not preceded with whitespace. 59
Warnings '=' is not followed by whitespace. 59
Warnings '=' is not preceded with whitespace. 71
Warnings '=' is not followed by whitespace. 71
Warnings '=' is not preceded with whitespace. 87
Warnings '=' is not followed by whitespace. 87
Warnings '=' is not preceded with whitespace. 97
Warnings '=' is not followed by whitespace. 97

org/mitre/openid/connect/repository/impl/JpaBlacklistedSiteRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 43
Warnings '=' is not followed by whitespace. 43
Warnings '=' is not preceded with whitespace. 50
Warnings '=' is not followed by whitespace. 50
Warnings '=' is not preceded with whitespace. 60
Warnings '=' is not followed by whitespace. 60
Warnings '=' is not preceded with whitespace. 69
Warnings '=' is not followed by whitespace. 69
Warnings '=' is not preceded with whitespace. 85
Warnings '=' is not followed by whitespace. 85
Warnings '=' is not preceded with whitespace. 94
Warnings '=' is not followed by whitespace. 94

org/mitre/openid/connect/repository/impl/JpaPairwiseIdentifierRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 42
Warnings '=' is not followed by whitespace. 42
Warnings '=' is not preceded with whitespace. 61
Warnings '=' is not followed by whitespace. 61

org/mitre/openid/connect/repository/impl/JpaUserInfoRepository.java

Violation Message Line
Warnings First sentence should end with a period. 31
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40
Warnings First sentence should end with a period. 43
Warnings First sentence should end with a period. 55

org/mitre/openid/connect/repository/impl/JpaWhitelistedSiteRepository.java

Violation Message Line
Warnings First sentence should end with a period. 34
Warnings '=' is not preceded with whitespace. 43
Warnings '=' is not followed by whitespace. 43
Warnings '=' is not preceded with whitespace. 47
Warnings '=' is not followed by whitespace. 47
Warnings '=' is not preceded with whitespace. 54
Warnings '=' is not followed by whitespace. 54
Warnings '=' is not preceded with whitespace. 60
Warnings '=' is not followed by whitespace. 60
Warnings '=' is not preceded with whitespace. 72
Warnings '=' is not followed by whitespace. 72
Warnings '=' is not preceded with whitespace. 78
Warnings '=' is not followed by whitespace. 78
Warnings '=' is not preceded with whitespace. 87
Warnings '=' is not followed by whitespace. 87
Warnings '=' is not preceded with whitespace. 95
Warnings '=' is not followed by whitespace. 95

org/mitre/openid/connect/request/ConnectOAuth2RequestFactory.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 59
Warnings First sentence should end with a period. 76
Warnings First sentence should end with a period. 91
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 102
Warnings NPath Complexity is 3,456 (max allowed is 200). 102
Warnings Cyclomatic Complexity is 37 (max allowed is 10). 182
Warnings NPath Complexity is 1,043,200 (max allowed is 200). 182
Warnings 'cast' is not followed by whitespace. 191
Warnings The String "Client not found: " appears 3 times in the file. 201
Warnings The String ")" appears 2 times in the file. 209
Warnings 'cast' is not followed by whitespace. 223
Warnings '+' is not followed by whitespace. 239
Warnings 'cast' is not followed by whitespace. 246
Warnings 'if' is not followed by whitespace. 298
Warnings 'if' is not followed by whitespace. 306

org/mitre/openid/connect/service/impl/DefaultApprovedSiteService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Predicate' import. 38
Warnings First sentence should end with a period. 41
Warnings First sentence should end with a period. 50
Warnings '=' is not preceded with whitespace. 70
Warnings '=' is not followed by whitespace. 70
Warnings '=' is not preceded with whitespace. 83
Warnings '=' is not followed by whitespace. 83
Warnings '=' is not preceded with whitespace. 102
Warnings '=' is not followed by whitespace. 102
Warnings Instance variable definition in wrong order. 174

org/mitre/openid/connect/service/impl/DefaultBlacklistedSiteService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 32
Warnings '=' is not preceded with whitespace. 39
Warnings '=' is not followed by whitespace. 39

org/mitre/openid/connect/service/impl/DefaultOIDCTokenService.java

Violation Message Line
Errors Unused import - org.springframework.security.core.AuthenticationException. 45
Warnings Wrong order for 'com.google.common.base.Strings' import. 51
Warnings First sentence should end with a period. 75
Warnings Cyclomatic Complexity is 22 (max allowed is 10). 98
Warnings NPath Complexity is 320 (max allowed is 200). 98
Warnings 'cast' is not followed by whitespace. 141
Warnings Name 'at_hash' must match pattern '^[a-z][a-zA-Z0-9]*$'. 150

org/mitre/openid/connect/service/impl/DefaultScopeClaimTranslationService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.HashMultimap' import. 26
Warnings First sentence should end with a period. 29
Warnings First sentence should end with a period. 40
Warnings The String "profile" appears 15 times in the file. 46
Warnings The String "email" appears 3 times in the file. 61
Warnings The String "phone" appears 2 times in the file. 64
Warnings The String "address" appears 2 times in the file. 67

org/mitre/openid/connect/service/impl/DefaultStatsService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Supplier' import. 37

org/mitre/openid/connect/service/impl/DefaultUserInfoService.java

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

org/mitre/openid/connect/service/impl/DefaultWhitelistedSiteService.java

Violation Message Line
Warnings First sentence should end with a period. 29
Warnings '=' is not preceded with whitespace. 36
Warnings '=' is not followed by whitespace. 36

org/mitre/openid/connect/service/impl/InMemoryClientLogoLoadingService.java

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

org/mitre/openid/connect/service/impl/MITREidDataServiceSupport.java

Violation Message Line
Warnings First sentence should end with a period. 29
Warnings Static variable definition in wrong order. 32

org/mitre/openid/connect/service/impl/MITREidDataService_1_0.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 67
Warnings Annotation style must be 'COMPACT_NO_ARRAY'. 83
Warnings Name 'MITREidDataService_1_0' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 84
Warnings First sentence should end with a period. 86
Warnings Static variable definition in wrong order. 109
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 128
Warnings The String "Found unexpected entry" appears 21 times in the file. 176
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 197
Warnings The String "id" appears 6 times in the file. 213
Warnings The String "expiration" appears 2 times in the file. 215
Warnings The String "value" appears 3 times in the file. 218
Warnings The String "Unable to set refresh token value to {}" appears 2 times in the file. 223
Warnings The String "clientId" appears 6 times in the file. 225
Warnings The String "authenticationHolderId" appears 2 times in the file. 227
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 258
Warnings The String "scope" appears 3 times in the file. 294
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 327
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 402
Warnings The String "resourceIds" appears 2 times in the file. 428
Warnings The String "authorities" appears 3 times in the file. 430
Warnings The String "responseTypes" appears 2 times in the file. 445
Warnings The String "name" appears 2 times in the file. 478
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 512
Warnings The String "allowedScopes" appears 2 times in the file. 543
Warnings The String "uri" appears 2 times in the file. 636
Warnings Cyclomatic Complexity is 46 (max allowed is 10). 660
Warnings The String "description" appears 2 times in the file. 769
Warnings Cyclomatic Complexity is 11 (max allowed is 10). 802
Warnings 'for' is not followed by whitespace. 895

org/mitre/openid/connect/service/impl/MITREidDataService_1_1.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 69
Warnings Annotation style must be 'COMPACT_NO_ARRAY'. 86
Warnings Name 'MITREidDataService_1_1' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 87
Warnings First sentence should end with a period. 89
Warnings Static variable definition in wrong order. 110
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 130
Warnings The String "Found unexpected entry" appears 21 times in the file. 178
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 200
Warnings The String "id" appears 6 times in the file. 216
Warnings The String "expiration" appears 2 times in the file. 218
Warnings The String "value" appears 3 times in the file. 221
Warnings The String "Unable to set refresh token value to {}" appears 2 times in the file. 226
Warnings The String "clientId" appears 6 times in the file. 228
Warnings The String "authenticationHolderId" appears 2 times in the file. 230
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 261
Warnings The String "scope" appears 3 times in the file. 297
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 330
Warnings Cyclomatic Complexity is 19 (max allowed is 10). 405
Warnings The String "resourceIds" appears 2 times in the file. 430
Warnings The String "authorities" appears 3 times in the file. 432
Warnings The String "responseTypes" appears 2 times in the file. 447
Warnings The String "name" appears 2 times in the file. 488
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 522
Warnings The String "allowedScopes" appears 2 times in the file. 553
Warnings The String "uri" appears 2 times in the file. 646
Warnings Cyclomatic Complexity is 46 (max allowed is 10). 670
Warnings The String "description" appears 2 times in the file. 779
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 812
Warnings The String "Found a structured scope, ignoring structure" appears 2 times in the file. 835
Warnings 'for' is not followed by whitespace. 909

org/mitre/openid/connect/service/impl/MITREidDataService_1_2.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.stream.JsonReader' import. 58
Warnings Annotation style must be 'COMPACT_NO_ARRAY'. 75
Warnings Name 'MITREidDataService_1_2' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 76
Warnings First sentence should end with a period. 145
Warnings Static variable definition in wrong order. 168
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 187
Warnings The String "Found unexpected entry" appears 18 times in the file. 233
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 255
Warnings The String "Unable to set refresh token value to {}" appears 2 times in the file. 281
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 316
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 385
Warnings Cyclomatic Complexity is 15 (max allowed is 10). 498
Warnings Cyclomatic Complexity is 50 (max allowed is 10). 640
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 793
Warnings The String "Found a structured scope, ignoring structure" appears 2 times in the file. 817
Warnings 'for' is not followed by whitespace. 889

org/mitre/openid/connect/service/impl/MITREidDataService_1_3.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.stream.JsonReader' import. 62
Warnings Annotation style must be 'COMPACT_NO_ARRAY'. 79
Warnings Name 'MITREidDataService_1_3' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 80
Warnings First sentence should end with a period. 154
Warnings Static variable definition in wrong order. 175
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 296
Warnings NPath Complexity is 433 (max allowed is 200). 296
Warnings Cyclomatic Complexity is 22 (max allowed is 10). 435
Warnings NPath Complexity is 524,290 (max allowed is 200). 435
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 566
Warnings The String "Found unexpected entry" appears 18 times in the file. 619
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 642
Warnings The String "Unable to set refresh token value to {}" appears 2 times in the file. 668
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 703
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 772
Warnings Cyclomatic Complexity is 15 (max allowed is 10). 885
Warnings Cyclomatic Complexity is 58 (max allowed is 10). 1028
Warnings Cyclomatic Complexity is 11 (max allowed is 10). 1200
Warnings 'for' is not followed by whitespace. 1292

org/mitre/openid/connect/service/impl/MatchLoginHintsAgainstUsers.java

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

org/mitre/openid/connect/service/impl/RemoveLoginHintsWithHTTP.java

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

org/mitre/openid/connect/service/impl/UUIDPairwiseIdentiferService.java

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

org/mitre/openid/connect/token/ConnectTokenEnhancer.java

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

org/mitre/openid/connect/token/TofuUserApprovalHandler.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Splitter' import. 51
Warnings The String "user_oauth_approval" appears 2 times in the file. 106
Warnings ',' is not followed by whitespace. 191

org/mitre/openid/connect/util/IdTokenHashUtils.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. 29
Warnings First sentence should end with a period. 41
Warnings First sentence should end with a period. 46
Warnings First sentence should end with a period. 57
Warnings Cyclomatic Complexity is 15 (max allowed is 10). 72
Warnings '}' should be on the same line. 80
Warnings '}' should be on the same line. 84

org/mitre/openid/connect/view/AbstractClientEntityView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 38
Warnings First sentence should end with a period. 63

org/mitre/openid/connect/view/ClientEntityViewForAdmins.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableSet' import. 28

org/mitre/openid/connect/view/ClientEntityViewForUsers.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableSet' import. 28
Warnings Static variable definition in wrong order. 46
Warnings Variable access definition in wrong order. 46

org/mitre/openid/connect/view/ClientInformationResponseView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.Gson' import. 39
Warnings First sentence should end with a period. 54
Warnings Variable access definition in wrong order. 59

org/mitre/openid/connect/view/HttpCodeView.java

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

org/mitre/openid/connect/view/JsonApprovedSiteView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 41
Warnings First sentence should end with a period. 57
Warnings Variable access definition in wrong order. 62

org/mitre/openid/connect/view/JsonEntityView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 38
Warnings First sentence should end with a period. 52
Warnings Variable access definition in wrong order. 57

org/mitre/openid/connect/view/JsonErrorView.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 35
Warnings The String "error" appears 2 times in the file. 57
Warnings First sentence should end with a period. 59
Warnings Variable access definition in wrong order. 64

org/mitre/openid/connect/view/UserInfoJWTView.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 44
Warnings First sentence should end with a period. 64
Warnings Variable access definition in wrong order. 69
Warnings Variable access definition in wrong order. 71
Warnings Variable access definition in wrong order. 72
Warnings Cyclomatic Complexity is 14 (max allowed is 10). 87
Warnings 'cast' is not followed by whitespace. 92

org/mitre/openid/connect/view/UserInfoView.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.ExclusionStrategy' import. 40
Warnings First sentence should end with a period. 60
Warnings Variable access definition in wrong order. 68

org/mitre/openid/connect/web/ApprovedSiteAPI.java

Violation Message Line
Warnings First sentence should end with a period. 58
Warnings Static variable definition in wrong order. 61
Warnings First sentence should end with a period. 63
Warnings First sentence should end with a period. 78
Warnings '=' is not preceded with whitespace. 82
Warnings '=' is not followed by whitespace. 82
Warnings The String " could not be found." appears 2 times in the file. 89
Warnings The String " does not own approved site" appears 2 times in the file. 93
Warnings First sentence should end with a period. 105
Warnings '=' is not preceded with whitespace. 108
Warnings '=' is not followed by whitespace. 108

org/mitre/openid/connect/web/AuthenticationTimeStamper.java

Violation Message Line
Warnings First sentence should end with a period. 48
Warnings Variable access definition in wrong order. 53

org/mitre/openid/connect/web/BlacklistAPI.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.Gson' import. 44
Warnings First sentence should end with a period. 63
Warnings Static variable definition in wrong order. 66
Warnings First sentence should end with a period. 71
Warnings First sentence should end with a period. 86
Warnings '}' should be on the same line. 107
Warnings First sentence should end with a period. 124
Warnings '=' is not preceded with whitespace. 127
Warnings '=' is not followed by whitespace. 127
Warnings '}' should be on the same line. 139
Warnings The String " could not be found" appears 3 times in the file. 156
Warnings First sentence should end with a period. 170
Warnings '=' is not preceded with whitespace. 174
Warnings '=' is not followed by whitespace. 174
Warnings The String "Could not delete bladklist. The requested bladklist with id " appears 2 times in the file. 180
Warnings The String " could not be found." appears 2 times in the file. 180
Warnings First sentence should end with a period. 190
Warnings '=' is not preceded with whitespace. 193
Warnings '=' is not followed by whitespace. 193

org/mitre/openid/connect/web/ClientAPI.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 63
Warnings Wrong order for 'org.mitre.oauth2.model.RegisteredClientFields.APPLICATION_TYPE' import. 83
Warnings First sentence should end with a period. 218
Warnings Static variable definition in wrong order. 221
Warnings First sentence should end with a period. 223
Warnings First sentence should end with a period. 241
Warnings Cyclomatic Complexity is 21 (max allowed is 10). 248
Warnings The String "apiUpdateClient failed due to ValidationException" appears 2 times in the file. 270
Warnings The String "Could not update client. The server encountered a ValidationException." appears 2 times in the file. 272
Warnings The String "generateClientSecret" appears 4 times in the file. 292
Warnings The String "tried to create client with private key auth but no private key" appears 2 times in the file. 300
Warnings The String "Can not create a client with private key authentication without registering a key via the JWK Set URI or JWK Set Value." appears 2 times in the file. 302
Warnings The String "unknown auth method" appears 2 times in the file. 311
Warnings The String "Unknown auth method requested" appears 2 times in the file. 313
Warnings The String "Unable to save client: {}" appears 2 times in the file. 331
Warnings The String "Unable to save client: " appears 2 times in the file. 333
Warnings 'if' is not followed by whitespace. 339
Warnings First sentence should end with a period. 350
Warnings Cyclomatic Complexity is 19 (max allowed is 10). 358
Warnings '=' is not preceded with whitespace. 359
Warnings '=' is not followed by whitespace. 359
Warnings The String " could not be found." appears 4 times in the file. 390
Warnings The String "could not be found." appears 2 times in the file. 392
Warnings First sentence should end with a period. 456
Warnings '=' is not preceded with whitespace. 463
Warnings '=' is not followed by whitespace. 463
Warnings '=' is not preceded with whitespace. 463
Warnings '=' is not followed by whitespace. 463
Warnings First sentence should end with a period. 482
Warnings '=' is not preceded with whitespace. 488
Warnings '=' is not followed by whitespace. 488
Warnings '=' is not preceded with whitespace. 488
Warnings '=' is not followed by whitespace. 488
Warnings First sentence should end with a period. 509
Warnings '=' is not preceded with whitespace. 513
Warnings '=' is not followed by whitespace. 513
Warnings Cyclomatic Complexity is 43 (max allowed is 10). 534
Warnings The String "invalid_client_metadata" appears 9 times in the file. 545

org/mitre/openid/connect/web/DataAPI.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.google.common.collect.ImmutableList' import. 42
Warnings First sentence should end with a period. 61

org/mitre/openid/connect/web/DynamicClientRegistrationEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 64
Warnings Wrong order for 'org.mitre.oauth2.model.RegisteredClientFields.APPLICATION_TYPE' import. 74
Warnings First sentence should end with a period. 141
Warnings Static variable definition in wrong order. 144
Warnings Cyclomatic Complexity is 14 (max allowed is 10). 153
Warnings The String "registerNewClient failed; submitted JSON is malformed" appears 2 times in the file. 162
Warnings The String "authorization_code" appears 8 times in the file. 209
Warnings 'cast' is not followed by whitespace. 210
Warnings 'cast' is not followed by whitespace. 211
Warnings 'cast' is not followed by whitespace. 212
Warnings The String "implicit" appears 6 times in the file. 213
Warnings 'cast' is not followed by whitespace. 214
Warnings 'cast' is not followed by whitespace. 215
Warnings The String "client_credentials" appears 6 times in the file. 217
Warnings 'cast' is not followed by whitespace. 218
Warnings 'cast' is not followed by whitespace. 223
Warnings 'cast' is not followed by whitespace. 224
Warnings The String "register/" appears 3 times in the file. 244
Warnings The String "UTF-8" appears 3 times in the file. 244
Warnings The String "client" appears 3 times in the file. 245
Warnings The String "Unsupported encoding" appears 3 times in the file. 250
Warnings The String "Couldn't save client" appears 2 times in the file. 254
Warnings The String "invalid_client_metadata" appears 21 times in the file. 256
Warnings The String "Unable to save client due to invalid or inconsistent metadata." appears 2 times in the file. 257
Warnings The String "readClientConfiguration failed, client ID mismatch: " appears 2 times in the file. 304
Warnings The String " and " appears 3 times in the file. 305
Warnings The String " do not match." appears 3 times in the file. 305
Warnings Cyclomatic Complexity is 22 (max allowed is 10). 462
Warnings NPath Complexity is 2,500 (max allowed is 200). 462
Warnings The String "refresh_token" appears 4 times in the file. 466
Warnings The String "password" appears 2 times in the file. 482
Warnings The String "Incompatible grant types requested: " appears 3 times in the file. 498
Warnings The String "token" appears 2 times in the file. 501
Warnings The String "Incompatible response types requested: " appears 3 times in the file. 503
Warnings The String " / " appears 3 times in the file. 503
Warnings The String "code" appears 2 times in the file. 506
Warnings The String "invalid_redirect_uri" appears 3 times in the file. 562
Warnings Cyclomatic Complexity is 43 (max allowed is 10). 614
Warnings 'if' is not followed by whitespace. 766

org/mitre/openid/connect/web/EndSessionEndpoint.java

Violation Message Line
Errors Unused import - org.mitre.jwt.assertion.AssertionValidator. 25
Errors Unused import - org.springframework.web.util.UriUtils. 45
Warnings Wrong order for 'com.google.common.base.Strings' import. 47
Warnings First sentence should end with a period. 53
Warnings The String "client" appears 2 times in the file. 64
Warnings The String "state" appears 2 times in the file. 65
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 79

org/mitre/openid/connect/web/JWKSetPublishingEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.jwk.JWK' import. 30

org/mitre/openid/connect/web/ProtectedResourceRegistrationEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 55
Warnings First sentence should end with a period. 82
Warnings Static variable definition in wrong order. 85
Warnings The String "resource/" appears 3 times in the file. 175
Warnings The String "UTF-8" appears 3 times in the file. 175
Warnings The String "client" appears 3 times in the file. 176
Warnings The String "Unsupported encoding" appears 3 times in the file. 181
Warnings The String "Couldn't save client" appears 2 times in the file. 185
Warnings The String "invalid_client_metadata" appears 4 times in the file. 187
Warnings The String "Unable to save client due to invalid or inconsistent metadata." appears 2 times in the file. 188
Warnings The String " and " appears 3 times in the file. 256
Warnings The String " do not match." appears 3 times in the file. 256
Warnings 'if' is not followed by whitespace. 450

org/mitre/openid/connect/web/UserInfoEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 45
Warnings First sentence should end with a period. 65
Warnings Static variable definition in wrong order. 68
Warnings First sentence should end with a period. 70
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 73
Warnings '=' is not preceded with whitespace. 74
Warnings '=' is not preceded with whitespace. 75
Warnings '=' is not followed by whitespace. 75
Warnings '=' is not preceded with whitespace. 75
Warnings '=' is not followed by whitespace. 75
Warnings '=' is not preceded with whitespace. 76
Warnings '=' is not followed by whitespace. 76
Warnings '=' is not preceded with whitespace. 76
Warnings '=' is not followed by whitespace. 76

org/mitre/openid/connect/web/WhitelistAPI.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.Gson' import. 44
Warnings First sentence should end with a period. 63
Warnings Static variable definition in wrong order. 66
Warnings First sentence should end with a period. 71
Warnings First sentence should end with a period. 86
Warnings Line is longer than 250 characters (found 253). 112
Warnings First sentence should end with a period. 127
Warnings '=' is not preceded with whitespace. 131
Warnings '=' is not followed by whitespace. 131
Warnings The String " could not be found." appears 3 times in the file. 156
Warnings The String "could not be found." appears 3 times in the file. 158
Warnings First sentence should end with a period. 170
Warnings '=' is not preceded with whitespace. 175
Warnings '=' is not followed by whitespace. 175
Warnings First sentence should end with a period. 192
Warnings '=' is not preceded with whitespace. 195
Warnings '=' is not followed by whitespace. 195