Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
24 0 0 164

Files

File  I  W  E
org/apache/johnzon/websocket/internal/TypeAwareDecoder.java 0 0 15
org/apache/johnzon/websocket/internal/jsr/FactoryLocator.java 0 0 21
org/apache/johnzon/websocket/internal/jsr/JsrDecoder.java 0 0 5
org/apache/johnzon/websocket/internal/jsr/JsrEncoder.java 0 0 6
org/apache/johnzon/websocket/internal/jsr/package-info.java 0 0 1
org/apache/johnzon/websocket/internal/lazy/LazySupplier.java 0 0 8
org/apache/johnzon/websocket/internal/mapper/MapperLocator.java 0 0 3
org/apache/johnzon/websocket/internal/mapper/MapperLocatorDelegate.java 0 0 16
org/apache/johnzon/websocket/internal/mapper/package-info.java 0 0 1
org/apache/johnzon/websocket/internal/servlet/IgnoreIfMissing.java 0 0 8
org/apache/johnzon/websocket/jsonb/JsonbLocator.java 0 0 2
org/apache/johnzon/websocket/jsonb/JsonbLocatorDelegate.java 0 0 14
org/apache/johnzon/websocket/jsonb/JsonbTextDecoder.java 0 0 15
org/apache/johnzon/websocket/jsonb/JsonbTextEncoder.java 0 0 5
org/apache/johnzon/websocket/jsr/JsrArrayDecoder.java 0 0 3
org/apache/johnzon/websocket/jsr/JsrArrayEncoder.java 0 0 2
org/apache/johnzon/websocket/jsr/JsrObjectDecoder.java 0 0 3
org/apache/johnzon/websocket/jsr/JsrObjectEncoder.java 0 0 3
org/apache/johnzon/websocket/jsr/JsrStructureDecoder.java 0 0 3
org/apache/johnzon/websocket/jsr/JsrStructureEncoder.java 0 0 3
org/apache/johnzon/websocket/jsr/package-info.java 0 0 1
org/apache/johnzon/websocket/mapper/JohnzonTextDecoder.java 0 0 20
org/apache/johnzon/websocket/mapper/JohnzonTextEncoder.java 0 0 5
org/apache/johnzon/websocket/mapper/package-info.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField 7  Error
design DesignForExtension 29  Error
VisibilityModifier 5  Error
javadoc JavadocMethod 25  Error
JavadocPackage 4  Error
JavadocStyle 4  Error
JavadocType 20  Error
JavadocVariable 23  Error
misc FinalParameters 1  Error
sizes LineLength 46  Error

Details

org/apache/johnzon/websocket/internal/TypeAwareDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error design VisibilityModifier Variable 'type' must be private and have accessor methods. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error coding HiddenField 'type' hides a field. 37
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 41
 Error sizes LineLength Line is longer than 80 characters (found 110). 47
 Error sizes LineLength Line is longer than 80 characters (found 86). 53
 Error sizes LineLength Line is longer than 80 characters (found 83). 59
 Error sizes LineLength Line is longer than 80 characters (found 97). 74
 Error sizes LineLength Line is longer than 80 characters (found 109). 77
 Error sizes LineLength Line is longer than 80 characters (found 97). 79

org/apache/johnzon/websocket/internal/jsr/FactoryLocator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 31
 Error sizes LineLength Line is longer than 80 characters (found 144). 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error sizes LineLength Line is longer than 80 characters (found 144). 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error sizes LineLength Line is longer than 80 characters (found 101). 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error sizes LineLength Line is longer than 80 characters (found 101). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error design DesignForExtension Method 'contextInitialized' is not designed for extension - needs to be abstract, final or empty. 38
 Error sizes LineLength Line is longer than 80 characters (found 83). 39
 Error sizes LineLength Line is longer than 80 characters (found 97). 40
 Error sizes LineLength Line is longer than 80 characters (found 87). 44
 Error sizes LineLength Line is longer than 80 characters (found 87). 48
 Error design DesignForExtension Method 'contextDestroyed' is not designed for extension - needs to be abstract, final or empty. 51
 Error sizes LineLength Line is longer than 80 characters (found 81). 52
 Error sizes LineLength Line is longer than 80 characters (found 97). 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error javadoc JavadocMethod Missing a Javadoc comment. 70
 Error javadoc JavadocMethod Missing a Javadoc comment. 82
 Error javadoc JavadocMethod Missing a Javadoc comment. 86

org/apache/johnzon/websocket/internal/jsr/JsrDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 32
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 34
 Error design DesignForExtension Method 'decode' is not designed for extension - needs to be abstract, final or empty. 39

org/apache/johnzon/websocket/internal/jsr/JsrEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 32
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 34
 Error design DesignForExtension Method 'encode' is not designed for extension - needs to be abstract, final or empty. 44
 Error sizes LineLength Line is longer than 80 characters (found 92). 45

org/apache/johnzon/websocket/internal/jsr/package-info.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 19

org/apache/johnzon/websocket/internal/lazy/LazySupplier.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error design DesignForExtension Method 'get' is not designed for extension - needs to be abstract, final or empty. 31
 Error design DesignForExtension Method 'getInstance' is not designed for extension - needs to be abstract, final or empty. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 44

org/apache/johnzon/websocket/internal/mapper/MapperLocator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 31

org/apache/johnzon/websocket/internal/mapper/MapperLocatorDelegate.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 34
 Error sizes LineLength Line is longer than 80 characters (found 134). 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error sizes LineLength Line is longer than 80 characters (found 86). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error design DesignForExtension Method 'contextInitialized' is not designed for extension - needs to be abstract, final or empty. 38
 Error sizes LineLength Line is longer than 80 characters (found 83). 39
 Error sizes LineLength Line is longer than 80 characters (found 86). 40
 Error sizes LineLength Line is longer than 80 characters (found 92). 41
 Error sizes LineLength Line is longer than 80 characters (found 115). 44
 Error design DesignForExtension Method 'contextDestroyed' is not designed for extension - needs to be abstract, final or empty. 51
 Error sizes LineLength Line is longer than 80 characters (found 81). 52
 Error sizes LineLength Line is longer than 80 characters (found 124). 53
 Error sizes LineLength Line is longer than 80 characters (found 82). 55
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 83

org/apache/johnzon/websocket/internal/mapper/package-info.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 19

org/apache/johnzon/websocket/internal/servlet/IgnoreIfMissing.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error coding HiddenField 'delegate' hides a field. 29
 Error design DesignForExtension Method 'contextInitialized' is not designed for extension - needs to be abstract, final or empty. 33
 Error design DesignForExtension Method 'contextDestroyed' is not designed for extension - needs to be abstract, final or empty. 42

org/apache/johnzon/websocket/jsonb/JsonbLocator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27

org/apache/johnzon/websocket/jsonb/JsonbLocatorDelegate.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 31
 Error sizes LineLength Line is longer than 80 characters (found 87). 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error sizes LineLength Line is longer than 80 characters (found 84). 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error design DesignForExtension Method 'contextInitialized' is not designed for extension - needs to be abstract, final or empty. 35
 Error sizes LineLength Line is longer than 80 characters (found 83). 36
 Error sizes LineLength Line is longer than 80 characters (found 86). 37
 Error sizes LineLength Line is longer than 80 characters (found 81). 38
 Error design DesignForExtension Method 'contextDestroyed' is not designed for extension - needs to be abstract, final or empty. 48
 Error sizes LineLength Line is longer than 80 characters (found 81). 49
 Error sizes LineLength Line is longer than 80 characters (found 106). 50
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 80

org/apache/johnzon/websocket/jsonb/JsonbTextDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 94). 31
 Error javadoc JavadocType Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error design VisibilityModifier Variable 'mapper' must be private and have accessor methods. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error design VisibilityModifier Variable 'type' must be private and have accessor methods. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error sizes LineLength Line is longer than 80 characters (found 81). 39
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error coding HiddenField 'type' hides a field. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error coding HiddenField 'type' hides a field. 44
 Error design DesignForExtension Method 'decode' is not designed for extension - needs to be abstract, final or empty. 49
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 58

org/apache/johnzon/websocket/jsonb/JsonbTextEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 31
 Error design DesignForExtension Method 'encode' is not designed for extension - needs to be abstract, final or empty. 41
 Error sizes LineLength Line is longer than 80 characters (found 89). 42

org/apache/johnzon/websocket/jsr/JsrArrayDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 26
 Error design DesignForExtension Method 'doRead' is not designed for extension - needs to be abstract, final or empty. 27
 Error misc FinalParameters Parameter jsonReader should be final. 28

org/apache/johnzon/websocket/jsr/JsrArrayEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 26
 Error design DesignForExtension Method 'doWrite' is not designed for extension - needs to be abstract, final or empty. 27

org/apache/johnzon/websocket/jsr/JsrObjectDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error design DesignForExtension Method 'doRead' is not designed for extension - needs to be abstract, final or empty. 30

org/apache/johnzon/websocket/jsr/JsrObjectEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 26
 Error design DesignForExtension Method 'doWrite' is not designed for extension - needs to be abstract, final or empty. 27
 Error sizes LineLength Line is longer than 80 characters (found 82). 28

org/apache/johnzon/websocket/jsr/JsrStructureDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error design DesignForExtension Method 'doRead' is not designed for extension - needs to be abstract, final or empty. 30

org/apache/johnzon/websocket/jsr/JsrStructureEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 26
 Error design DesignForExtension Method 'doWrite' is not designed for extension - needs to be abstract, final or empty. 27
 Error sizes LineLength Line is longer than 80 characters (found 84). 28

org/apache/johnzon/websocket/jsr/package-info.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 19

org/apache/johnzon/websocket/mapper/JohnzonTextDecoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error design VisibilityModifier Variable 'mapper' must be private and have accessor methods. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error design VisibilityModifier Variable 'type' must be private and have accessor methods. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error sizes LineLength Line is longer than 80 characters (found 81). 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error coding HiddenField 'type' hides a field. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error coding HiddenField 'mapper' hides a field. 49
 Error coding HiddenField 'type' hides a field. 49
 Error design DesignForExtension Method 'decode' is not designed for extension - needs to be abstract, final or empty. 54
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 59
 Error sizes LineLength Line is longer than 80 characters (found 110). 69
 Error sizes LineLength Line is longer than 80 characters (found 86). 75
 Error sizes LineLength Line is longer than 80 characters (found 83). 81
 Error sizes LineLength Line is longer than 80 characters (found 97). 96
 Error sizes LineLength Line is longer than 80 characters (found 109). 99
 Error sizes LineLength Line is longer than 80 characters (found 97). 101

org/apache/johnzon/websocket/mapper/JohnzonTextEncoder.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 33
 Error design DesignForExtension Method 'encode' is not designed for extension - needs to be abstract, final or empty. 43
 Error sizes LineLength Line is longer than 80 characters (found 102). 44

org/apache/johnzon/websocket/mapper/package-info.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 19