Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
262 0 1460 26

Files

Files Infos Warnings Errors
org/mitre/data/AbstractPageOperationTemplate.java 0 11 0
org/mitre/discovery/util/WebfingerURLNormalizer.java 0 5 0
org/mitre/discovery/view/WebfingerView.java 0 4 0
org/mitre/discovery/web/DiscoveryEndpoint.java 0 9 0
org/mitre/jose/keystore/JWKSetKeyStore.java 0 3 0
org/mitre/jwt/assertion/impl/NullAssertionValidator.java 0 1 0
org/mitre/jwt/assertion/impl/SelfAssertionValidator.java 0 2 0
org/mitre/jwt/assertion/impl/WhitelistedIssuerAssertionValidator.java 0 4 0
org/mitre/jwt/encryption/service/JWTEncryptionAndDecryptionService.java 0 2 0
org/mitre/jwt/encryption/service/impl/DefaultJWTEncryptionAndDecryptionService.java 0 2 0
org/mitre/jwt/signer/service/JWTSigningAndValidationService.java 0 2 1
org/mitre/jwt/signer/service/impl/ClientKeyCacheService.java 0 2 0
org/mitre/jwt/signer/service/impl/DefaultJWTSigningAndValidationService.java 0 6 0
org/mitre/jwt/signer/service/impl/JWKSetCacheService.java 0 4 0
org/mitre/jwt/signer/service/impl/SymmetricKeyJWTValidatorCacheService.java 0 5 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/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/oauth2/model/AuthenticationHolderEntity.java 0 62 0
org/mitre/oauth2/model/AuthorizationCodeEntity.java 0 1 0
org/mitre/oauth2/model/ClientDetailsEntity.java 0 160 0
org/mitre/oauth2/model/DeviceCode.java 0 18 0
org/mitre/oauth2/model/OAuth2AccessTokenEntity.java 0 19 0
org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java 0 6 0
org/mitre/oauth2/model/PKCEAlgorithm.java 0 3 0
org/mitre/oauth2/model/RegisteredClient.java 0 1 0
org/mitre/oauth2/model/SavedUserAuthentication.java 0 18 0
org/mitre/oauth2/model/SystemScope.java 0 4 0
org/mitre/oauth2/model/convert/JWEAlgorithmStringConverter.java 0 1 1
org/mitre/oauth2/model/convert/JWEEncryptionMethodStringConverter.java 0 1 1
org/mitre/oauth2/model/convert/JWKSetStringConverter.java 0 1 0
org/mitre/oauth2/model/convert/JWSAlgorithmStringConverter.java 0 1 1
org/mitre/oauth2/model/convert/JWTStringConverter.java 0 1 0
org/mitre/oauth2/model/convert/JsonElementStringConverter.java 0 1 0
org/mitre/oauth2/model/convert/SerializableStringConverter.java 0 1 0
org/mitre/oauth2/repository/AuthorizationCodeRepository.java 0 2 0
org/mitre/oauth2/repository/OAuth2TokenRepository.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/IntrospectionResultAssembler.java 0 1 0
org/mitre/oauth2/service/SystemScopeService.java 0 4 0
org/mitre/oauth2/service/impl/BlacklistAwareRedirectResolver.java 0 1 0
org/mitre/oauth2/service/impl/DefaultClientUserDetailsService.java 0 4 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/service/impl/UriEncodedClientUserDetailsService.java 0 4 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/ClientDetailsEntityJsonProcessor.java 0 7 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/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
org/mitre/openid/connect/config/ConfigurationPropertiesBean.java 0 5 0
org/mitre/openid/connect/config/JWKSetEditor.java 0 1 0
org/mitre/openid/connect/config/JsonMessageSource.java 0 4 0
org/mitre/openid/connect/config/ServerConfiguration.java 0 7 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/model/Address.java 0 1 0
org/mitre/openid/connect/model/ApprovedSite.java 0 21 0
org/mitre/openid/connect/model/BlacklistedSite.java 0 4 0
org/mitre/openid/connect/model/DefaultAddress.java 0 11 0
org/mitre/openid/connect/model/DefaultUserInfo.java 0 64 0
org/mitre/openid/connect/model/OIDCAuthenticationToken.java 0 2 0
org/mitre/openid/connect/model/PairwiseIdentifier.java 0 6 0
org/mitre/openid/connect/model/PendingOIDCAuthenticationToken.java 0 2 0
org/mitre/openid/connect/model/UserInfo.java 0 1 0
org/mitre/openid/connect/model/WhitelistedSite.java 0 15 0
org/mitre/openid/connect/model/convert/JsonObjectStringConverter.java 0 1 0
org/mitre/openid/connect/repository/AddressRepository.java 0 2 0
org/mitre/openid/connect/repository/ApprovedSiteRepository.java 0 8 0
org/mitre/openid/connect/repository/UserInfoRepository.java 0 3 0
org/mitre/openid/connect/repository/WhitelistedSiteRepository.java 0 7 0
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/ApprovedSiteService.java 0 8 0
org/mitre/openid/connect/service/MITREidDataService.java 0 4 1
org/mitre/openid/connect/service/MITREidDataServiceExtension.java 0 3 0
org/mitre/openid/connect/service/OIDCTokenService.java 0 2 1
org/mitre/openid/connect/service/StatsService.java 0 2 0
org/mitre/openid/connect/service/UserInfoService.java 0 1 0
org/mitre/openid/connect/service/WhitelistedSiteService.java 0 7 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/JWKSetView.java 0 2 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/UserInfoInterceptor.java 0 3 0
org/mitre/openid/connect/web/WhitelistAPI.java 0 17 0
org/mitre/uma/model/Claim.java 0 3 0
org/mitre/uma/model/Permission.java 0 0 1
org/mitre/uma/model/Policy.java 0 2 0
org/mitre/uma/model/ResourceSet.java 0 3 0
org/mitre/uma/model/convert/RegisteredClientStringConverter.java 0 1 0
org/mitre/uma/repository/PermissionRepository.java 0 4 0
org/mitre/uma/repository/impl/JpaPermissionRepository.java 0 8 0
org/mitre/uma/repository/impl/JpaResourceSetRepository.java 0 7 0
org/mitre/uma/service/PermissionService.java 0 0 1
org/mitre/uma/service/impl/DefaultResourceSetService.java 0 1 0
org/mitre/uma/service/impl/DefaultUmaTokenService.java 0 1 0
org/mitre/uma/service/impl/JpaRegisteredClientService.java 0 4 0
org/mitre/uma/service/impl/UmaDataServiceExtension_1_3.java 0 9 0
org/mitre/uma/util/ExternalLoginAuthoritiesMapper.java 0 1 0
org/mitre/uma/view/ResourceSetEntityAbbreviatedView.java 0 3 0
org/mitre/uma/view/ResourceSetEntityView.java 0 2 0
org/mitre/uma/web/AuthorizationRequestEndpoint.java 0 7 0
org/mitre/uma/web/ClaimsCollectionEndpoint.java 0 4 0
org/mitre/uma/web/PermissionRegistrationEndpoint.java 0 5 0
org/mitre/uma/web/PolicyAPI.java 0 13 0
org/mitre/uma/web/ResourceSetRegistrationEndpoint.java 0 12 0
org/mitre/uma/web/UmaDiscoveryEndpoint.java 0 1 0
org/mitre/uma/web/UserClaimSearchHelper.java 0 6 0
org/mitre/util/JsonUtils.java 0 17 0
org/mitre/util/jpa/JpaUtil.java 0 2 0

Rules

Rules Violations Severity
NewlineAtEndOfFile
  • lineSeparator: "lf"
8 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"
138 Warnings Warning
AvoidStarImport 0 Warnings Warning
UnusedImports 8 Errors Error
JavadocStyle 248 Warnings Warning
PackageName
  • format: "^[a-z]+(\.[a-z][a-z0-9]{1,})*$"
0 Warnings Warning
TypeNameCheck 5 Warnings Warning
ConstantNameCheck
  • applyToPackage: "true"
  • format: "^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|FLAG_.*)$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "false"
4 Warnings Warning
StaticVariableNameCheck
  • applyToPackage: "true"
  • format: "^[a-z][a-zA-Z0-9]*_?$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "true"
4 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 1 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName 2 Warnings Warning
LineLength
  • max: "250"
  • ignorePattern: "^(package .*;\s*)|(import .*;\s*)|( *\* *https?://.*)$"
5 Warnings Warning
LeftCurly 0 Warnings Warning
RightCurly
  • option: "same"
8 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 64 Warnings Warning
DefaultComesLast 0 Warnings Warning
EmptyStatement 0 Warnings Warning
MultipleStringLiterals
  • allowedDuplicates: "1"
251 Warnings Warning
NeedBraces 0 Errors Error
PackageDeclaration 0 Errors Error
BooleanExpressionComplexity
  • max: "10"
1 Warnings Warning
CyclomaticComplexity
  • max: "10"
74 Warnings Warning
NPathComplexity
  • max: "200"
28 Warnings Warning
ModifierOrder 10 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"
586 Warnings Warning
WhitespaceAfter
  • tokens: "COMMA, SEMI, TYPECAST"
36 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/data/AbstractPageOperationTemplate.java

Violation Message Line
Warnings Name 'DEFAULT_MAX_PAGES' must match pattern '^[a-z][a-zA-Z0-9]*_?$'. 36
Warnings Name 'DEFAULT_MAX_TIME_MILLIS' must match pattern '^[a-z][a-zA-Z0-9]*_?$'. 37
Warnings First sentence should end with a period. 39
Warnings First sentence should end with a period. 46
Warnings First sentence should end with a period. 65
Warnings First sentence should end with a period. 74
Warnings The String "[" appears 3 times in the file. 96
Warnings '<' is not preceded with whitespace. 107
Warnings 'if' is not followed by whitespace. 109
Warnings 'if' is not followed by whitespace. 118
Warnings 'for' is not followed by whitespace. 162

org/mitre/discovery/util/WebfingerURLNormalizer.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 29
Warnings First sentence should end with a period. 39
Warnings The String "acct" appears 2 times in the file. 112
Warnings Cyclomatic Complexity is 17 (max allowed is 10). 131
Warnings NPath Complexity is 217 (max allowed is 200). 131

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/jose/keystore/JWKSetKeyStore.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Charsets' import. 30
Warnings The String "Key Set resource could not be read: " appears 2 times in the file. 68
Warnings '}' should be on a new line. 70

org/mitre/jwt/assertion/impl/NullAssertionValidator.java

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

org/mitre/jwt/assertion/impl/SelfAssertionValidator.java

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

org/mitre/jwt/assertion/impl/WhitelistedIssuerAssertionValidator.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 30
Warnings First sentence should end with a period. 35
Warnings First sentence should end with a period. 44
Warnings Instance variable definition in wrong order. 63

org/mitre/jwt/encryption/service/JWTEncryptionAndDecryptionService.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.EncryptionMethod' import. 23
Warnings First sentence should end with a period. 50

org/mitre/jwt/encryption/service/impl/DefaultJWTEncryptionAndDecryptionService.java

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

org/mitre/jwt/signer/service/JWTSigningAndValidationService.java

Violation Message Line
Errors Unused import - java.security.NoSuchAlgorithmException. 20
Warnings Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. 24
Warnings First sentence should end with a period. 30

org/mitre/jwt/signer/service/impl/ClientKeyCacheService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 32
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 77

org/mitre/jwt/signer/service/impl/DefaultJWTSigningAndValidationService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 34
Warnings First sentence should end with a period. 59
Warnings Static variable definition in wrong order. 62
Warnings '!=' is not preceded with whitespace. 102
Warnings Cyclomatic Complexity is 11 (max allowed is 10). 158
Warnings The String "Failed to sign JWT, error was: " appears 2 times in the file. 227

org/mitre/jwt/signer/service/impl/JWKSetCacheService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.cache.CacheBuilder' import. 39
Warnings First sentence should end with a period. 57
Warnings The String "Couldn't load JWK Set from " appears 2 times in the file. 89
Warnings The String ": " appears 2 times in the file. 89

org/mitre/jwt/signer/service/impl/SymmetricKeyJWTValidatorCacheService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 30
Warnings First sentence should end with a period. 50
Warnings First sentence should end with a period. 66
Warnings The String "Problem loading client validator" appears 2 times in the file. 87
Warnings The String "Couldn't create symmetric validator for client" appears 2 times in the file. 112

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/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/oauth2/model/AuthenticationHolderEntity.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 140
Warnings '=' is not followed by whitespace. 140
Warnings '=' is not preceded with whitespace. 158
Warnings '=' is not followed by whitespace. 158
Warnings '=' is not preceded with whitespace. 159
Warnings '=' is not followed by whitespace. 159
Warnings '=' is not preceded with whitespace. 159
Warnings '=' is not followed by whitespace. 159
Warnings '=' is not preceded with whitespace. 162
Warnings '=' is not followed by whitespace. 162
Warnings '=' is not preceded with whitespace. 179
Warnings '=' is not followed by whitespace. 179
Warnings '=' is not preceded with whitespace. 180
Warnings '=' is not followed by whitespace. 180
Warnings '=' is not preceded with whitespace. 180
Warnings '=' is not followed by whitespace. 180
Warnings '=' is not preceded with whitespace. 182
Warnings '=' is not followed by whitespace. 182
Warnings '=' is not preceded with whitespace. 198
Warnings '=' is not followed by whitespace. 198
Warnings '=' is not preceded with whitespace. 214
Warnings '=' is not followed by whitespace. 214
Warnings '=' is not preceded with whitespace. 231
Warnings '=' is not followed by whitespace. 231
Warnings '=' is not preceded with whitespace. 232
Warnings '=' is not followed by whitespace. 232
Warnings '=' is not preceded with whitespace. 232
Warnings '=' is not followed by whitespace. 232
Warnings '=' is not preceded with whitespace. 234
Warnings '=' is not followed by whitespace. 234
Warnings '=' is not preceded with whitespace. 251
Warnings '=' is not followed by whitespace. 251
Warnings '=' is not preceded with whitespace. 252
Warnings '=' is not followed by whitespace. 252
Warnings '=' is not preceded with whitespace. 252
Warnings '=' is not followed by whitespace. 252
Warnings '=' is not preceded with whitespace. 254
Warnings '=' is not followed by whitespace. 254
Warnings '=' is not preceded with whitespace. 255
Warnings '=' is not followed by whitespace. 255
Warnings '=' is not preceded with whitespace. 256
Warnings '=' is not followed by whitespace. 256
Warnings '=' is not preceded with whitespace. 272
Warnings '=' is not followed by whitespace. 272
Warnings '=' is not preceded with whitespace. 289
Warnings '=' is not followed by whitespace. 289
Warnings '=' is not preceded with whitespace. 290
Warnings '=' is not followed by whitespace. 290
Warnings '=' is not preceded with whitespace. 290
Warnings '=' is not followed by whitespace. 290
Warnings '=' is not preceded with whitespace. 292
Warnings '=' is not followed by whitespace. 292
Warnings '=' is not preceded with whitespace. 309
Warnings '=' is not followed by whitespace. 309
Warnings '=' is not preceded with whitespace. 310
Warnings '=' is not followed by whitespace. 310
Warnings '=' is not preceded with whitespace. 310
Warnings '=' is not followed by whitespace. 310
Warnings '=' is not preceded with whitespace. 312
Warnings '=' is not followed by whitespace. 312
Warnings '=' is not preceded with whitespace. 313
Warnings '=' is not followed by whitespace. 313

org/mitre/oauth2/model/AuthorizationCodeEntity.java

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

org/mitre/oauth2/model/ClientDetailsEntity.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.EncryptionMethod' import. 61
Warnings First sentence should end with a period. 90
Warnings First sentence should end with a period. 109
Warnings First sentence should end with a period. 135
Warnings First sentence should end with a period. 142
Warnings First sentence should end with a period. 152
Warnings First sentence should end with a period. 155
Warnings First sentence should end with a period. 158
Warnings Static variable definition in wrong order. 171
Warnings Static variable definition in wrong order. 197
Warnings Static variable definition in wrong order. 223
Warnings First sentence should end with a period. 243
Warnings '=' is not preceded with whitespace. 281
Warnings '=' is not followed by whitespace. 281
Warnings '=' is not preceded with whitespace. 306
Warnings '=' is not followed by whitespace. 306
Warnings '=' is not preceded with whitespace. 321
Warnings '=' is not followed by whitespace. 321
Warnings '=' is not preceded with whitespace. 337
Warnings '=' is not followed by whitespace. 337
Warnings '=' is not preceded with whitespace. 357
Warnings '=' is not followed by whitespace. 357
Warnings '=' is not preceded with whitespace. 400
Warnings '=' is not followed by whitespace. 400
Warnings '=' is not preceded with whitespace. 417
Warnings '=' is not followed by whitespace. 417
Warnings '=' is not preceded with whitespace. 434
Warnings '=' is not followed by whitespace. 434
Warnings '=' is not preceded with whitespace. 435
Warnings '=' is not followed by whitespace. 435
Warnings '=' is not preceded with whitespace. 435
Warnings '=' is not followed by whitespace. 435
Warnings '=' is not preceded with whitespace. 438
Warnings '=' is not followed by whitespace. 438
Warnings '=' is not preceded with whitespace. 455
Warnings '=' is not followed by whitespace. 455
Warnings '=' is not preceded with whitespace. 456
Warnings '=' is not followed by whitespace. 456
Warnings '=' is not preceded with whitespace. 456
Warnings '=' is not followed by whitespace. 456
Warnings '=' is not preceded with whitespace. 458
Warnings '=' is not followed by whitespace. 458
Warnings First sentence should end with a period. 470
Warnings '=' is not preceded with whitespace. 484
Warnings '=' is not followed by whitespace. 484
Warnings '=' is not preceded with whitespace. 485
Warnings '=' is not followed by whitespace. 485
Warnings '=' is not preceded with whitespace. 485
Warnings '=' is not followed by whitespace. 485
Warnings '=' is not preceded with whitespace. 489
Warnings '=' is not followed by whitespace. 489
Warnings '=' is not preceded with whitespace. 503
Warnings '=' is not followed by whitespace. 503
Warnings '=' is not preceded with whitespace. 517
Warnings '=' is not followed by whitespace. 517
Warnings '=' is not preceded with whitespace. 534
Warnings '=' is not followed by whitespace. 534
Warnings '=' is not preceded with whitespace. 535
Warnings '=' is not followed by whitespace. 535
Warnings '=' is not preceded with whitespace. 535
Warnings '=' is not followed by whitespace. 535
Warnings '=' is not preceded with whitespace. 537
Warnings '=' is not followed by whitespace. 537
Warnings First sentence should end with a period. 549
Warnings '=' is not preceded with whitespace. 564
Warnings '=' is not followed by whitespace. 564
Warnings '=' is not preceded with whitespace. 565
Warnings '=' is not followed by whitespace. 565
Warnings '=' is not preceded with whitespace. 565
Warnings '=' is not followed by whitespace. 565
Warnings '=' is not preceded with whitespace. 567
Warnings '=' is not followed by whitespace. 567
Warnings '=' is not preceded with whitespace. 598
Warnings '=' is not followed by whitespace. 598
Warnings '=' is not preceded with whitespace. 608
Warnings '=' is not followed by whitespace. 608
Warnings '=' is not preceded with whitespace. 618
Warnings '=' is not followed by whitespace. 618
Warnings '=' is not preceded with whitespace. 628
Warnings '=' is not followed by whitespace. 628
Warnings '=' is not preceded with whitespace. 639
Warnings '=' is not followed by whitespace. 639
Warnings '=' is not preceded with whitespace. 640
Warnings '=' is not followed by whitespace. 640
Warnings '=' is not preceded with whitespace. 640
Warnings '=' is not followed by whitespace. 640
Warnings '=' is not preceded with whitespace. 642
Warnings '=' is not followed by whitespace. 642
Warnings '=' is not preceded with whitespace. 652
Warnings '=' is not followed by whitespace. 652
Warnings '=' is not preceded with whitespace. 662
Warnings '=' is not followed by whitespace. 662
Warnings '=' is not preceded with whitespace. 675
Warnings '=' is not followed by whitespace. 675
Warnings '=' is not preceded with whitespace. 691
Warnings '=' is not followed by whitespace. 691
Warnings '=' is not preceded with whitespace. 704
Warnings '=' is not followed by whitespace. 704
Warnings '=' is not preceded with whitespace. 717
Warnings '=' is not followed by whitespace. 717
Warnings '=' is not preceded with whitespace. 731
Warnings '=' is not followed by whitespace. 731
Warnings '=' is not preceded with whitespace. 785
Warnings '=' is not followed by whitespace. 785
Warnings '=' is not preceded with whitespace. 818
Warnings '=' is not followed by whitespace. 818
Warnings '=' is not preceded with whitespace. 829
Warnings '=' is not followed by whitespace. 829
Warnings '=' is not preceded with whitespace. 839
Warnings '=' is not followed by whitespace. 839
Warnings '=' is not preceded with whitespace. 853
Warnings '=' is not followed by whitespace. 853
Warnings '=' is not preceded with whitespace. 854
Warnings '=' is not followed by whitespace. 854
Warnings '=' is not preceded with whitespace. 854
Warnings '=' is not followed by whitespace. 854
Warnings '=' is not preceded with whitespace. 856
Warnings '=' is not followed by whitespace. 856
Warnings '=' is not preceded with whitespace. 873
Warnings '=' is not followed by whitespace. 873
Warnings '=' is not preceded with whitespace. 874
Warnings '=' is not followed by whitespace. 874
Warnings '=' is not preceded with whitespace. 874
Warnings '=' is not followed by whitespace. 874
Warnings '=' is not preceded with whitespace. 876
Warnings '=' is not followed by whitespace. 876
Warnings '=' is not preceded with whitespace. 892
Warnings '=' is not followed by whitespace. 892
Warnings '=' is not preceded with whitespace. 909
Warnings '=' is not followed by whitespace. 909
Warnings '=' is not preceded with whitespace. 910
Warnings '=' is not followed by whitespace. 910
Warnings '=' is not preceded with whitespace. 910
Warnings '=' is not followed by whitespace. 910
Warnings '=' is not preceded with whitespace. 912
Warnings '=' is not followed by whitespace. 912
Warnings '=' is not preceded with whitespace. 929
Warnings '=' is not followed by whitespace. 929
Warnings '=' is not preceded with whitespace. 930
Warnings '=' is not followed by whitespace. 930
Warnings '=' is not preceded with whitespace. 930
Warnings '=' is not followed by whitespace. 930
Warnings '=' is not preceded with whitespace. 932
Warnings '=' is not followed by whitespace. 932
Warnings '=' is not preceded with whitespace. 948
Warnings '=' is not followed by whitespace. 948
Warnings '=' is not preceded with whitespace. 989
Warnings '=' is not followed by whitespace. 989
Warnings '=' is not preceded with whitespace. 990
Warnings '=' is not followed by whitespace. 990
Warnings '=' is not preceded with whitespace. 990
Warnings '=' is not followed by whitespace. 990
Warnings '=' is not preceded with whitespace. 992
Warnings '=' is not followed by whitespace. 992
Warnings '=' is not preceded with whitespace. 1042
Warnings '=' is not followed by whitespace. 1042
Warnings '=' is not preceded with whitespace. 1058
Warnings '=' is not followed by whitespace. 1058
Warnings '=' is not preceded with whitespace. 1074
Warnings '=' is not followed by whitespace. 1074

org/mitre/oauth2/model/DeviceCode.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 137
Warnings '=' is not followed by whitespace. 137
Warnings '=' is not preceded with whitespace. 138
Warnings '=' is not followed by whitespace. 138
Warnings '=' is not preceded with whitespace. 138
Warnings '=' is not followed by whitespace. 138
Warnings '=' is not preceded with whitespace. 140
Warnings '=' is not followed by whitespace. 140
Warnings '=' is not preceded with whitespace. 184
Warnings '=' is not followed by whitespace. 184
Warnings '=' is not preceded with whitespace. 185
Warnings '=' is not followed by whitespace. 185
Warnings '=' is not preceded with whitespace. 185
Warnings '=' is not followed by whitespace. 185
Warnings '=' is not preceded with whitespace. 187
Warnings '=' is not followed by whitespace. 187
Warnings '=' is not preceded with whitespace. 188
Warnings '=' is not followed by whitespace. 188

org/mitre/oauth2/model/OAuth2AccessTokenEntity.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 59
Warnings First sentence should end with a period. 121
Warnings '=' is not preceded with whitespace. 211
Warnings '=' is not followed by whitespace. 211
Warnings '=' is not preceded with whitespace. 222
Warnings '=' is not followed by whitespace. 222
Warnings 'cast' is not followed by whitespace. 236
Warnings '=' is not preceded with whitespace. 240
Warnings '=' is not followed by whitespace. 240
Warnings '=' is not preceded with whitespace. 242
Warnings '=' is not followed by whitespace. 242
Warnings '=' is not preceded with whitespace. 242
Warnings '=' is not followed by whitespace. 242
Warnings '=' is not preceded with whitespace. 243
Warnings '=' is not followed by whitespace. 243
Warnings '=' is not preceded with whitespace. 263
Warnings '=' is not followed by whitespace. 263
Warnings '=' is not preceded with whitespace. 313
Warnings '=' is not followed by whitespace. 313

org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 44
Warnings First sentence should end with a period. 105
Warnings First sentence should end with a period. 124
Warnings First sentence should end with a period. 173
Warnings '=' is not preceded with whitespace. 178
Warnings '=' is not followed by whitespace. 178

org/mitre/oauth2/model/PKCEAlgorithm.java

Violation Message Line
Warnings Variable access definition in wrong order. 33
Warnings Variable 'plain' should be in ALL_CAPS (if it is a constant) or be private (otherwise). 33
Warnings Variable access definition in wrong order. 35

org/mitre/oauth2/model/RegisteredClient.java

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

org/mitre/oauth2/model/SavedUserAuthentication.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 47
Warnings '=' is not followed by whitespace. 47
Warnings First sentence should end with a period. 62
Warnings First sentence should end with a period. 78
Warnings '=' is not preceded with whitespace. 104
Warnings '=' is not followed by whitespace. 104
Warnings '=' is not preceded with whitespace. 112
Warnings '=' is not followed by whitespace. 112
Warnings '=' is not preceded with whitespace. 113
Warnings '=' is not followed by whitespace. 113
Warnings '=' is not preceded with whitespace. 113
Warnings '=' is not followed by whitespace. 113
Warnings '=' is not preceded with whitespace. 116
Warnings '=' is not followed by whitespace. 116
Warnings '=' is not preceded with whitespace. 141
Warnings '=' is not followed by whitespace. 141
Warnings '=' is not preceded with whitespace. 155
Warnings '=' is not followed by whitespace. 155

org/mitre/oauth2/model/SystemScope.java

Violation Message Line
Warnings First sentence should end with a period. 57
Warnings First sentence should end with a period. 64
Warnings Cyclomatic Complexity is 18 (max allowed is 10). 182
Warnings NPath Complexity is 8,192 (max allowed is 200). 182

org/mitre/oauth2/model/convert/JWEAlgorithmStringConverter.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.nimbusds.jose.JWEAlgorithm' import. 22

org/mitre/oauth2/model/convert/JWEEncryptionMethodStringConverter.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.nimbusds.jose.EncryptionMethod' import. 22

org/mitre/oauth2/model/convert/JWKSetStringConverter.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.jwk.JWKSet' import. 27

org/mitre/oauth2/model/convert/JWSAlgorithmStringConverter.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. 22

org/mitre/oauth2/model/convert/JWTStringConverter.java

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

org/mitre/oauth2/model/convert/JsonElementStringConverter.java

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

org/mitre/oauth2/model/convert/SerializableStringConverter.java

Violation Message Line
Warnings 'cast' is not followed by whitespace. 52

org/mitre/oauth2/repository/AuthorizationCodeRepository.java

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

org/mitre/oauth2/repository/OAuth2TokenRepository.java

Violation Message Line
Warnings Name 'Id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 36

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

Violation Message Line
Warnings Variable 'dateFormat' should be in ALL_CAPS (if it is a constant) or be private (otherwise). 42

org/mitre/oauth2/service/SystemScopeService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 27
Warnings Variable 'reservedScopes' should be in ALL_CAPS (if it is a constant) or be private (otherwise). 42
Warnings First sentence should end with a period. 50
Warnings First sentence should end with a period. 92

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

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 39
Warnings First sentence should end with a period. 41
Warnings Name 'ROLE_CLIENT' must match pattern '^[a-z][a-zA-Z0-9]*_?$'. 50
Warnings The String "Client not found: " appears 2 times in the file. 88

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/service/impl/UriEncodedClientUserDetailsService.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 39
Warnings Name 'ROLE_CLIENT' must match pattern '^[a-z][a-zA-Z0-9]*_?$'. 52
Warnings The String "UTF-8" appears 2 times in the file. 64
Warnings The String "Client not found: " appears 2 times in the file. 92

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

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Joiner' import. 43
Warnings Wrong order for 'org.mitre.oauth2.model.RegisteredClientFields.APPLICATION_TYPE' import. 54
Warnings Cyclomatic Complexity is 15 (max allowed is 10). 121
Warnings NPath Complexity is 1,297 (max allowed is 200). 121
Warnings First sentence should end with a period. 235
Warnings Cyclomatic Complexity is 23 (max allowed is 10). 272
Warnings NPath Complexity is 1,179,649 (max allowed is 200). 272

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/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

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

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Lists' import. 30
Warnings First sentence should end with a period. 45
Warnings '}' should be on the same line. 86
Warnings First sentence should end with a period. 232
Warnings First sentence should end with a period. 240

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

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

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/config/ServerConfiguration.java

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.EncryptionMethod' import. 22
Warnings First sentence should end with a period. 28
Warnings Line is longer than 250 characters (found 347). 56
Warnings Cyclomatic Complexity is 39 (max allowed is 10). 681
Warnings NPath Complexity is 274,877,906,944 (max allowed is 200). 681
Warnings Cyclomatic Complexity is 118 (max allowed is 10). 822
Warnings NPath Complexity is 604,462,909,807,314,587,353,088 (max allowed is 200). 822

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/model/Address.java

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

org/mitre/openid/connect/model/ApprovedSite.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40
Warnings First sentence should end with a period. 79
Warnings '=' is not preceded with whitespace. 107
Warnings '=' is not followed by whitespace. 107
Warnings '=' is not preceded with whitespace. 123
Warnings '=' is not followed by whitespace. 123
Warnings '=' is not preceded with whitespace. 140
Warnings '=' is not followed by whitespace. 140
Warnings '=' is not preceded with whitespace. 157
Warnings '=' is not followed by whitespace. 157
Warnings '=' is not preceded with whitespace. 174
Warnings '=' is not followed by whitespace. 174
Warnings '=' is not preceded with whitespace. 175
Warnings '=' is not followed by whitespace. 175
Warnings '=' is not preceded with whitespace. 175
Warnings '=' is not followed by whitespace. 175
Warnings '=' is not preceded with whitespace. 177
Warnings '=' is not followed by whitespace. 177
Warnings '=' is not preceded with whitespace. 194
Warnings '=' is not followed by whitespace. 194

org/mitre/openid/connect/model/BlacklistedSite.java

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

org/mitre/openid/connect/model/DefaultAddress.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 27
Warnings '=' is not followed by whitespace. 27
Warnings First sentence should end with a period. 40
Warnings '=' is not preceded with whitespace. 81
Warnings '=' is not followed by whitespace. 81
Warnings '=' is not preceded with whitespace. 129
Warnings '=' is not followed by whitespace. 129
Warnings '=' is not preceded with whitespace. 162
Warnings '=' is not followed by whitespace. 162
Warnings Cyclomatic Complexity is 25 (max allowed is 10). 195
Warnings NPath Complexity is 131,072 (max allowed is 200). 195

org/mitre/openid/connect/model/DefaultUserInfo.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonObject' import. 40
Warnings '=' is not preceded with whitespace. 44
Warnings '=' is not followed by whitespace. 44
Warnings '=' is not preceded with whitespace. 46
Warnings '=' is not followed by whitespace. 46
Warnings '=' is not preceded with whitespace. 47
Warnings '=' is not followed by whitespace. 47
Warnings The String "email" appears 3 times in the file. 55
Warnings '=' is not preceded with whitespace. 87
Warnings '=' is not followed by whitespace. 87
Warnings '=' is not preceded with whitespace. 103
Warnings '=' is not followed by whitespace. 103
Warnings '=' is not preceded with whitespace. 119
Warnings '=' is not followed by whitespace. 119
Warnings '=' is not preceded with whitespace. 151
Warnings '=' is not followed by whitespace. 151
Warnings '=' is not preceded with whitespace. 167
Warnings '=' is not followed by whitespace. 167
Warnings '=' is not preceded with whitespace. 183
Warnings '=' is not followed by whitespace. 183
Warnings '=' is not preceded with whitespace. 279
Warnings '=' is not followed by whitespace. 279
Warnings '=' is not preceded with whitespace. 311
Warnings '=' is not followed by whitespace. 311
Warnings '=' is not preceded with whitespace. 343
Warnings '=' is not followed by whitespace. 343
Warnings '=' is not preceded with whitespace. 359
Warnings '=' is not followed by whitespace. 359
Warnings '=' is not preceded with whitespace. 375
Warnings '=' is not followed by whitespace. 375
Warnings '=' is not preceded with whitespace. 395
Warnings '=' is not followed by whitespace. 395
Warnings '=' is not preceded with whitespace. 412
Warnings '=' is not followed by whitespace. 412
Warnings The String "sub" appears 2 times in the file. 430
Warnings The String "name" appears 2 times in the file. 432
Warnings The String "preferred_username" appears 2 times in the file. 433
Warnings The String "given_name" appears 2 times in the file. 434
Warnings The String "family_name" appears 2 times in the file. 435
Warnings The String "middle_name" appears 2 times in the file. 436
Warnings The String "nickname" appears 2 times in the file. 437
Warnings The String "profile" appears 2 times in the file. 438
Warnings The String "picture" appears 2 times in the file. 439
Warnings The String "website" appears 2 times in the file. 440
Warnings The String "gender" appears 2 times in the file. 441
Warnings The String "zoneinfo" appears 2 times in the file. 442
Warnings The String "locale" appears 2 times in the file. 443
Warnings The String "updated_at" appears 2 times in the file. 444
Warnings The String "birthdate" appears 2 times in the file. 445
Warnings The String "email_verified" appears 4 times in the file. 448
Warnings The String "phone_number" appears 2 times in the file. 450
Warnings The String "phone_number_verified" appears 4 times in the file. 451
Warnings The String "formatted" appears 2 times in the file. 456
Warnings The String "street_address" appears 2 times in the file. 457
Warnings The String "locality" appears 2 times in the file. 458
Warnings The String "region" appears 2 times in the file. 459
Warnings The String "postal_code" appears 2 times in the file. 460
Warnings The String "country" appears 2 times in the file. 461
Warnings The String "address" appears 4 times in the file. 463
Warnings Cyclomatic Complexity is 22 (max allowed is 10). 548
Warnings NPath Complexity is 2,097,152 (max allowed is 200). 548
Warnings Cyclomatic Complexity is 67 (max allowed is 10). 579
Warnings NPath Complexity is 35,184,372,088,832 (max allowed is 200). 579
Warnings 'cast' is not followed by whitespace. 758

org/mitre/openid/connect/model/OIDCAuthenticationToken.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableMap' import. 29
Warnings 'cast' is not followed by whitespace. 152

org/mitre/openid/connect/model/PairwiseIdentifier.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 43
Warnings '=' is not followed by whitespace. 43
Warnings '=' is not preceded with whitespace. 44
Warnings '=' is not followed by whitespace. 44
Warnings '=' is not preceded with whitespace. 63
Warnings '=' is not followed by whitespace. 63

org/mitre/openid/connect/model/PendingOIDCAuthenticationToken.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableMap' import. 29
Warnings 'cast' is not followed by whitespace. 152

org/mitre/openid/connect/model/UserInfo.java

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

org/mitre/openid/connect/model/WhitelistedSite.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 43
Warnings '=' is not followed by whitespace. 43
Warnings First sentence should end with a period. 71
Warnings '=' is not preceded with whitespace. 99
Warnings '=' is not followed by whitespace. 99
Warnings '=' is not preceded with whitespace. 116
Warnings '=' is not followed by whitespace. 116
Warnings '=' is not preceded with whitespace. 117
Warnings '=' is not followed by whitespace. 117
Warnings '=' is not preceded with whitespace. 117
Warnings '=' is not followed by whitespace. 117
Warnings '=' is not preceded with whitespace. 119
Warnings '=' is not followed by whitespace. 119
Warnings '=' is not preceded with whitespace. 132
Warnings '=' is not followed by whitespace. 132

org/mitre/openid/connect/model/convert/JsonObjectStringConverter.java

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

org/mitre/openid/connect/repository/AddressRepository.java

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

org/mitre/openid/connect/repository/ApprovedSiteRepository.java

Violation Message Line
Warnings First sentence should end with a period. 24
Warnings First sentence should end with a period. 32
Warnings First sentence should end with a period. 41
Warnings First sentence should end with a period. 48
Warnings First sentence should end with a period. 58
Warnings First sentence should end with a period. 66
Warnings First sentence should end with a period. 75
Warnings First sentence should end with a period. 82

org/mitre/openid/connect/repository/UserInfoRepository.java

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

org/mitre/openid/connect/repository/WhitelistedSiteRepository.java

Violation Message Line
Warnings First sentence should end with a period. 24
Warnings First sentence should end with a period. 32
Warnings First sentence should end with a period. 39
Warnings First sentence should end with a period. 48
Warnings First sentence should end with a period. 56
Warnings First sentence should end with a period. 64
Warnings First sentence should end with a period. 72

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

Violation Message Line
Warnings First sentence should end with a period. 29
Warnings First sentence should end with a period. 40
Warnings First sentence should end with a period. 47
Warnings First sentence should end with a period. 57
Warnings First sentence should end with a period. 65
Warnings First sentence should end with a period. 74
Warnings First sentence should end with a period. 82
Warnings First sentence should end with a period. 89

org/mitre/openid/connect/service/MITREidDataService.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.google.gson.stream.JsonReader' import. 22
Warnings First sentence should end with a period. 31
Warnings First sentence should end with a period. 49
Warnings First sentence should end with a period. 57

org/mitre/openid/connect/service/MITREidDataServiceExtension.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.stream.JsonReader' import. 21
Warnings First sentence should end with a period. 55
Warnings First sentence should end with a period. 60

org/mitre/openid/connect/service/OIDCTokenService.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Wrong order for 'com.nimbusds.jwt.JWT' import. 26
Warnings First sentence should end with a period. 67

org/mitre/openid/connect/service/StatsService.java

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

org/mitre/openid/connect/service/UserInfoService.java

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

org/mitre/openid/connect/service/WhitelistedSiteService.java

Violation Message Line
Warnings First sentence should end with a period. 24
Warnings First sentence should end with a period. 32
Warnings First sentence should end with a period. 39
Warnings First sentence should end with a period. 48
Warnings First sentence should end with a period. 58
Warnings First sentence should end with a period. 66
Warnings First sentence should end with a period. 75

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

Violation Message Line
Warnings Wrong order for 'com.nimbusds.jose.jwk.JWK' import. 37
Warnings First sentence should end with a period. 48

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

Violation Message Line
Warnings Wrong order for 'com.google.gson.Gson' import. 39
Warnings The String "userInfo" appears 3 times in the file. 82
Warnings The String "userInfoJson" appears 3 times in the file. 83

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

org/mitre/uma/model/Claim.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonElement' import. 36
Warnings Cyclomatic Complexity is 25 (max allowed is 10). 193
Warnings NPath Complexity is 131,072 (max allowed is 200). 193

org/mitre/uma/model/Permission.java

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

org/mitre/uma/model/Policy.java

Violation Message Line
Warnings Cyclomatic Complexity is 16 (max allowed is 10). 150
Warnings NPath Complexity is 2,048 (max allowed is 200). 150

org/mitre/uma/model/ResourceSet.java

Violation Message Line
Warnings NPath Complexity is 512 (max allowed is 200). 228
Warnings Cyclomatic Complexity is 31 (max allowed is 10). 247
Warnings NPath Complexity is 2,097,152 (max allowed is 200). 247

org/mitre/uma/model/convert/RegisteredClientStringConverter.java

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

org/mitre/uma/repository/PermissionRepository.java

Violation Message Line
Warnings First sentence should end with a period. 48
Warnings First sentence should end with a period. 55
Warnings First sentence should end with a period. 63
Warnings First sentence should end with a period. 71

org/mitre/uma/repository/impl/JpaPermissionRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40
Warnings '=' is not preceded with whitespace. 44
Warnings '=' is not followed by whitespace. 44
Warnings '=' is not preceded with whitespace. 72
Warnings '=' is not followed by whitespace. 72
Warnings '=' is not preceded with whitespace. 99
Warnings '=' is not followed by whitespace. 99

org/mitre/uma/repository/impl/JpaResourceSetRepository.java

Violation Message Line
Warnings '=' is not preceded with whitespace. 40
Warnings '=' is not followed by whitespace. 40
Warnings Static variable definition in wrong order. 42
Warnings '=' is not preceded with whitespace. 45
Warnings '=' is not followed by whitespace. 45
Warnings '=' is not preceded with whitespace. 56
Warnings '=' is not followed by whitespace. 56

org/mitre/uma/service/PermissionService.java

Violation Message Line
Errors Unused import - org.springframework.security.oauth2.common.exceptions.InsufficientScopeException. 23

org/mitre/uma/service/impl/DefaultResourceSetService.java

Violation Message Line
Warnings The String "Can't save a resource set with inconsistent claims." appears 2 times in the file. 63

org/mitre/uma/service/impl/DefaultUmaTokenService.java

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

org/mitre/uma/service/impl/JpaRegisteredClientService.java

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

org/mitre/uma/service/impl/UmaDataServiceExtension_1_3.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonElement' import. 49
Warnings Name 'UmaDataServiceExtension_1_3' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 60
Warnings Cyclomatic Complexity is 14 (max allowed is 10). 329
Warnings 'while' is not followed by whitespace. 331
Warnings The String "Found unexpected entry" appears 17 times in the file. 363
Warnings Instance variable definition in wrong order. 395
Warnings Cyclomatic Complexity is 27 (max allowed is 10). 400
Warnings Instance variable definition in wrong order. 510
Warnings Cyclomatic Complexity is 34 (max allowed is 10). 515

org/mitre/uma/util/ExternalLoginAuthoritiesMapper.java

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

org/mitre/uma/view/ResourceSetEntityAbbreviatedView.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 38
Warnings Variable access definition in wrong order. 50
Warnings Variable access definition in wrong order. 52

org/mitre/uma/view/ResourceSetEntityView.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 38
Warnings Variable access definition in wrong order. 50

org/mitre/uma/web/AuthorizationRequestEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableMap' import. 48
Warnings Variable access definition in wrong order. 65
Warnings The String "rpt" appears 2 times in the file. 65
Warnings Variable access definition in wrong order. 66
Warnings The String "ticket" appears 2 times in the file. 66
Warnings Variable access definition in wrong order. 67
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 81

org/mitre/uma/web/ClaimsCollectionEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 42
Warnings Variable access definition in wrong order. 61
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 70
Warnings NPath Complexity is 1,024 (max allowed is 200). 70

org/mitre/uma/web/PermissionRegistrationEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.gson.JsonElement' import. 46
Warnings Variable access definition in wrong order. 62
Warnings The String "code" appears 7 times in the file. 93
Warnings The String "errorMessage" appears 6 times in the file. 94
Warnings The String "Malformed JSON request." appears 2 times in the file. 143

org/mitre/uma/web/PolicyAPI.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Sets' import. 45
Warnings Variable access definition in wrong order. 62
Warnings Variable access definition in wrong order. 63
Warnings First sentence should end with a period. 70
Warnings First sentence should end with a period. 86
Warnings The String "Unauthorized resource set request from bad user; expected " appears 7 times in the file. 104
Warnings The String " got " appears 8 times in the file. 104
Warnings First sentence should end with a period. 116
Warnings First sentence should end with a period. 147
Warnings First sentence should end with a period. 177
Warnings First sentence should end with a period. 235
Warnings First sentence should end with a period. 274
Warnings First sentence should end with a period. 345

org/mitre/uma/web/ResourceSetRegistrationEndpoint.java

Violation Message Line
Warnings Wrong order for 'com.google.common.base.Strings' import. 54
Warnings Variable access definition in wrong order. 67
Warnings Variable access definition in wrong order. 68
Warnings The String "code" appears 2 times in the file. 90
Warnings The String "Resource set registration missing one or more required fields." appears 2 times in the file. 113
Warnings The String "Resource request was missing one or more required fields." appears 2 times in the file. 116
Warnings The String "/" appears 2 times in the file. 124
Warnings The String "not_found" appears 3 times in the file. 138
Warnings The String " got " appears 4 times in the file. 146
Warnings The String "Unauthorized resource set request from bad user; expected " appears 2 times in the file. 188
Warnings 'cast' is not followed by whitespace. 224
Warnings 'cast' is not followed by whitespace. 226

org/mitre/uma/web/UmaDiscoveryEndpoint.java

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

org/mitre/uma/web/UserClaimSearchHelper.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.ImmutableSet' import. 44
Warnings The String "issuer" appears 5 times in the file. 75
Warnings The String "name" appears 5 times in the file. 76
Warnings The String "email" appears 2 times in the file. 76
Warnings The String "value" appears 5 times in the file. 77
Warnings The String "email_verified" appears 2 times in the file. 81

org/mitre/util/JsonUtils.java

Violation Message Line
Warnings Wrong order for 'com.google.common.collect.Lists' import. 36
Warnings First sentence should end with a period. 59
Warnings First sentence should end with a period. 66
Warnings First sentence should end with a period. 91
Warnings First sentence should end with a period. 107
Warnings First sentence should end with a period. 119
Warnings First sentence should end with a period. 131
Warnings First sentence should end with a period. 143
Warnings First sentence should end with a period. 158
Warnings First sentence should end with a period. 174
Warnings First sentence should end with a period. 190
Warnings First sentence should end with a period. 206
Warnings First sentence should end with a period. 221
Warnings First sentence should end with a period. 236
Warnings First sentence should end with a period. 252
Warnings First sentence should end with a period. 268
Warnings 'while' is not followed by whitespace. 287

org/mitre/util/jpa/JpaUtil.java

Violation Message Line
Warnings '*' is not preceded with whitespace. 58
Warnings '*' is not followed by whitespace. 58