Checkstyle Results

The following document contains the results of Checkstyle 11.0.0 with org/forgerock/checkstyle/check-src-default.xml ruleset.

Summary

Files  Info  Warnings  Errors
176 0 0 142

Files

File  I  W  E
org/forgerock/api/JavascriptTest.java 0 0 2
org/forgerock/api/annotations/Action.java 0 0 4
org/forgerock/api/annotations/Actions.java 0 0 1
org/forgerock/api/annotations/AdditionalProperties.java 0 0 1
org/forgerock/api/annotations/ApiError.java 0 0 4
org/forgerock/api/annotations/CollectionProvider.java 0 0 2
org/forgerock/api/annotations/Create.java 0 0 3
org/forgerock/api/annotations/Default.java 0 0 1
org/forgerock/api/annotations/Delete.java 0 0 1
org/forgerock/api/annotations/Description.java 0 0 1
org/forgerock/api/annotations/EnumTitle.java 0 0 1
org/forgerock/api/annotations/Example.java 0 0 1
org/forgerock/api/annotations/Format.java 0 0 1
org/forgerock/api/annotations/Handler.java 0 0 6
org/forgerock/api/annotations/MultipleOf.java 0 0 1
org/forgerock/api/annotations/Operation.java 0 0 6
org/forgerock/api/annotations/Parameter.java 0 0 8
org/forgerock/api/annotations/Patch.java 0 0 2
org/forgerock/api/annotations/Path.java 0 0 1
org/forgerock/api/annotations/PropertyOrder.java 0 0 1
org/forgerock/api/annotations/PropertyPolicies.java 0 0 4
org/forgerock/api/annotations/Queries.java 0 0 1
org/forgerock/api/annotations/Query.java 0 0 7
org/forgerock/api/annotations/Read.java 0 0 1
org/forgerock/api/annotations/ReadOnly.java 0 0 1
org/forgerock/api/annotations/RequestHandler.java 0 0 1
org/forgerock/api/annotations/Schema.java 0 0 3
org/forgerock/api/annotations/SingletonProvider.java 0 0 1
org/forgerock/api/annotations/Title.java 0 0 1
org/forgerock/api/annotations/UniqueItems.java 0 0 1
org/forgerock/api/annotations/Update.java 0 0 1
org/forgerock/api/commons/CommonsApi.java 0 0 27
org/forgerock/api/commons/frapiCommons.properties 0 0 3
org/forgerock/api/jackson/EnumSchema.java 0 0 1
org/forgerock/api/models/ApiError.java 0 0 1
org/forgerock/api/models/Definitions.java 0 0 2
org/forgerock/api/models/Errors.java 0 0 3
org/forgerock/api/models/Operation.java 0 0 1
org/forgerock/api/models/ResourceTest.java 0 0 32
org/forgerock/api/models/Services.java 0 0 2

Rules

Category Rule Violations Severity
design FinalClass 2  Error
indentation Indentation
  • throwsIndent: "8"
  • caseIndent: "0"
32  Error
javadoc JavadocMethod
  • accessModifiers: "public,protected"
68  Error
JavadocType
  • scope: "protected"
1  Error
JavadocVariable
  • accessModifiers: "public,protected"
1  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "^import "
3  Error
whitespace MethodParamPad 27  Error
NoWhitespaceBefore 1  Error
OperatorWrap 6  Error
WhitespaceAfter 1  Error

Details

org/forgerock/api/JavascriptTest.java

Severity Category Rule Message Line
 Error indentation Indentation 'throws' has incorrect indentation level 4, expected level should be 12. 58
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 75

org/forgerock/api/annotations/Action.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 52
 Error javadoc JavadocMethod @return tag should be present and have description. 54
 Error javadoc JavadocMethod @return tag should be present and have description. 56
 Error javadoc JavadocMethod @return tag should be present and have description. 58

org/forgerock/api/annotations/Actions.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 35

org/forgerock/api/annotations/AdditionalProperties.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 54

org/forgerock/api/annotations/ApiError.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 27
 Error javadoc JavadocMethod @return tag should be present and have description. 29
 Error javadoc JavadocMethod @return tag should be present and have description. 31
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/CollectionProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 53
 Error javadoc JavadocMethod @return tag should be present and have description. 55

org/forgerock/api/annotations/Create.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 51
 Error javadoc JavadocMethod @return tag should be present and have description. 56
 Error javadoc JavadocMethod @return tag should be present and have description. 61

org/forgerock/api/annotations/Default.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/Delete.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 49

org/forgerock/api/annotations/Description.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 35

org/forgerock/api/annotations/EnumTitle.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 34

org/forgerock/api/annotations/Example.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 34

org/forgerock/api/annotations/Format.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/Handler.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 53
 Error javadoc JavadocMethod @return tag should be present and have description. 59
 Error javadoc JavadocMethod @return tag should be present and have description. 62
 Error javadoc JavadocMethod @return tag should be present and have description. 65
 Error javadoc JavadocMethod @return tag should be present and have description. 68
 Error javadoc JavadocMethod @return tag should be present and have description. 71

org/forgerock/api/annotations/MultipleOf.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/Operation.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 30
 Error javadoc JavadocMethod @return tag should be present and have description. 32
 Error javadoc JavadocMethod @return tag should be present and have description. 38
 Error javadoc JavadocMethod @return tag should be present and have description. 40
 Error javadoc JavadocMethod @return tag should be present and have description. 42
 Error javadoc JavadocMethod @return tag should be present and have description. 44

org/forgerock/api/annotations/Parameter.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 26
 Error javadoc JavadocMethod @return tag should be present and have description. 28
 Error javadoc JavadocMethod @return tag should be present and have description. 30
 Error javadoc JavadocMethod @return tag should be present and have description. 32
 Error javadoc JavadocMethod @return tag should be present and have description. 34
 Error javadoc JavadocMethod @return tag should be present and have description. 36
 Error javadoc JavadocMethod @return tag should be present and have description. 38
 Error javadoc JavadocMethod @return tag should be present and have description. 40

org/forgerock/api/annotations/Patch.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 56
 Error javadoc JavadocMethod @return tag should be present and have description. 58

org/forgerock/api/annotations/Path.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 76

org/forgerock/api/annotations/PropertyOrder.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 34

org/forgerock/api/annotations/PropertyPolicies.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 36
 Error javadoc JavadocMethod @return tag should be present and have description. 41
 Error javadoc JavadocMethod @return tag should be present and have description. 47
 Error javadoc JavadocMethod @return tag should be present and have description. 53

org/forgerock/api/annotations/Queries.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 34

org/forgerock/api/annotations/Query.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 53
 Error javadoc JavadocMethod @return tag should be present and have description. 55
 Error javadoc JavadocMethod @return tag should be present and have description. 57
 Error javadoc JavadocMethod @return tag should be present and have description. 63
 Error javadoc JavadocMethod @return tag should be present and have description. 68
 Error javadoc JavadocMethod @return tag should be present and have description. 70
 Error javadoc JavadocMethod @return tag should be present and have description. 72

org/forgerock/api/annotations/Read.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 49

org/forgerock/api/annotations/ReadOnly.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/RequestHandler.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 53

org/forgerock/api/annotations/Schema.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 37
 Error javadoc JavadocMethod @return tag should be present and have description. 39
 Error javadoc JavadocMethod @return tag should be present and have description. 45

org/forgerock/api/annotations/SingletonProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 46

org/forgerock/api/annotations/Title.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/UniqueItems.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 33

org/forgerock/api/annotations/Update.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod @return tag should be present and have description. 52

org/forgerock/api/commons/CommonsApi.java

Severity Category Rule Message Line
 Error whitespace MethodParamPad '(' is preceded with whitespace. 117
 Error whitespace MethodParamPad '(' is preceded with whitespace. 119
 Error whitespace MethodParamPad '(' is preceded with whitespace. 121
 Error whitespace MethodParamPad '(' is preceded with whitespace. 123
 Error whitespace MethodParamPad '(' is preceded with whitespace. 125
 Error whitespace MethodParamPad '(' is preceded with whitespace. 127
 Error whitespace MethodParamPad '(' is preceded with whitespace. 129
 Error whitespace MethodParamPad '(' is preceded with whitespace. 131
 Error whitespace MethodParamPad '(' is preceded with whitespace. 133
 Error whitespace MethodParamPad '(' is preceded with whitespace. 135
 Error whitespace MethodParamPad '(' is preceded with whitespace. 137
 Error whitespace MethodParamPad '(' is preceded with whitespace. 139
 Error whitespace MethodParamPad '(' is preceded with whitespace. 141
 Error whitespace MethodParamPad '(' is preceded with whitespace. 143
 Error whitespace MethodParamPad '(' is preceded with whitespace. 145
 Error whitespace MethodParamPad '(' is preceded with whitespace. 147
 Error whitespace MethodParamPad '(' is preceded with whitespace. 149
 Error whitespace MethodParamPad '(' is preceded with whitespace. 151
 Error whitespace MethodParamPad '(' is preceded with whitespace. 153
 Error whitespace MethodParamPad '(' is preceded with whitespace. 155
 Error whitespace MethodParamPad '(' is preceded with whitespace. 157
 Error whitespace MethodParamPad '(' is preceded with whitespace. 159
 Error whitespace MethodParamPad '(' is preceded with whitespace. 161
 Error whitespace MethodParamPad '(' is preceded with whitespace. 163
 Error whitespace MethodParamPad '(' is preceded with whitespace. 165
 Error whitespace MethodParamPad '(' is preceded with whitespace. 167
 Error whitespace MethodParamPad '(' is preceded with whitespace. 169

org/forgerock/api/commons/frapiCommons.properties

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 127). 31
 Error sizes LineLength Line is longer than 120 characters (found 124). 35
 Error sizes LineLength Line is longer than 120 characters (found 124). 41

org/forgerock/api/jackson/EnumSchema.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 25

org/forgerock/api/models/ApiError.java

Severity Category Rule Message Line
 Error design FinalClass Class ErrorComparator should be declared as final. 246

org/forgerock/api/models/Definitions.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 127
 Error whitespace OperatorWrap '+' should be on a new line. 132

org/forgerock/api/models/Errors.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 133
 Error whitespace OperatorWrap '+' should be on a new line. 138
 Error design FinalClass Class ErrorEntryComparator should be declared as final. 163

org/forgerock/api/models/Operation.java

Severity Category Rule Message Line
 Error javadoc JavadocType Type Javadoc comment is missing @param <T> tag. 144

org/forgerock/api/models/ResourceTest.java

Severity Category Rule Message Line
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 290
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 292
 Error whitespace NoWhitespaceBefore ',' is preceded with whitespace. 294
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 297
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 479
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 481
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 485
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 502
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 504
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 508
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 16, expected level should be 12. 525
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 529
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 531
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 535
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 16, expected level should be 12. 545
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 549
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 551
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 555
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 671
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 673
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 677
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 696
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 698
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 32, expected level should be 28. 702
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 16, expected level should be 12. 723
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 727
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 729
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 733
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 16, expected level should be 12. 746
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 750
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 752
 Error indentation Indentation 'annotation array initialization' child has incorrect indentation level 40, expected level should be 36. 756

org/forgerock/api/models/Services.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 127
 Error whitespace OperatorWrap '+' should be on a new line. 132