Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
18 0 84 0

Rules

Rules Violations Severity
NewlineAtEndOfFile
  • lineSeparator: "lf"
0 Errors Error
RegexpSingleline
  • format: "((//.*)|(\*.*))FIXME"
  • message: "TODO is preferred to FIXME."
0 Warnings Warning
RedundantImport 0 Errors Error
ImportOrder
  • tokens: "STATIC_IMPORT, IMPORT"
  • option: "top"
12 Warnings Warning
AvoidStarImport 0 Warnings Warning
UnusedImports 0 Errors Error
JavadocStyle 8 Warnings Warning
PackageName
  • format: "^[a-z]+(\.[a-z][a-z0-9]{1,})*$"
0 Warnings Warning
TypeNameCheck 1 Warnings Warning
ConstantNameCheck
  • applyToPackage: "true"
  • format: "^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|FLAG_.*)$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "false"
0 Warnings Warning
StaticVariableNameCheck
  • applyToPackage: "true"
  • format: "^[a-z][a-zA-Z0-9]*_?$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "true"
0 Warnings Warning
MemberNameCheck
  • applyToPackage: "true"
  • format: "^[a-z][a-zA-Z0-9]*$"
  • applyToPublic: "true"
  • applyToProtected: "true"
  • applyToPrivate: "true"
0 Warnings Warning
MethodNameCheck
  • format: "^[a-z][a-zA-Z0-9]*(_[a-zA-Z0-9]+)*$"
0 Warnings Warning
ParameterName 0 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName 0 Warnings Warning
LineLength
  • max: "250"
  • ignorePattern: "^(package .*;\s*)|(import .*;\s*)|( *\* *https?://.*)$"
0 Warnings Warning
LeftCurly 0 Warnings Warning
RightCurly
  • option: "same"
0 Warnings Warning
NeedBraces
  • tokens: "LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"
0 Warnings Warning
UpperEll 0 Errors Error
FallThrough
  • reliefPattern: "fall through|Fall through|fallthru|Fallthru|falls through|Falls through|fallthrough|Fallthrough|No break|NO break|no break|continue on"
0 Errors Error
AnnotationUseStyle 0 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
AvoidNestedBlocks 0 Errors Error
CovariantEquals 0 Errors Error
DeclarationOrder 15 Warnings Warning
DefaultComesLast 0 Warnings Warning
EmptyStatement 0 Warnings Warning
MultipleStringLiterals
  • allowedDuplicates: "1"
21 Warnings Warning
NeedBraces 0 Errors Error
PackageDeclaration 0 Errors Error
BooleanExpressionComplexity
  • max: "10"
0 Warnings Warning
CyclomaticComplexity
  • max: "10"
5 Warnings Warning
NPathComplexity
  • max: "200"
1 Warnings Warning
ModifierOrder 0 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"
19 Warnings Warning
WhitespaceAfter
  • tokens: "COMMA, SEMI, TYPECAST"
2 Warnings Warning
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
  • allowLineBreaks: "true"
0 Warnings Warning
NoWhitespaceBefore
  • tokens: "SEMI, DOT, POST_DEC, POST_INC"
  • allowLineBreaks: "true"
0 Warnings Warning
ParenPad 0 Warnings Warning

Details

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