Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files  Info  Warnings  Errors
12 0 0 197

Rules

Category Rule Violations Severity
coding AvoidInlineConditionals 2  Error
HiddenField 9  Error
RedundantThrows 3  Error
design DesignForExtension 44  Error
FinalClass 1  Error
javadoc JavadocMethod 39  Error
JavadocPackage
  • allowLegacy: "true"
2  Error
JavadocType 12  Error
JavadocVariable 14  Error
regexp RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
1  Error
sizes LineLength 70  Error

Details

org/apache/johnzon/jaxrs/ConfigurableJohnzonProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 45
 Error sizes LineLength Line is longer than 80 characters (found 99). 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error sizes LineLength Line is longer than 80 characters (found 101). 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error sizes LineLength Line is longer than 80 characters (found 116). 60
 Error design DesignForExtension Method 'isReadable' is not designed for extension - needs to be abstract, final or empty. 69
 Error sizes LineLength Line is longer than 80 characters (found 90). 71
 Error sizes LineLength Line is longer than 80 characters (found 83). 72
 Error design DesignForExtension Method 'readFrom' is not designed for extension - needs to be abstract, final or empty. 75
 Error sizes LineLength Line is longer than 80 characters (found 108). 80
 Error design DesignForExtension Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 83
 Error sizes LineLength Line is longer than 80 characters (found 82). 84
 Error sizes LineLength Line is longer than 80 characters (found 84). 85
 Error sizes LineLength Line is longer than 80 characters (found 83). 86
 Error design DesignForExtension Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 89
 Error sizes LineLength Line is longer than 80 characters (found 91). 91
 Error sizes LineLength Line is longer than 80 characters (found 84). 92
 Error design DesignForExtension Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 95
 Error sizes LineLength Line is longer than 80 characters (found 82). 96
 Error sizes LineLength Line is longer than 80 characters (found 82). 97
 Error sizes LineLength Line is longer than 80 characters (found 103). 100
 Error design DesignForExtension Method 'setSupportConstructors' is not designed for extension - needs to be abstract, final or empty. 103
 Error javadoc JavadocMethod Missing a Javadoc comment. 103
 Error design DesignForExtension Method 'setPretty' is not designed for extension - needs to be abstract, final or empty. 107
 Error javadoc JavadocMethod Missing a Javadoc comment. 107
 Error sizes LineLength Line is longer than 80 characters (found 91). 111
 Error design DesignForExtension Method 'setSupportGetterForCollections' is not designed for extension - needs to be abstract, final or empty. 111
 Error javadoc JavadocMethod Missing a Javadoc comment. 111
 Error design DesignForExtension Method 'setSupportsComments' is not designed for extension - needs to be abstract, final or empty. 115
 Error javadoc JavadocMethod Missing a Javadoc comment. 115
 Error design DesignForExtension Method 'setIgnores' is not designed for extension - needs to be abstract, final or empty. 119
 Error javadoc JavadocMethod Missing a Javadoc comment. 119
 Error coding HiddenField 'ignores' hides a field. 119
 Error coding AvoidInlineConditionals Avoid inline conditionals. 120
 Error design DesignForExtension Method 'setAccessMode' is not designed for extension - needs to be abstract, final or empty. 123
 Error javadoc JavadocMethod Missing a Javadoc comment. 123
 Error design DesignForExtension Method 'setAccessModeName' is not designed for extension - needs to be abstract, final or empty. 127
 Error javadoc JavadocMethod Missing a Javadoc comment. 127
 Error design DesignForExtension Method 'setSupportHiddenAccess' is not designed for extension - needs to be abstract, final or empty. 131
 Error javadoc JavadocMethod Missing a Javadoc comment. 131
 Error design DesignForExtension Method 'setAttributeOrder' is not designed for extension - needs to be abstract, final or empty. 135
 Error javadoc JavadocMethod Missing a Javadoc comment. 135
 Error design DesignForExtension Method 'setReaderFactory' is not designed for extension - needs to be abstract, final or empty. 139
 Error javadoc JavadocMethod Missing a Javadoc comment. 139
 Error sizes LineLength Line is longer than 80 characters (found 82). 143
 Error design DesignForExtension Method 'setGeneratorFactory' is not designed for extension - needs to be abstract, final or empty. 143
 Error javadoc JavadocMethod Missing a Javadoc comment. 143
 Error design DesignForExtension Method 'setDoCloseOnStreams' is not designed for extension - needs to be abstract, final or empty. 147
 Error javadoc JavadocMethod Missing a Javadoc comment. 147
 Error design DesignForExtension Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. 151
 Error javadoc JavadocMethod Missing a Javadoc comment. 151
 Error design DesignForExtension Method 'setSkipNull' is not designed for extension - needs to be abstract, final or empty. 155
 Error javadoc JavadocMethod Missing a Javadoc comment. 155
 Error design DesignForExtension Method 'setSkipEmptyArray' is not designed for extension - needs to be abstract, final or empty. 159
 Error javadoc JavadocMethod Missing a Javadoc comment. 159
 Error design DesignForExtension Method 'setBufferSize' is not designed for extension - needs to be abstract, final or empty. 163
 Error javadoc JavadocMethod Missing a Javadoc comment. 163
 Error design DesignForExtension Method 'setBufferStrategy' is not designed for extension - needs to be abstract, final or empty. 167
 Error javadoc JavadocMethod Missing a Javadoc comment. 167
 Error design DesignForExtension Method 'setMaxSize' is not designed for extension - needs to be abstract, final or empty. 171
 Error javadoc JavadocMethod Missing a Javadoc comment. 171
 Error regexp RegexpSingleline Line has trailing spaces. 174
 Error sizes LineLength Line is longer than 80 characters (found 81). 175
 Error design DesignForExtension Method 'setTreatByteArrayAsBase64' is not designed for extension - needs to be abstract, final or empty. 175
 Error javadoc JavadocMethod Missing a Javadoc comment. 175

org/apache/johnzon/jaxrs/DelegateProvider.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 98). 31
 Error javadoc JavadocType Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error sizes LineLength Line is longer than 80 characters (found 102). 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error coding HiddenField 'reader' hides a field. 35
 Error coding HiddenField 'writer' hides a field. 35
 Error design DesignForExtension Method 'isReadable' is not designed for extension - needs to be abstract, final or empty. 40
 Error sizes LineLength Line is longer than 80 characters (found 90). 42
 Error design DesignForExtension Method 'readFrom' is not designed for extension - needs to be abstract, final or empty. 46
 Error sizes LineLength Line is longer than 80 characters (found 104). 51
 Error design DesignForExtension Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 54
 Error sizes LineLength Line is longer than 80 characters (found 82). 55
 Error sizes LineLength Line is longer than 80 characters (found 84). 56
 Error design DesignForExtension Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 60
 Error sizes LineLength Line is longer than 80 characters (found 91). 62
 Error design DesignForExtension Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 66
 Error sizes LineLength Line is longer than 80 characters (found 82). 67
 Error sizes LineLength Line is longer than 80 characters (found 82). 68
 Error sizes LineLength Line is longer than 80 characters (found 99). 71

org/apache/johnzon/jaxrs/IgnorableTypes.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error coding HiddenField 'ignores' hides a field. 27
 Error coding AvoidInlineConditionals Avoid inline conditionals. 28
 Error design DesignForExtension Method 'isIgnored' is not designed for extension - needs to be abstract, final or empty. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31

org/apache/johnzon/jaxrs/JohnzonMessageBodyReader.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 42
 Error sizes LineLength Line is longer than 80 characters (found 97). 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error sizes LineLength Line is longer than 80 characters (found 97). 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error coding HiddenField 'mapper' hides a field. 51
 Error design DesignForExtension Method 'isReadable' is not designed for extension - needs to be abstract, final or empty. 56
 Error sizes LineLength Line is longer than 80 characters (found 90). 58
 Error sizes LineLength Line is longer than 80 characters (found 103). 61
 Error design DesignForExtension Method 'readFrom' is not designed for extension - needs to be abstract, final or empty. 66
 Error sizes LineLength Line is longer than 80 characters (found 82). 72
 Error sizes LineLength Line is longer than 80 characters (found 115). 73
 Error sizes LineLength Line is longer than 80 characters (found 102). 74

org/apache/johnzon/jaxrs/JohnzonMessageBodyWriter.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 43
 Error sizes LineLength Line is longer than 80 characters (found 97). 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error sizes LineLength Line is longer than 80 characters (found 97). 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error coding HiddenField 'mapper' hides a field. 52
 Error design DesignForExtension Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 57
 Error sizes LineLength Line is longer than 80 characters (found 82). 58
 Error sizes LineLength Line is longer than 80 characters (found 84). 59
 Error design DesignForExtension Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 63
 Error sizes LineLength Line is longer than 80 characters (found 91). 65
 Error design DesignForExtension Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 77
 Error sizes LineLength Line is longer than 80 characters (found 82). 78
 Error sizes LineLength Line is longer than 80 characters (found 82). 79
 Error sizes LineLength Line is longer than 80 characters (found 115). 84

org/apache/johnzon/jaxrs/JohnzonProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 32
 Error sizes LineLength Line is longer than 80 characters (found 83). 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error sizes LineLength Line is longer than 80 characters (found 114). 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 40

org/apache/johnzon/jaxrs/Jsons.java

Severity Category Rule Message Line
 Error design FinalClass Class Jsons should be declared as final. 23
 Error javadoc JavadocType Missing a Javadoc comment. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 36

org/apache/johnzon/jaxrs/JsrMessageBodyReader.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error sizes LineLength Line is longer than 80 characters (found 86). 46
 Error sizes LineLength Line is longer than 80 characters (found 93). 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error coding HiddenField 'factory' hides a field. 49
 Error coding HiddenField 'closeStream' hides a field. 49
 Error design DesignForExtension Method 'isReadable' is not designed for extension - needs to be abstract, final or empty. 54
 Error sizes LineLength Line is longer than 80 characters (found 90). 56
 Error design DesignForExtension Method 'readFrom' is not designed for extension - needs to be abstract, final or empty. 60
 Error sizes LineLength Line is longer than 80 characters (found 97). 61
 Error sizes LineLength Line is longer than 80 characters (found 92). 62
 Error sizes LineLength Line is longer than 80 characters (found 98). 63
 Error sizes LineLength Line is longer than 80 characters (found 110). 64
 Error coding RedundantThrows Redundant throws: 'WebApplicationException' is unchecked exception. 64

org/apache/johnzon/jaxrs/JsrMessageBodyWriter.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 46
 Error sizes LineLength Line is longer than 80 characters (found 86). 47
 Error sizes LineLength Line is longer than 80 characters (found 94). 50
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error coding HiddenField 'factory' hides a field. 50
 Error design DesignForExtension Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 55
 Error sizes LineLength Line is longer than 80 characters (found 91). 57
 Error design DesignForExtension Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 61
 Error sizes LineLength Line is longer than 80 characters (found 81). 62
 Error design DesignForExtension Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 68
 Error sizes LineLength Line is longer than 80 characters (found 82). 71
 Error sizes LineLength Line is longer than 80 characters (found 88). 72
 Error sizes LineLength Line is longer than 80 characters (found 102). 73
 Error coding RedundantThrows Redundant throws: 'WebApplicationException' is unchecked exception. 73

org/apache/johnzon/jaxrs/JsrProvider.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 32

org/apache/johnzon/jaxrs/WadlDocumentMessageBodyWriter.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 83). 36
 Error javadoc JavadocType Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error design DesignForExtension Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 39
 Error sizes LineLength Line is longer than 80 characters (found 91). 41
 Error design DesignForExtension Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 45
 Error design DesignForExtension Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 52
 Error sizes LineLength Line is longer than 80 characters (found 115). 55
 Error sizes LineLength Line is longer than 80 characters (found 102). 56
 Error coding RedundantThrows Redundant throws: 'WebApplicationException' is unchecked exception. 56

org/apache/johnzon/jaxrs/xml/WadlDocumentToJson.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 37
 Error sizes LineLength Line is longer than 80 characters (found 120). 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error design DesignForExtension Method 'convert' is not designed for extension - needs to be abstract, final or empty. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error sizes LineLength Line is longer than 80 characters (found 84). 46
 Error sizes LineLength Line is longer than 80 characters (found 116). 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error sizes LineLength Line is longer than 80 characters (found 104). 50
 Error sizes LineLength Line is longer than 80 characters (found 88). 66
 Error sizes LineLength Line is longer than 80 characters (found 86). 67
 Error javadoc JavadocMethod Missing a Javadoc comment. 78
 Error sizes LineLength Line is longer than 80 characters (found 84). 86
 Error sizes LineLength Line is longer than 80 characters (found 85). 94