Checkstyle Results
The following document contains the results of Checkstyle 10.17.0 with /config/dsol-checks.xml ruleset.
Summary
Files | Info | Warnings | Errors |
---|---|---|---|
10 | 12 | 42 | 0 |
Files
File | I | W | E |
---|---|---|---|
org/djutils/eval/Calculator.java | 0 | 8 | 0 |
org/djutils/eval/Eval.java | 11 | 16 | 0 |
org/djutils/eval/F0.java | 0 | 5 | 0 |
org/djutils/eval/F1.java | 0 | 5 | 0 |
org/djutils/eval/F2.java | 0 | 4 | 0 |
org/djutils/eval/Function.java | 1 | 0 | 0 |
org/djutils/eval/RetrieveValue.java | 0 | 1 | 0 |
org/djutils/eval/UnitParser.java | 0 | 2 | 0 |
org/djutils/eval/package-info.java | 0 | 1 | 0 |
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly
|
4 | Warning |
coding | HiddenField
|
6 | Warning |
design | HideUtilityClassConstructor | 1 | Warning |
VisibilityModifier | 11 | Warning | |
javadoc | JavadocStyle | 9 | Warning |
misc | NewlineAtEndOfFile
|
1 | Warning |
modifier | RedundantModifier | 3 | Warning |
naming | ConstantName | 1 | Warning |
sizes | LineLength
|
11 | Info |
MethodLength | 1 | Info | |
whitespace | NoWhitespaceBefore | 1 | Warning |
ParenPad | 1 | Warning | |
WhitespaceAfter | 3 | Warning | |
WhitespaceAround
|
1 | Warning |
Details
org/djutils/eval/Calculator.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 19 |
Warning | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 39 |
Warning | blocks | LeftCurly | '{' at column 54 should be on a new line. | 41 |
Warning | blocks | LeftCurly | '{' at column 54 should be on a new line. | 48 |
Warning | blocks | LeftCurly | '{' at column 57 should be on a new line. | 55 |
Warning | blocks | LeftCurly | '{' at column 57 should be on a new line. | 62 |
Warning | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 80 |
Warning | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 112 |
org/djutils/eval/Eval.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | ConstantName | Name 'noArguments' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 78 |
Info | sizes | LineLength | Line is longer than 128 characters (found 138). | 90 |
Info | sizes | LineLength | Line is longer than 128 characters (found 140). | 98 |
Info | sizes | LineLength | Line is longer than 128 characters (found 144). | 100 |
Warning | whitespace | NoWhitespaceBefore | ',' is preceded with whitespace. | 112 |
Warning | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 112 |
Info | sizes | LineLength | Line is longer than 128 characters (found 150). | 113 |
Info | sizes | LineLength | Line is longer than 128 characters (found 134). | 118 |
Info | sizes | LineLength | Line is longer than 128 characters (found 138). | 125 |
Info | sizes | LineLength | Line is longer than 128 characters (found 136). | 127 |
Info | sizes | LineLength | Line is longer than 128 characters (found 139). | 129 |
Info | sizes | LineLength | Line is longer than 128 characters (found 137). | 145 |
Info | sizes | LineLength | Line is longer than 128 characters (found 143). | 147 |
Warning | whitespace | ParenPad | ')' is preceded with whitespace. | 162 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 187 |
Warning | coding | HiddenField | 'retrieveValue' hides a field. | 204 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 224 |
Warning | coding | HiddenField | 'expression' hides a field. | 230 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 235 |
Warning | coding | HiddenField | 'expression' hides a field. | 241 |
Warning | coding | HiddenField | 'expression' hides a field. | 258 |
Warning | coding | HiddenField | 'expression' hides a field. | 295 |
Info | sizes | MethodLength | Method evalRhs length is 249 lines (max allowed is 150). | 418 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 684 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 829 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 850 |
Warning | coding | HiddenField | 'functionData' hides a field. | 1265 |
org/djutils/eval/F0.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 |
Warning | design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 |
Warning | design | VisibilityModifier | Variable 'resultClass' must be private and have accessor methods. | 24 |
Warning | design | VisibilityModifier | Variable 'f0' must be private and have accessor methods. | 27 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 78 |
org/djutils/eval/F1.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 |
Warning | design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 |
Warning | design | VisibilityModifier | Variable 'resultClass' must be private and have accessor methods. | 24 |
Warning | design | VisibilityModifier | Variable 'f1' must be private and have accessor methods. | 27 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 67 |
org/djutils/eval/F2.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 |
Warning | design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 |
Warning | design | VisibilityModifier | Variable 'f2' must be private and have accessor methods. | 24 |
Warning | javadoc | JavadocStyle | First sentence should end with a period. | 62 |
org/djutils/eval/Function.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 129). | 7 |
org/djutils/eval/RetrieveValue.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | modifier | RedundantModifier | Redundant 'final' modifier. | 21 |
org/djutils/eval/UnitParser.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | modifier | RedundantModifier | Redundant 'final' modifier. | 24 |
Warning | modifier | RedundantModifier | Redundant 'final' modifier. | 24 |
org/djutils/eval/package-info.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |