The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
NewlineAtEndOfFile
|
2 | Error |
RegexpSingleline
|
0 | Warning |
RedundantImport | 0 | Error |
ImportOrder
|
60 | Warning |
AvoidStarImport | 0 | Warning |
UnusedImports | 6 | Error |
JavadocStyle | 98 | Warning |
PackageName
|
0 | Warning |
TypeNameCheck | 4 | Warning |
ConstantNameCheck
|
1 | Warning |
StaticVariableNameCheck
|
0 | Warning |
MemberNameCheck
|
0 | Warning |
MethodNameCheck
|
0 | Warning |
ParameterName | 0 | Warning |
LocalFinalVariableName | 0 | Warning |
LocalVariableName | 2 | Warning |
LineLength
|
2 | Warning |
LeftCurly | 0 | Warning |
RightCurly
|
6 | Warning |
NeedBraces
|
0 | Warning |
UpperEll | 0 | Error |
FallThrough
|
0 | Error |
AnnotationUseStyle | 4 | Warning |
ArrayTypeStyle | 0 | Warning |
AvoidNestedBlocks | 0 | Error |
CovariantEquals | 0 | Error |
DeclarationOrder | 36 | Warning |
DefaultComesLast | 0 | Warning |
EmptyStatement | 0 | Warning |
MultipleStringLiterals
|
154 | Warning |
NeedBraces | 0 | Error |
PackageDeclaration | 0 | Error |
BooleanExpressionComplexity
|
1 | Warning |
CyclomaticComplexity
|
51 | Warning |
NPathComplexity
|
12 | Warning |
ModifierOrder | 2 | Error |
WhitespaceAround
|
203 | Warning |
WhitespaceAfter
|
27 | Warning |
NoWhitespaceAfter
|
0 | Warning |
NoWhitespaceBefore
|
0 | Warning |
ParenPad | 0 | Warning |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 38 | |
First sentence should end with a period. | 52 | |
'cast' is not followed by whitespace. | 95 | |
'cast' is not followed by whitespace. | 96 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Function' import. | 54 | |
First sentence should end with a period. | 75 | |
'=' is not preceded with whitespace. | 108 | |
'=' is not followed by whitespace. | 108 | |
The String "issuer" appears 2 times in the file. | 162 | |
The String "/" appears 2 times in the file. | 291 | |
Line is longer than 250 characters (found 264). | 307 | |
The String "token" appears 2 times in the file. | 312 | |
The String "about" appears 3 times in the file. | 358 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jwt.JWT' import. | 23 | |
First sentence should end with a period. | 25 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.Sets' import. | 28 | |
First sentence should end with a period. | 32 |
Violation | Message | Line |
---|---|---|
Static variable definition in wrong order. | 37 |
Violation | Message | Line |
---|---|---|
Static variable definition in wrong order. | 37 |
Violation | Message | Line |
---|---|---|
Static variable definition in wrong order. | 29 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 35 | |
'=' is not followed by whitespace. | 35 | |
'=' is not preceded with whitespace. | 40 | |
'=' is not followed by whitespace. | 40 | |
'=' is not preceded with whitespace. | 55 | |
'=' is not followed by whitespace. | 55 | |
'=' is not preceded with whitespace. | 66 | |
'=' is not followed by whitespace. | 66 | |
'=' is not preceded with whitespace. | 72 | |
'=' is not followed by whitespace. | 72 | |
',' is not followed by whitespace. | 74 | |
'=' is not preceded with whitespace. | 79 | |
'=' is not followed by whitespace. | 79 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 44 | |
'=' is not followed by whitespace. | 44 | |
'=' is not preceded with whitespace. | 47 | |
'=' is not followed by whitespace. | 47 | |
'=' is not preceded with whitespace. | 54 | |
'=' is not followed by whitespace. | 54 | |
'=' is not preceded with whitespace. | 65 | |
'=' is not followed by whitespace. | 65 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 42 | |
'=' is not followed by whitespace. | 42 | |
'=' is not preceded with whitespace. | 48 | |
'=' is not followed by whitespace. | 48 | |
'=' is not preceded with whitespace. | 56 | |
'=' is not followed by whitespace. | 56 | |
'=' is not preceded with whitespace. | 66 | |
'=' is not followed by whitespace. | 66 | |
'=' is not preceded with whitespace. | 76 | |
'=' is not followed by whitespace. | 76 | |
'=' is not preceded with whitespace. | 90 | |
'=' is not followed by whitespace. | 90 | |
'=' is not preceded with whitespace. | 99 | |
'=' is not followed by whitespace. | 99 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 37 | |
'=' is not followed by whitespace. | 37 | |
'=' is not preceded with whitespace. | 40 | |
'=' is not followed by whitespace. | 40 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jwt.JWT' import. | 49 | |
'=' is not preceded with whitespace. | 59 | |
'=' is not followed by whitespace. | 59 | |
'=' is not preceded with whitespace. | 93 | |
'=' is not followed by whitespace. | 93 | |
'=' is not preceded with whitespace. | 99 | |
'=' is not followed by whitespace. | 99 | |
'=' is not preceded with whitespace. | 110 | |
'=' is not followed by whitespace. | 110 | |
'=' is not preceded with whitespace. | 138 | |
'=' is not followed by whitespace. | 138 | |
'=' is not preceded with whitespace. | 144 | |
'=' is not followed by whitespace. | 144 | |
'=' is not preceded with whitespace. | 155 | |
'=' is not followed by whitespace. | 155 | |
',' is not followed by whitespace. | 216 | |
'=' is not preceded with whitespace. | 235 | |
'=' is not followed by whitespace. | 235 | |
'cast' is not followed by whitespace. | 243 | |
The String "jwt" appears 2 times in the file. | 250 | |
'=' is not preceded with whitespace. | 260 | |
'=' is not followed by whitespace. | 260 | |
'cast' is not followed by whitespace. | 267 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 45 | |
'=' is not followed by whitespace. | 45 | |
'=' is not preceded with whitespace. | 52 | |
'=' is not followed by whitespace. | 52 | |
'=' is not preceded with whitespace. | 63 | |
'=' is not followed by whitespace. | 63 | |
'=' is not preceded with whitespace. | 72 | |
'=' is not followed by whitespace. | 72 | |
'=' is not preceded with whitespace. | 83 | |
'=' is not followed by whitespace. | 83 | |
'=' is not preceded with whitespace. | 97 | |
'=' is not followed by whitespace. | 97 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 30 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 127 | |
'=' is not followed by whitespace. | 127 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Joiner' import. | 34 | |
First sentence should end with a period. | 43 | |
The String "Parse exception in token introspection" appears 2 times in the file. | 82 | |
'if' is not followed by whitespace. | 94 | |
'if' is not followed by whitespace. | 135 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 71 | |
'=' is not followed by whitespace. | 71 | |
'=' is not preceded with whitespace. | 118 | |
'=' is not followed by whitespace. | 118 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 60 | |
First sentence should end with a period. | 71 | |
The String "Client URI is blacklisted: " appears 2 times in the file. | 118 | |
First sentence should end with a period. | 155 | |
First sentence should end with a period. | 166 | |
First sentence should end with a period. | 178 | |
The String "refresh_token" appears 4 times in the file. | 206 | |
First sentence should end with a period. | 213 | |
Cyclomatic Complexity is 38 (max allowed is 10). | 222 | |
NPath Complexity is 75,817 (max allowed is 200). | 222 | |
The String "authorization_code" appears 3 times in the file. | 224 | |
The String "implicit" appears 3 times in the file. | 226 | |
The String "client_credentials" appears 3 times in the file. | 226 | |
The String "[HEART mode] Incompatible grant types" appears 3 times in the file. | 227 | |
The String "https" appears 2 times in the file. | 307 | |
First sentence should end with a period. | 324 | |
First sentence should end with a period. | 334 | |
The String "Client with id " appears 2 times in the file. | 342 | |
The String " was not found" appears 2 times in the file. | 342 | |
'}' should be on the same line. | 343 | |
First sentence should end with a period. | 352 | |
First sentence should end with a period. | 431 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 68 | |
First sentence should end with a period. | 82 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 182 | |
NPath Complexity is 225 (max allowed is 200). | 182 | |
'=' is not preceded with whitespace. | 183 | |
'=' is not followed by whitespace. | 183 | |
The String "Code challenge and verifier do not match" appears 2 times in the file. | 206 | |
';' is not followed by whitespace. | 224 | |
The String "approved_site" appears 2 times in the file. | 262 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 316 | |
NPath Complexity is 1,536 (max allowed is 200). | 316 | |
'=' is not preceded with whitespace. | 317 | |
'=' is not followed by whitespace. | 317 | |
The String "Invalid refresh token: " appears 2 times in the file. | 322 | |
The String " was not found" appears 2 times in the file. | 436 | |
'}' should be on the same line. | 459 | |
'=' is not preceded with whitespace. | 469 | |
'=' is not followed by whitespace. | 469 | |
'=' is not preceded with whitespace. | 479 | |
'=' is not followed by whitespace. | 479 | |
First sentence should end with a period. | 501 | |
'=' is not preceded with whitespace. | 549 | |
'=' is not followed by whitespace. | 549 | |
'=' is not preceded with whitespace. | 565 | |
'=' is not followed by whitespace. | 565 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Function' import. | 32 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.Sets' import. | 40 |
Violation | Message | Line |
---|---|---|
Unused import - org.mitre.oauth2.web.DeviceEndpoint. | 25 | |
First sentence should end with a period. | 37 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jwt.JWT' import. | 41 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 33 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 38 | |
First sentence should end with a period. | 52 | |
The String "value" appears 2 times in the file. | 84 | |
The String "id" appears 2 times in the file. | 85 | |
The String "scopes" appears 2 times in the file. | 88 | |
The String "clientId" appears 2 times in the file. | 90 | |
The String "userId" appears 2 times in the file. | 91 | |
The String "expiration" appears 2 times in the file. | 93 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.ImmutableSet' import. | 24 | |
First sentence should end with a period. | 35 | |
First sentence should end with a period. | 52 |
Violation | Message | Line |
---|---|---|
Unused import - java.util.UUID. | 25 | |
Unused import - org.springframework.security.oauth2.common.util.RandomValueStringGenerator. | 50 | |
Wrong order for 'com.google.common.collect.Sets' import. | 61 | |
First sentence should end with a period. | 63 | |
Variable 'logger' should be in ALL_CAPS (if it is a constant) or be private (otherwise). | 77 | |
'=' is not preceded with whitespace. | 95 | |
'=' is not followed by whitespace. | 95 | |
'=' is not preceded with whitespace. | 95 | |
'=' is not followed by whitespace. | 95 | |
The String "requestUserCode" appears 6 times in the file. | 168 | |
The String "error" appears 5 times in the file. | 180 | |
The String "expiredUserCode" appears 2 times in the file. | 186 | |
The String "client" appears 2 times in the file. | 198 | |
The String "scopes" appears 2 times in the file. | 217 | |
The String "authorizationRequest" appears 2 times in the file. | 221 | |
The String "deviceCode" appears 2 times in the file. | 222 | |
The String "approved" appears 2 times in the file. | 252 | |
The String "deviceApproved" appears 2 times in the file. | 253 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 52 | |
First sentence should end with a period. | 78 | |
Static variable definition in wrong order. | 81 | |
',' is not followed by whitespace. | 149 | |
',' is not followed by whitespace. | 185 | |
',' is not followed by whitespace. | 202 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Joiner' import. | 58 | |
First sentence should end with a period. | 91 | |
Static variable definition in wrong order. | 94 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 104 | |
NPath Complexity is 960 (max allowed is 200). | 104 | |
'cast' is not followed by whitespace. | 111 | |
Name 'redirect_uri' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 158 | |
The String "gras" appears 2 times in the file. | 219 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 50 | |
Static variable definition in wrong order. | 53 | |
Static variable definition in wrong order. | 55 | |
Variable access definition in wrong order. | 55 | |
The String "Client " appears 4 times in the file. | 95 | |
The String " tried to revoke a token owned by " appears 2 times in the file. | 95 | |
The String " revoked access token " appears 2 times in the file. | 104 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.Gson' import. | 44 | |
First sentence should end with a period. | 60 | |
Static variable definition in wrong order. | 63 | |
The String " could not be found." appears 3 times in the file. | 92 | |
The String " and " appears 2 times in the file. | 118 | |
The String " not found." appears 2 times in the file. | 128 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 47 | |
First sentence should end with a period. | 68 | |
Static variable definition in wrong order. | 71 | |
The String "getToken failed; token not found: " appears 2 times in the file. | 87 | |
The String "The requested token with id " appears 4 times in the file. | 89 | |
The String " could not be found." appears 7 times in the file. | 89 | |
The String "getToken failed; token does not belong to principal " appears 2 times in the file. | 92 | |
The String "You do not have permission to view this token" appears 4 times in the file. | 94 | |
The String "The requested client with id " appears 3 times in the file. | 137 | |
The String "No registration token could be found." appears 2 times in the file. | 156 | |
The String "refresh token not found: " appears 2 times in the file. | 210 | |
The String "refresh token " appears 2 times in the file. | 215 | |
The String " does not belong to principal " appears 2 times in the file. | 215 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jwt.JWT' import. | 29 | |
First sentence should end with a period. | 44 | |
First sentence should end with a period. | 62 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. | 46 | |
First sentence should end with a period. | 57 | |
Cyclomatic Complexity is 39 (max allowed is 10). | 82 | |
NPath Complexity is 9,721 (max allowed is 200). | 82 | |
'cast' is not followed by whitespace. | 85 | |
Boolean expression complexity is 13 (max allowed is 10). | 117 | |
The String " and algorithm " appears 2 times in the file. | 140 | |
The String " got " appears 2 times in the file. | 154 | |
The String "token" appears 2 times in the file. | 188 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 42 | |
The String "client_assertion_type" appears 2 times in the file. | 91 | |
The String "client_assertion" appears 2 times in the file. | 92 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Splitter' import. | 36 | |
First sentence should end with a period. | 83 | |
First sentence should end with a period. | 107 | |
The String ".json" appears 2 times in the file. | 166 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Splitter' import. | 68 | |
First sentence should end with a period. | 78 | |
Variable access definition in wrong order. | 83 | |
'static' modifier out of order with the JLS suggestions. | 83 | |
Variable access definition in wrong order. | 84 | |
'static' modifier out of order with the JLS suggestions. | 84 | |
Cyclomatic Complexity is 23 (max allowed is 10). | 103 | |
NPath Complexity is 210 (max allowed is 200). | 103 | |
'cast' is not followed by whitespace. | 138 | |
The String "Access Denied" appears 2 times in the file. | 171 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 28 | |
'=' is not preceded with whitespace. | 37 | |
'=' is not followed by whitespace. | 37 | |
'=' is not preceded with whitespace. | 41 | |
'=' is not followed by whitespace. | 41 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 33 | |
'=' is not preceded with whitespace. | 42 | |
'=' is not followed by whitespace. | 42 | |
'=' is not preceded with whitespace. | 46 | |
'=' is not followed by whitespace. | 46 | |
'=' is not preceded with whitespace. | 53 | |
'=' is not followed by whitespace. | 53 | |
'=' is not preceded with whitespace. | 59 | |
'=' is not followed by whitespace. | 59 | |
'=' is not preceded with whitespace. | 71 | |
'=' is not followed by whitespace. | 71 | |
'=' is not preceded with whitespace. | 87 | |
'=' is not followed by whitespace. | 87 | |
'=' is not preceded with whitespace. | 97 | |
'=' is not followed by whitespace. | 97 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 43 | |
'=' is not followed by whitespace. | 43 | |
'=' is not preceded with whitespace. | 50 | |
'=' is not followed by whitespace. | 50 | |
'=' is not preceded with whitespace. | 60 | |
'=' is not followed by whitespace. | 60 | |
'=' is not preceded with whitespace. | 69 | |
'=' is not followed by whitespace. | 69 | |
'=' is not preceded with whitespace. | 85 | |
'=' is not followed by whitespace. | 85 | |
'=' is not preceded with whitespace. | 94 | |
'=' is not followed by whitespace. | 94 |
Violation | Message | Line |
---|---|---|
'=' is not preceded with whitespace. | 42 | |
'=' is not followed by whitespace. | 42 | |
'=' is not preceded with whitespace. | 61 | |
'=' is not followed by whitespace. | 61 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 31 | |
'=' is not preceded with whitespace. | 40 | |
'=' is not followed by whitespace. | 40 | |
First sentence should end with a period. | 43 | |
First sentence should end with a period. | 55 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 34 | |
'=' is not preceded with whitespace. | 43 | |
'=' is not followed by whitespace. | 43 | |
'=' is not preceded with whitespace. | 47 | |
'=' is not followed by whitespace. | 47 | |
'=' is not preceded with whitespace. | 54 | |
'=' is not followed by whitespace. | 54 | |
'=' is not preceded with whitespace. | 60 | |
'=' is not followed by whitespace. | 60 | |
'=' is not preceded with whitespace. | 72 | |
'=' is not followed by whitespace. | 72 | |
'=' is not preceded with whitespace. | 78 | |
'=' is not followed by whitespace. | 78 | |
'=' is not preceded with whitespace. | 87 | |
'=' is not followed by whitespace. | 87 | |
'=' is not preceded with whitespace. | 95 | |
'=' is not followed by whitespace. | 95 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 59 | |
First sentence should end with a period. | 76 | |
First sentence should end with a period. | 91 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 102 | |
NPath Complexity is 3,456 (max allowed is 200). | 102 | |
Cyclomatic Complexity is 37 (max allowed is 10). | 182 | |
NPath Complexity is 1,043,200 (max allowed is 200). | 182 | |
'cast' is not followed by whitespace. | 191 | |
The String "Client not found: " appears 3 times in the file. | 201 | |
The String ")" appears 2 times in the file. | 209 | |
'cast' is not followed by whitespace. | 223 | |
'+' is not followed by whitespace. | 239 | |
'cast' is not followed by whitespace. | 246 | |
'if' is not followed by whitespace. | 298 | |
'if' is not followed by whitespace. | 306 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Predicate' import. | 38 | |
First sentence should end with a period. | 41 | |
First sentence should end with a period. | 50 | |
'=' is not preceded with whitespace. | 70 | |
'=' is not followed by whitespace. | 70 | |
'=' is not preceded with whitespace. | 83 | |
'=' is not followed by whitespace. | 83 | |
'=' is not preceded with whitespace. | 102 | |
'=' is not followed by whitespace. | 102 | |
Instance variable definition in wrong order. | 174 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 32 | |
'=' is not preceded with whitespace. | 39 | |
'=' is not followed by whitespace. | 39 |
Violation | Message | Line |
---|---|---|
Unused import - org.springframework.security.core.AuthenticationException. | 45 | |
Wrong order for 'com.google.common.base.Strings' import. | 51 | |
First sentence should end with a period. | 75 | |
Cyclomatic Complexity is 22 (max allowed is 10). | 98 | |
NPath Complexity is 320 (max allowed is 200). | 98 | |
'cast' is not followed by whitespace. | 141 | |
Name 'at_hash' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 150 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.HashMultimap' import. | 26 | |
First sentence should end with a period. | 29 | |
First sentence should end with a period. | 40 | |
The String "profile" appears 15 times in the file. | 46 | |
The String "email" appears 3 times in the file. | 61 | |
The String "phone" appears 2 times in the file. | 64 | |
The String "address" appears 2 times in the file. | 67 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Supplier' import. | 37 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 30 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 29 | |
'=' is not preceded with whitespace. | 36 | |
'=' is not followed by whitespace. | 36 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 34 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 29 | |
Static variable definition in wrong order. | 32 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.Sets' import. | 67 | |
Annotation style must be 'COMPACT_NO_ARRAY'. | 83 | |
Name 'MITREidDataService_1_0' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 84 | |
First sentence should end with a period. | 86 | |
Static variable definition in wrong order. | 109 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 128 | |
The String "Found unexpected entry" appears 21 times in the file. | 176 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 197 | |
The String "id" appears 6 times in the file. | 213 | |
The String "expiration" appears 2 times in the file. | 215 | |
The String "value" appears 3 times in the file. | 218 | |
The String "Unable to set refresh token value to {}" appears 2 times in the file. | 223 | |
The String "clientId" appears 6 times in the file. | 225 | |
The String "authenticationHolderId" appears 2 times in the file. | 227 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 258 | |
The String "scope" appears 3 times in the file. | 294 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 327 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 402 | |
The String "resourceIds" appears 2 times in the file. | 428 | |
The String "authorities" appears 3 times in the file. | 430 | |
The String "responseTypes" appears 2 times in the file. | 445 | |
The String "name" appears 2 times in the file. | 478 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 512 | |
The String "allowedScopes" appears 2 times in the file. | 543 | |
The String "uri" appears 2 times in the file. | 636 | |
Cyclomatic Complexity is 46 (max allowed is 10). | 660 | |
The String "description" appears 2 times in the file. | 769 | |
Cyclomatic Complexity is 11 (max allowed is 10). | 802 | |
'for' is not followed by whitespace. | 895 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.Sets' import. | 69 | |
Annotation style must be 'COMPACT_NO_ARRAY'. | 86 | |
Name 'MITREidDataService_1_1' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 87 | |
First sentence should end with a period. | 89 | |
Static variable definition in wrong order. | 110 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 130 | |
The String "Found unexpected entry" appears 21 times in the file. | 178 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 200 | |
The String "id" appears 6 times in the file. | 216 | |
The String "expiration" appears 2 times in the file. | 218 | |
The String "value" appears 3 times in the file. | 221 | |
The String "Unable to set refresh token value to {}" appears 2 times in the file. | 226 | |
The String "clientId" appears 6 times in the file. | 228 | |
The String "authenticationHolderId" appears 2 times in the file. | 230 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 261 | |
The String "scope" appears 3 times in the file. | 297 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 330 | |
Cyclomatic Complexity is 19 (max allowed is 10). | 405 | |
The String "resourceIds" appears 2 times in the file. | 430 | |
The String "authorities" appears 3 times in the file. | 432 | |
The String "responseTypes" appears 2 times in the file. | 447 | |
The String "name" appears 2 times in the file. | 488 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 522 | |
The String "allowedScopes" appears 2 times in the file. | 553 | |
The String "uri" appears 2 times in the file. | 646 | |
Cyclomatic Complexity is 46 (max allowed is 10). | 670 | |
The String "description" appears 2 times in the file. | 779 | |
Cyclomatic Complexity is 13 (max allowed is 10). | 812 | |
The String "Found a structured scope, ignoring structure" appears 2 times in the file. | 835 | |
'for' is not followed by whitespace. | 909 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.stream.JsonReader' import. | 58 | |
Annotation style must be 'COMPACT_NO_ARRAY'. | 75 | |
Name 'MITREidDataService_1_2' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 76 | |
First sentence should end with a period. | 145 | |
Static variable definition in wrong order. | 168 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 187 | |
The String "Found unexpected entry" appears 18 times in the file. | 233 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 255 | |
The String "Unable to set refresh token value to {}" appears 2 times in the file. | 281 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 316 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 385 | |
Cyclomatic Complexity is 15 (max allowed is 10). | 498 | |
Cyclomatic Complexity is 50 (max allowed is 10). | 640 | |
Cyclomatic Complexity is 13 (max allowed is 10). | 793 | |
The String "Found a structured scope, ignoring structure" appears 2 times in the file. | 817 | |
'for' is not followed by whitespace. | 889 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.stream.JsonReader' import. | 62 | |
Annotation style must be 'COMPACT_NO_ARRAY'. | 79 | |
Name 'MITREidDataService_1_3' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 80 | |
First sentence should end with a period. | 154 | |
Static variable definition in wrong order. | 175 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 296 | |
NPath Complexity is 433 (max allowed is 200). | 296 | |
Cyclomatic Complexity is 22 (max allowed is 10). | 435 | |
NPath Complexity is 524,290 (max allowed is 200). | 435 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 566 | |
The String "Found unexpected entry" appears 18 times in the file. | 619 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 642 | |
The String "Unable to set refresh token value to {}" appears 2 times in the file. | 668 | |
Cyclomatic Complexity is 16 (max allowed is 10). | 703 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 772 | |
Cyclomatic Complexity is 15 (max allowed is 10). | 885 | |
Cyclomatic Complexity is 58 (max allowed is 10). | 1028 | |
Cyclomatic Complexity is 11 (max allowed is 10). | 1200 | |
'for' is not followed by whitespace. | 1292 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 24 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 21 | |
First sentence should end with a period. | 23 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 38 | |
First sentence should end with a period. | 48 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 41 | |
First sentence should end with a period. | 53 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Splitter' import. | 51 | |
The String "user_oauth_approval" appears 2 times in the file. | 106 | |
',' is not followed by whitespace. | 191 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jose.JWSAlgorithm' import. | 29 | |
First sentence should end with a period. | 41 | |
First sentence should end with a period. | 46 | |
First sentence should end with a period. | 57 | |
Cyclomatic Complexity is 15 (max allowed is 10). | 72 | |
'}' should be on the same line. | 80 | |
'}' should be on the same line. | 84 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 38 | |
First sentence should end with a period. | 63 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.ImmutableSet' import. | 28 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.ImmutableSet' import. | 28 | |
Static variable definition in wrong order. | 46 | |
Variable access definition in wrong order. | 46 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.Gson' import. | 39 | |
First sentence should end with a period. | 54 | |
Variable access definition in wrong order. | 59 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 32 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 41 | |
First sentence should end with a period. | 57 | |
Variable access definition in wrong order. | 62 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 38 | |
First sentence should end with a period. | 52 | |
Variable access definition in wrong order. | 57 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 35 | |
The String "error" appears 2 times in the file. | 57 | |
First sentence should end with a period. | 59 | |
Variable access definition in wrong order. | 64 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 44 | |
First sentence should end with a period. | 64 | |
Variable access definition in wrong order. | 69 | |
Variable access definition in wrong order. | 71 | |
Variable access definition in wrong order. | 72 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 87 | |
'cast' is not followed by whitespace. | 92 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.ExclusionStrategy' import. | 40 | |
First sentence should end with a period. | 60 | |
Variable access definition in wrong order. | 68 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 58 | |
Static variable definition in wrong order. | 61 | |
First sentence should end with a period. | 63 | |
First sentence should end with a period. | 78 | |
'=' is not preceded with whitespace. | 82 | |
'=' is not followed by whitespace. | 82 | |
The String " could not be found." appears 2 times in the file. | 89 | |
The String " does not own approved site" appears 2 times in the file. | 93 | |
First sentence should end with a period. | 105 | |
'=' is not preceded with whitespace. | 108 | |
'=' is not followed by whitespace. | 108 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 48 | |
Variable access definition in wrong order. | 53 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.Gson' import. | 44 | |
First sentence should end with a period. | 63 | |
Static variable definition in wrong order. | 66 | |
First sentence should end with a period. | 71 | |
First sentence should end with a period. | 86 | |
'}' should be on the same line. | 107 | |
First sentence should end with a period. | 124 | |
'=' is not preceded with whitespace. | 127 | |
'=' is not followed by whitespace. | 127 | |
'}' should be on the same line. | 139 | |
The String " could not be found" appears 3 times in the file. | 156 | |
First sentence should end with a period. | 170 | |
'=' is not preceded with whitespace. | 174 | |
'=' is not followed by whitespace. | 174 | |
The String "Could not delete bladklist. The requested bladklist with id " appears 2 times in the file. | 180 | |
The String " could not be found." appears 2 times in the file. | 180 | |
First sentence should end with a period. | 190 | |
'=' is not preceded with whitespace. | 193 | |
'=' is not followed by whitespace. | 193 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 63 | |
Wrong order for 'org.mitre.oauth2.model.RegisteredClientFields.APPLICATION_TYPE' import. | 83 | |
First sentence should end with a period. | 218 | |
Static variable definition in wrong order. | 221 | |
First sentence should end with a period. | 223 | |
First sentence should end with a period. | 241 | |
Cyclomatic Complexity is 21 (max allowed is 10). | 248 | |
The String "apiUpdateClient failed due to ValidationException" appears 2 times in the file. | 270 | |
The String "Could not update client. The server encountered a ValidationException." appears 2 times in the file. | 272 | |
The String "generateClientSecret" appears 4 times in the file. | 292 | |
The String "tried to create client with private key auth but no private key" appears 2 times in the file. | 300 | |
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 | |
The String "unknown auth method" appears 2 times in the file. | 311 | |
The String "Unknown auth method requested" appears 2 times in the file. | 313 | |
The String "Unable to save client: {}" appears 2 times in the file. | 331 | |
The String "Unable to save client: " appears 2 times in the file. | 333 | |
'if' is not followed by whitespace. | 339 | |
First sentence should end with a period. | 350 | |
Cyclomatic Complexity is 19 (max allowed is 10). | 358 | |
'=' is not preceded with whitespace. | 359 | |
'=' is not followed by whitespace. | 359 | |
The String " could not be found." appears 4 times in the file. | 390 | |
The String "could not be found." appears 2 times in the file. | 392 | |
First sentence should end with a period. | 456 | |
'=' is not preceded with whitespace. | 463 | |
'=' is not followed by whitespace. | 463 | |
'=' is not preceded with whitespace. | 463 | |
'=' is not followed by whitespace. | 463 | |
First sentence should end with a period. | 482 | |
'=' is not preceded with whitespace. | 488 | |
'=' is not followed by whitespace. | 488 | |
'=' is not preceded with whitespace. | 488 | |
'=' is not followed by whitespace. | 488 | |
First sentence should end with a period. | 509 | |
'=' is not preceded with whitespace. | 513 | |
'=' is not followed by whitespace. | 513 | |
Cyclomatic Complexity is 43 (max allowed is 10). | 534 | |
The String "invalid_client_metadata" appears 9 times in the file. | 545 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Wrong order for 'com.google.common.collect.ImmutableList' import. | 42 | |
First sentence should end with a period. | 61 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 64 | |
Wrong order for 'org.mitre.oauth2.model.RegisteredClientFields.APPLICATION_TYPE' import. | 74 | |
First sentence should end with a period. | 141 | |
Static variable definition in wrong order. | 144 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 153 | |
The String "registerNewClient failed; submitted JSON is malformed" appears 2 times in the file. | 162 | |
The String "authorization_code" appears 8 times in the file. | 209 | |
'cast' is not followed by whitespace. | 210 | |
'cast' is not followed by whitespace. | 211 | |
'cast' is not followed by whitespace. | 212 | |
The String "implicit" appears 6 times in the file. | 213 | |
'cast' is not followed by whitespace. | 214 | |
'cast' is not followed by whitespace. | 215 | |
The String "client_credentials" appears 6 times in the file. | 217 | |
'cast' is not followed by whitespace. | 218 | |
'cast' is not followed by whitespace. | 223 | |
'cast' is not followed by whitespace. | 224 | |
The String "register/" appears 3 times in the file. | 244 | |
The String "UTF-8" appears 3 times in the file. | 244 | |
The String "client" appears 3 times in the file. | 245 | |
The String "Unsupported encoding" appears 3 times in the file. | 250 | |
The String "Couldn't save client" appears 2 times in the file. | 254 | |
The String "invalid_client_metadata" appears 21 times in the file. | 256 | |
The String "Unable to save client due to invalid or inconsistent metadata." appears 2 times in the file. | 257 | |
The String "readClientConfiguration failed, client ID mismatch: " appears 2 times in the file. | 304 | |
The String " and " appears 3 times in the file. | 305 | |
The String " do not match." appears 3 times in the file. | 305 | |
Cyclomatic Complexity is 22 (max allowed is 10). | 462 | |
NPath Complexity is 2,500 (max allowed is 200). | 462 | |
The String "refresh_token" appears 4 times in the file. | 466 | |
The String "password" appears 2 times in the file. | 482 | |
The String "Incompatible grant types requested: " appears 3 times in the file. | 498 | |
The String "token" appears 2 times in the file. | 501 | |
The String "Incompatible response types requested: " appears 3 times in the file. | 503 | |
The String " / " appears 3 times in the file. | 503 | |
The String "code" appears 2 times in the file. | 506 | |
The String "invalid_redirect_uri" appears 3 times in the file. | 562 | |
Cyclomatic Complexity is 43 (max allowed is 10). | 614 | |
'if' is not followed by whitespace. | 766 |
Violation | Message | Line |
---|---|---|
Unused import - org.mitre.jwt.assertion.AssertionValidator. | 25 | |
Unused import - org.springframework.web.util.UriUtils. | 45 | |
Wrong order for 'com.google.common.base.Strings' import. | 47 | |
First sentence should end with a period. | 53 | |
The String "client" appears 2 times in the file. | 64 | |
The String "state" appears 2 times in the file. | 65 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 79 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.nimbusds.jose.jwk.JWK' import. | 30 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 55 | |
First sentence should end with a period. | 82 | |
Static variable definition in wrong order. | 85 | |
The String "resource/" appears 3 times in the file. | 175 | |
The String "UTF-8" appears 3 times in the file. | 175 | |
The String "client" appears 3 times in the file. | 176 | |
The String "Unsupported encoding" appears 3 times in the file. | 181 | |
The String "Couldn't save client" appears 2 times in the file. | 185 | |
The String "invalid_client_metadata" appears 4 times in the file. | 187 | |
The String "Unable to save client due to invalid or inconsistent metadata." appears 2 times in the file. | 188 | |
The String " and " appears 3 times in the file. | 256 | |
The String " do not match." appears 3 times in the file. | 256 | |
'if' is not followed by whitespace. | 450 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Strings' import. | 45 | |
First sentence should end with a period. | 65 | |
Static variable definition in wrong order. | 68 | |
First sentence should end with a period. | 70 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 73 | |
'=' is not preceded with whitespace. | 74 | |
'=' is not preceded with whitespace. | 75 | |
'=' is not followed by whitespace. | 75 | |
'=' is not preceded with whitespace. | 75 | |
'=' is not followed by whitespace. | 75 | |
'=' is not preceded with whitespace. | 76 | |
'=' is not followed by whitespace. | 76 | |
'=' is not preceded with whitespace. | 76 | |
'=' is not followed by whitespace. | 76 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.gson.Gson' import. | 44 | |
First sentence should end with a period. | 63 | |
Static variable definition in wrong order. | 66 | |
First sentence should end with a period. | 71 | |
First sentence should end with a period. | 86 | |
Line is longer than 250 characters (found 253). | 112 | |
First sentence should end with a period. | 127 | |
'=' is not preceded with whitespace. | 131 | |
'=' is not followed by whitespace. | 131 | |
The String " could not be found." appears 3 times in the file. | 156 | |
The String "could not be found." appears 3 times in the file. | 158 | |
First sentence should end with a period. | 170 | |
'=' is not preceded with whitespace. | 175 | |
'=' is not followed by whitespace. | 175 | |
First sentence should end with a period. | 192 | |
'=' is not preceded with whitespace. | 195 | |
'=' is not followed by whitespace. | 195 |