The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 5 | Error |
NewlineAtEndOfFile
| 0 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter | 0 | Error |
RegexpSingleline
| 69 | Error |
Header
| 0 | Error |
JavadocMethod
| 36 | Error |
JavadocType | 5 | Error |
JavadocVariable | 38 | Error |
JavadocStyle | 9 | Error |
ConstantName | 8 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 3 | Error |
LineLength | 14 | Error |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
GenericWhitespace | 2 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 3 | Error |
EmptyBlock | 0 | Error |
LeftCurly | 0 | Error |
NeedBraces | 0 | Error |
RightCurly | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField
| 5 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 2 | Error |
MagicNumber | 11 | Error |
MissingSwitchDefault | 1 | Error |
RedundantThrows | 3 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
DesignForExtension | 45 | Error |
FinalClass | 1 | Error |
HideUtilityClassConstructor | 2 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 4 | Error |
ArrayTypeStyle | 1 | Error |
FinalParameters | 88 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
SuppressionFilter
| 0 | Error |
Violation | Message | Line |
---|---|---|
'>' is followed by an illegal character. | 314 | |
'>' is followed by an illegal character. | 323 | |
Line has trailing spaces. | 1066 | |
Line has trailing spaces. | 1227 | |
Method 'getValueAs' is not designed for extension - needs to be abstract, final or empty. | 1236 | |
Parameter type should be final. | 1236 | |
Line has trailing spaces. | 1256 | |
Method 'path' is not designed for extension - needs to be abstract, final or empty. | 1569 | |
Parameter path should be final. | 1569 | |
Method 'path' is not designed for extension - needs to be abstract, final or empty. | 1581 | |
Parameter path should be final. | 1581 | |
'7' is a magic number. | 1612 | |
'53' is a magic number. | 1613 |
Violation | Message | Line |
---|---|---|
Unused import - java.util.logging.Level. | 30 | |
Unused import - java.util.logging.Logger. | 31 | |
Method 'getAsText' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Line has trailing spaces. | 42 | |
Line has trailing spaces. | 46 | |
Method 'setAsText' is not designed for extension - needs to be abstract, final or empty. | 50 | |
Parameter text should be final. | 51 | |
Redundant throws: 'IllegalArgumentException' is unchecked exception. | 51 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 41 | |
Missing a Javadoc comment. | 42 | |
Missing a Javadoc comment. | 43 | |
Missing a Javadoc comment. | 44 | |
Missing a Javadoc comment. | 47 | |
Missing a Javadoc comment. | 48 | |
Missing a Javadoc comment. | 49 | |
Missing a Javadoc comment. | 51 | |
Parameter characters should be final. | 51 | |
Parameter index should be final. | 51 | |
Missing a Javadoc comment. | 56 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 65 | |
Missing a Javadoc comment. | 66 | |
Missing a Javadoc comment. | 67 | |
Missing a Javadoc comment. | 69 | |
Parameter characters should be final. | 69 | |
Parameter key should be final. | 69 | |
Missing a Javadoc comment. | 74 | |
Missing a Javadoc comment. | 78 | |
Class Escape should be declared as final. | 84 | |
Missing a Javadoc comment. | 84 | |
Missing a Javadoc comment. | 85 | |
Name 'doubleQuote' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 85 | |
Missing a Javadoc comment. | 86 | |
Name 'singleQuote' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 86 | |
Missing a Javadoc comment. | 87 | |
Name 'tab' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 87 | |
Missing a Javadoc comment. | 88 | |
Name 'newline' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 88 | |
Missing a Javadoc comment. | 89 | |
Name 'carriageReturn' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 89 | |
Missing a Javadoc comment. | 90 | |
Name 'forwardSlash' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 90 | |
Missing a Javadoc comment. | 91 | |
Name 'backslash' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 91 | |
Missing a Javadoc comment. | 93 | |
Missing a Javadoc comment. | 94 | |
Line has trailing spaces. | 95 | |
Missing a Javadoc comment. | 96 | |
Parameter characters should be final. | 96 | |
Parameter escape should be final. | 96 | |
Missing a Javadoc comment. | 101 | |
Missing a Javadoc comment. | 105 | |
Missing a Javadoc comment. | 111 | |
Parameter string should be final. | 131 | |
Parameter offset should be final. | 131 | |
'5' is a magic number. | 158 | |
Parameter string should be final. | 172 | |
Parameter offset should be final. | 172 | |
'4' is a magic number. | 175 | |
'4' is a magic number. | 182 | |
'16' is a magic number. | 185 | |
Line is longer than 80 characters. | 276 | |
'4' is a magic number. | 278 | |
Line has trailing spaces. | 288 | |
Expected an @return tag. | 299 | |
Line has trailing spaces. | 304 | |
Line has trailing spaces. | 324 | |
Parameter string should be final. | 334 | |
Line has trailing spaces. | 345 | |
Parameter path should be final. | 355 | |
Line has trailing spaces. | 361 | |
Parameter path should be final. | 367 | |
Parameter offset should be final. | 367 | |
Line is longer than 80 characters. | 403 | |
Line has trailing spaces. | 414 | |
Line is longer than 80 characters. | 423 | |
Line is longer than 80 characters. | 431 | |
Parameter path should be final. | 461 | |
Parameter jsog should be final. | 461 | |
Parameter key should be final. | 500 | |
Parameter child should be final. | 500 | |
Parameter index should be final. | 512 | |
Parameter child should be final. | 512 | |
Parameter jsog should be final. | 524 | |
Line has trailing spaces. | 529 | |
Line has trailing spaces. | 554 | |
Line has trailing spaces. | 564 | |
Line has trailing spaces. | 571 |
Violation | Message | Line |
---|---|---|
'80' is a magic number. | 108 | |
'443' is a magic number. | 111 | |
Line is longer than 80 characters. | 172 | |
Parameter userAgent should be final. | 182 | |
Method 'getClient' is not designed for extension - needs to be abstract, final or empty. | 190 | |
'200' is a magic number. | 269 |
Violation | Message | Line |
---|---|---|
Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'HttpClientException'. | 0 |
Violation | Message | Line |
---|---|---|
Utility classes should not have a public or default constructor. | 35 | |
Parameter args should be final. | 41 | |
Expected @throws tag for 'Exception'. | 41 | |
'4096' is a magic number. | 54 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 177 | |
Line has trailing spaces. | 185 | |
Line has trailing spaces. | 188 | |
Parameter base should be final. | 193 | |
'base' hides a field. | 193 | |
Line has trailing spaces. | 195 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 256 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 50 | |
Variable 'position' must be private and have accessor methods. | 50 | |
Missing a Javadoc comment. | 51 | |
Variable 'type' must be private and have accessor methods. | 51 | |
Missing a Javadoc comment. | 52 | |
Variable 'path' must be private and have accessor methods. | 52 | |
Missing a Javadoc comment. | 53 | |
Variable 'required' must be private and have accessor methods. | 53 | |
Missing a Javadoc comment. | 55 | |
Parameter position should be final. | 55 | |
Parameter type should be final. | 56 | |
Parameter path should be final. | 57 | |
Parameter required should be final. | 58 | |
Parameter type should be final. | 70 | |
Expected @param tag for 'type'. | 70 | |
Parameter annotations should be final. | 90 | |
Parameter method should be final. | 118 | |
Parameter type should be final. | 137 | |
Parameter name should be final. | 137 | |
'method' hides a field. | 138 | |
Array brackets at illegal position. | 158 | |
Line has trailing spaces. | 183 | |
Parameter jsog should be final. | 198 | |
Line has trailing spaces. | 254 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Line has trailing spaces. | 44 | |
Unclosed HTML tag found: <ul> | 51 | |
Extra HTML tag found: </alice>}<br/> | 54 | |
Extra HTML tag found: </bob><david>edgar</david></alice>}<br/> | 59 | |
Extra HTML tag found: </david></alice>}<br/> | 59 | |
Extra HTML tag found: </alice>}<br/> | 59 | |
Line is longer than 80 characters. | 61 | |
Extra HTML tag found: </bob><bob>david</bob></alice>}<br/> | 64 | |
Extra HTML tag found: </bob></alice>}<br/> | 64 | |
Extra HTML tag found: </alice>}<br/> | 64 | |
Extra HTML tag found: </alice>}<br/> | 69 | |
Missing a Javadoc comment. | 78 | |
Line has trailing spaces. | 96 | |
Parameter inputFactory should be final. | 119 | |
Unused @param tag for 'the'. | 125 | |
Parameter xmlString should be final. | 129 | |
Expected @param tag for 'xmlString'. | 129 | |
Parameter in should be final. | 139 | |
switch without "default" clause. | 152 | |
Avoid nested blocks. | 153 | |
Inner assignments should be avoided. | 163 | |
Line has trailing spaces. | 165 | |
Avoid nested blocks. | 181 | |
Avoid nested blocks. | 184 | |
Parameter start should be final. | 203 | |
Parameter attribute should be final. | 214 | |
Parameter last should be final. | 230 | |
Parameter key should be final. | 230 | |
Parameter value should be final. | 230 | |
Inner assignments should be avoided. | 244 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 47 | |
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 47 | |
Missing a Javadoc comment. | 50 | |
Missing a Javadoc comment. | 52 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 95 | |
Missing a Javadoc comment. | 101 | |
Line is longer than 80 characters. | 102 | |
Parameter visited should be final. | 102 | |
Line has trailing spaces. | 105 | |
Line is longer than 80 characters. | 167 | |
Line has trailing spaces. | 170 | |
Line is longer than 80 characters. | 172 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 193 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 209 | |
Expected @param tag for 'filter'. | 209 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 232 | |
Method 'create' is not designed for extension - needs to be abstract, final or empty. | 247 | |
Expected @param tag for 'filter'. | 247 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 43 | |
Missing a Javadoc comment. | 56 | |
Parameter primitives should be final. | 63 | |
Method 'include' is not designed for extension - needs to be abstract, final or empty. | 73 | |
Missing a Javadoc comment. | 73 | |
Parameter classes should be final. | 73 | |
Method 'exclude' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Missing a Javadoc comment. | 79 | |
Parameter classes should be final. | 79 | |
Method 'filter' is not designed for extension - needs to be abstract, final or empty. | 85 | |
Parameter property should be final. | 86 |
Violation | Message | Line |
---|---|---|
Method 'filter' is not designed for extension - needs to be abstract, final or empty. | 35 | |
Parameter property should be final. | 36 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 46 | |
Method 'setOutputContentType' is not designed for extension - needs to be abstract, final or empty. | 52 | |
Parameter outputContentType should be final. | 52 | |
Missing a Javadoc comment. | 56 | |
Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. | 64 | |
Parameter encoding should be final. | 64 | |
Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. | 74 | |
Parameter encoding should be final. | 74 | |
Line has trailing spaces. | 77 | |
Missing a Javadoc comment. | 78 | |
Line has trailing spaces. | 83 | |
Method 'setJsonpCallbackParam' is not designed for extension - needs to be abstract, final or empty. | 87 | |
Parameter jsonpCallbackParam should be final. | 87 | |
Line has trailing spaces. | 90 | |
Missing a Javadoc comment. | 91 | |
Method 'setBeanJsogFactory' is not designed for extension - needs to be abstract, final or empty. | 93 | |
Missing a Javadoc comment. | 93 | |
Parameter beanJsogFactory should be final. | 93 | |
Method 'renderMergedOutputModel' is not designed for extension - needs to be abstract, final or empty. | 97 | |
Parameter model should be final. | 98 | |
Parameter request should be final. | 99 | |
Parameter response should be final. | 100 | |
Line has trailing spaces. | 102 | |
Line has trailing spaces. | 105 | |
Line has trailing spaces. | 114 | |
Line has trailing spaces. | 128 | |
Line has trailing spaces. | 135 | |
Method 'modelToJsog' is not designed for extension - needs to be abstract, final or empty. | 136 | |
Missing a Javadoc comment. | 136 | |
Parameter model should be final. | 136 | |
Line has trailing spaces. | 137 | |
Line has trailing spaces. | 140 | |
Line has trailing spaces. | 143 | |
Line has trailing spaces. | 150 | |
Line has trailing spaces. | 154 | |
Line has trailing spaces. | 159 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 38 | |
Line has trailing spaces. | 39 | |
Missing a Javadoc comment. | 40 | |
Line has trailing spaces. | 41 | |
Missing a Javadoc comment. | 42 | |
Method 'getOrder' is not designed for extension - needs to be abstract, final or empty. | 44 | |
Missing a Javadoc comment. | 44 | |
Method 'setOrder' is not designed for extension - needs to be abstract, final or empty. | 48 | |
Missing a Javadoc comment. | 48 | |
Parameter order should be final. | 48 | |
Method 'setViewName' is not designed for extension - needs to be abstract, final or empty. | 58 | |
Parameter viewName should be final. | 58 | |
Method 'setView' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Parameter view should be final. | 66 | |
Line has trailing spaces. | 69 | |
Line has trailing spaces. | 74 | |
Method 'resolveViewName' is not designed for extension - needs to be abstract, final or empty. | 80 | |
Parameter viewName should be final. | 80 | |
'viewName' hides a field. | 80 | |
Parameter locale should be final. | 80 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Line is longer than 80 characters. | 55 | |
Line is longer than 80 characters. | 64 | |
Missing a Javadoc comment. | 66 | |
Method 'setOutputContentType' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Parameter outputContentType should be final. | 79 | |
Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. | 96 | |
Parameter encoding should be final. | 96 | |
Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. | 106 | |
Parameter encoding should be final. | 106 | |
Missing a Javadoc comment. | 110 | |
Method 'setSupportedMediaTypes' is not designed for extension - needs to be abstract, final or empty. | 118 | |
Parameter supportedMediaTypes should be final. | 118 | |
Line is longer than 80 characters. | 119 | |
Line has trailing spaces. | 121 | |
Method 'getSupportedMediaTypes' is not designed for extension - needs to be abstract, final or empty. | 122 | |
Method 'canRead' is not designed for extension - needs to be abstract, final or empty. | 127 | |
Parameter clazz should be final. | 128 | |
Parameter mediaType should be final. | 128 | |
Method 'read' is not designed for extension - needs to be abstract, final or empty. | 142 | |
Parameter clazz should be final. | 143 | |
Parameter input should be final. | 143 | |
Redundant throws: 'HttpMessageNotReadableException' is unchecked exception. | 144 | |
'encoding' hides a field. | 147 | |
Line has trailing spaces. | 148 | |
Line is longer than 80 characters. | 160 | |
Method 'canWrite' is not designed for extension - needs to be abstract, final or empty. | 164 | |
Parameter clazz should be final. | 165 | |
Parameter mediaType should be final. | 165 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 170 | |
Parameter jsog should be final. | 171 | |
Parameter type should be final. | 171 | |
Parameter output should be final. | 171 | |
Redundant throws: 'HttpMessageNotWritableException' is unchecked exception. | 172 | |
'encoding' hides a field. | 175 | |
Line has trailing spaces. | 179 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 37 | |
Missing a Javadoc comment. | 38 | |
Utility classes should not have a public or default constructor. | 38 | |
Missing a Javadoc comment. | 39 | |
Missing a Javadoc comment. | 40 | |
Line has trailing spaces. | 41 | |
Missing a Javadoc comment. | 42 | |
Parameter key should be final. | 42 | |
Parameter value should be final. | 42 | |
Line has trailing spaces. | 47 | |
Missing a Javadoc comment. | 48 | |
Line has trailing spaces. | 49 | |
Missing a Javadoc comment. | 50 | |
Line has trailing spaces. | 51 | |
Method 'setBaseUrl' is not designed for extension - needs to be abstract, final or empty. | 52 | |
Missing a Javadoc comment. | 52 | |
Parameter baseUrl should be final. | 52 | |
Line has trailing spaces. | 55 | |
Method 'setParameters' is not designed for extension - needs to be abstract, final or empty. | 56 | |
Missing a Javadoc comment. | 56 | |
Parameter parameters should be final. | 56 | |
Method 'getObject' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Missing a Javadoc comment. | 60 | |
Line has trailing spaces. | 62 | |
Line has trailing spaces. | 68 | |
Method 'getObjectType' is not designed for extension - needs to be abstract, final or empty. | 72 | |
Missing a Javadoc comment. | 72 | |
Method 'isSingleton' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Missing a Javadoc comment. | 76 | |
Line has trailing spaces. | 79 |
Violation | Message | Line |
---|---|---|
Method 'init' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Missing a Javadoc comment. | 36 | |
Line has trailing spaces. | 39 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Unused import - java.util.AbstractMap.SimpleEntry. | 29 | |
Method 'parseInternal' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Parameter element should be final. | 47 | |
Line is longer than 80 characters. | 48 | |
Parameter parserContext should be final. | 48 | |
Line has trailing spaces. | 51 | |
Line has trailing spaces. | 53 | |
Line has trailing spaces. | 55 | |
Line has trailing spaces. | 58 | |
Missing a Javadoc comment. | 59 | |
Parameter elements should be final. | 59 | |
Parameter factory should be final. | 60 | |
Line has trailing spaces. | 61 | |
Line has trailing spaces. | 64 | |
Line has trailing spaces. | 68 | |
Line has trailing spaces. | 71 | |
Missing a Javadoc comment. | 72 | |
Parameter element should be final. | 72 | |
Line has trailing spaces. | 77 |