The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 2 | Error |
coding | HiddenField | 3 | Error |
MagicNumber | 3 | Error | |
design | DesignForExtension | 13 | Error |
FinalClass | 1 | Error | |
HideUtilityClassConstructor | 2 | Error | |
VisibilityModifier | 3 | Error | |
imports | AvoidStarImport | 2 | Error |
javadoc | JavadocMethod | 69 | Error |
JavadocPackage | 3 | Error | |
JavadocStyle | 2 | Error | |
JavadocType | 4 | Error | |
misc | FinalParameters | 54 | Error |
NewlineAtEndOfFile | 1 | Error | |
modifier | RedundantModifier | 1 | Error |
sizes | LineLength | 45 | Error |
whitespace | FileTabCharacter | 1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | sizes | LineLength | Line is longer than 80 characters (found 116). | 30 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 36 |
Error | sizes | LineLength | Line is longer than 80 characters (found 123). | 42 |
Error | design | DesignForExtension | Method 'toDriverConfig' is not designed for extension - needs to be abstract, final or empty. | 57 |
Error | sizes | LineLength | Line is longer than 80 characters (found 113). | 61 |
Error | sizes | LineLength | Line is longer than 80 characters (found 146). | 65 |
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 69 |
Error | sizes | LineLength | Line is longer than 80 characters (found 133). | 83 |
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 87 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 89 |
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 92 |
Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 95 |
Error | sizes | LineLength | Line is longer than 80 characters (found 104). | 97 |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 109 |
Error | design | DesignForExtension | Method 'getStringOrDefault' is not designed for extension - needs to be abstract, final or empty. | 115 |
Error | misc | FinalParameters | Parameter key should be final. | 115 |
Error | misc | FinalParameters | Parameter value should be final. | 115 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.neo4j.driver.v1.*. | 4 |
Error | design | FinalClass | Class Neo4jClient should be declared as final. | 15 |
Error | sizes | LineLength | Line is longer than 80 characters (found 109). | 29 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'Exception'. | 31 |
Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 36 |
Error | sizes | LineLength | Line is longer than 80 characters (found 137). | 37 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 79 |
Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 79 |
Error | misc | FinalParameters | Parameter query should be final. | 79 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 79 |
Error | misc | FinalParameters | Parameter parameters should be final. | 79 |
Error | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 79 |
Error | misc | FinalParameters | Parameter mode should be final. | 79 |
Error | javadoc | JavadocMethod | Expected @param tag for 'mode'. | 79 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 79 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 79 |
Error | sizes | LineLength | Line is longer than 80 characters (found 120). | 85 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 101 |
Error | misc | FinalParameters | Parameter query should be final. | 101 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 101 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 108 |
Error | misc | FinalParameters | Parameter query should be final. | 108 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 108 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 108 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 108 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 115 |
Error | misc | FinalParameters | Parameter query should be final. | 115 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 115 |
Error | misc | FinalParameters | Parameter parameters should be final. | 115 |
Error | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 115 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 122 |
Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 122 |
Error | misc | FinalParameters | Parameter query should be final. | 122 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 122 |
Error | misc | FinalParameters | Parameter parameters should be final. | 122 |
Error | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 122 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 122 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 122 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 129 |
Error | misc | FinalParameters | Parameter query should be final. | 129 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 129 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 136 |
Error | misc | FinalParameters | Parameter query should be final. | 136 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 136 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 136 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 136 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 143 |
Error | misc | FinalParameters | Parameter query should be final. | 143 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 143 |
Error | misc | FinalParameters | Parameter parameters should be final. | 143 |
Error | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 143 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 150 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 150 |
Error | misc | FinalParameters | Parameter query should be final. | 150 |
Error | javadoc | JavadocMethod | Expected @param tag for 'query'. | 150 |
Error | misc | FinalParameters | Parameter parameters should be final. | 150 |
Error | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 150 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 150 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 150 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 156 |
Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 160 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 162 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 162 |
Error | misc | FinalParameters | Parameter mode should be final. | 162 |
Error | javadoc | JavadocMethod | Expected @param tag for 'mode'. | 162 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 162 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 162 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 163 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 169 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 176 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 176 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 176 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 183 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 190 |
Error | misc | FinalParameters | Parameter bookmarkId should be final. | 190 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bookmarkId'. | 190 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.neo4j.driver.v1.*. | 4 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 22 |
Error | misc | FinalParameters | Parameter session should be final. | 30 |
Error | coding | HiddenField | 'session' hides a field. | 30 |
Error | javadoc | JavadocMethod | Expected @param tag for 'session'. | 30 |
Error | design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 42 |
Error | misc | FinalParameters | Parameter query should be final. | 42 |
Error | misc | FinalParameters | Parameter params should be final. | 42 |
Error | sizes | LineLength | Line is longer than 80 characters (found 105). | 46 |
Error | design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 58 |
Error | misc | FinalParameters | Parameter query should be final. | 58 |
Error | design | DesignForExtension | Method 'success' is not designed for extension - needs to be abstract, final or empty. | 66 |
Error | design | DesignForExtension | Method 'failure' is not designed for extension - needs to be abstract, final or empty. | 75 |
Error | design | DesignForExtension | Method 'getBookmarkId' is not designed for extension - needs to be abstract, final or empty. | 88 |
Error | design | DesignForExtension | Method 'close' is not designed for extension - needs to be abstract, final or empty. | 92 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 93 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 95 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'Neo4jClientException'. | 103 |
Error | sizes | LineLength | Line is longer than 80 characters (found 119). | 104 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocMethod | Expected an @return tag. | 13 |
Error | javadoc | JavadocMethod | Expected @param tag for 'c'. | 13 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | misc | FinalParameters | Parameter e should be final. | 13 |
Error | misc | FinalParameters | Parameter message should be final. | 22 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 18 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 23 |
Error | javadoc | JavadocMethod | Expected @param tag for '<Z>'. | 23 |
Error | misc | FinalParameters | Parameter type should be final. | 23 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 23 |
Error | misc | FinalParameters | Parameter value should be final. | 23 |
Error | javadoc | JavadocMethod | Expected @param tag for 'value'. | 23 |
Error | sizes | LineLength | Line is longer than 80 characters (found 127). | 71 |
Error | sizes | LineLength | Line is longer than 80 characters (found 127). | 73 |
Error | sizes | LineLength | Line is longer than 80 characters (found 105). | 74 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 93 |
Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 94 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 107 |
Error | javadoc | JavadocMethod | Expected @param tag for '<Z>'. | 107 |
Error | misc | FinalParameters | Parameter clazz should be final. | 107 |
Error | javadoc | JavadocMethod | Expected @param tag for 'clazz'. | 107 |
Error | misc | FinalParameters | Parameter node should be final. | 107 |
Error | javadoc | JavadocMethod | Expected @param tag for 'node'. | 107 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 110 |
Error | sizes | LineLength | Line is longer than 80 characters (found 155). | 117 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 132 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 132 |
Error | javadoc | JavadocMethod | Expected @param tag for '<Z>'. | 132 |
Error | misc | FinalParameters | Parameter clazz should be final. | 132 |
Error | javadoc | JavadocMethod | Expected @param tag for 'clazz'. | 132 |
Error | misc | FinalParameters | Parameter rel should be final. | 132 |
Error | javadoc | JavadocMethod | Expected @param tag for 'rel'. | 132 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 135 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 145 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 15 |
Error | design | VisibilityModifier | Variable 'type' must be private and have accessor methods. | 20 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 22 |
Error | misc | FinalParameters | Parameter type should be final. | 32 |
Error | coding | HiddenField | 'type' hides a field. | 32 |
Error | sizes | LineLength | Line is longer than 80 characters (found 117). | 39 |
Error | coding | MagicNumber | '3' is a magic number. | 39 |
Error | coding | MagicNumber | '4' is a magic number. | 39 |
Error | coding | MagicNumber | '4' is a magic number. | 39 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 48 |
Error | design | DesignForExtension | Method 'construct' is not designed for extension - needs to be abstract, final or empty. | 48 |
Error | design | DesignForExtension | Method 'add' is not designed for extension - needs to be abstract, final or empty. | 63 |
Error | misc | FinalParameters | Parameter obj should be final. | 63 |
Error | misc | FinalParameters | Parameter key should be final. | 63 |
Error | misc | FinalParameters | Parameter value should be final. | 63 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 68 |
Error | sizes | LineLength | Line is longer than 80 characters (found 106). | 88 |
Error | misc | FinalParameters | Parameter method should be final. | 90 |
Error | sizes | LineLength | Line is longer than 80 characters (found 152). | 91 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 12 |
Error | design | VisibilityModifier | Variable 'type' must be private and have accessor methods. | 17 |
Error | modifier | RedundantModifier | Redundant 'public' modifier. | 24 |
Error | misc | FinalParameters | Parameter type should be final. | 24 |
Error | coding | HiddenField | 'type' hides a field. | 24 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 24 |
Error | misc | FinalParameters | Parameter record should be final. | 34 |
Error | javadoc | JavadocMethod | Expected @param tag for 'record'. | 34 |
Error | sizes | LineLength | Line is longer than 80 characters (found 124). | 36 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 8 |
Error | misc | FinalParameters | Parameter type should be final. | 13 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 13 |
Error | design | DesignForExtension | Method 'apply' is not designed for extension - needs to be abstract, final or empty. | 17 |
Error | misc | FinalParameters | Parameter record should be final. | 17 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 18 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 8 |
Error | misc | FinalParameters | Parameter type should be final. | 13 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 13 |
Error | design | DesignForExtension | Method 'apply' is not designed for extension - needs to be abstract, final or empty. | 17 |
Error | misc | FinalParameters | Parameter record should be final. | 17 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | VisibilityModifier | Variable 'listType' must be private and have accessor methods. | 17 |
Error | misc | FinalParameters | Parameter type should be final. | 22 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 22 |
Error | design | DesignForExtension | Method 'apply' is not designed for extension - needs to be abstract, final or empty. | 27 |
Error | misc | FinalParameters | Parameter record should be final. | 27 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 29 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 6 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 9 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 11 |
Error | javadoc | JavadocMethod | Expected @param tag for '<T>'. | 11 |
Error | misc | FinalParameters | Parameter type should be final. | 11 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 11 |
Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 16 |
Error | sizes | LineLength | Line is longer than 80 characters (found 120). | 18 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 20 |
Error | misc | FinalParameters | Parameter type should be final. | 20 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 20 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 27 |
Error | javadoc | JavadocMethod | Expected @param tag for '<T>'. | 27 |
Error | misc | FinalParameters | Parameter type should be final. | 27 |
Error | javadoc | JavadocMethod | Expected @param tag for 'type'. | 27 |