Checkstyle Results
The following document contains the results of Checkstyle 10.21.3 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 10 | 12 | 42 | 0 | 
Files
| File | |||
|---|---|---|---|
| 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 | |
| coding | HiddenField
  | 
6 | |
| design | HideUtilityClassConstructor | 1 | |
| VisibilityModifier | 11 | ||
| javadoc | JavadocStyle | 9 | |
| misc | NewlineAtEndOfFile
  | 
1 | |
| modifier | RedundantModifier | 3 | |
| naming | ConstantName | 1 | |
| sizes | LineLength
  | 
11 | |
| MethodLength | 1 | ||
| whitespace | NoWhitespaceBefore | 1 | |
| ParenPad | 1 | ||
| WhitespaceAfter | 3 | ||
WhitespaceAround
  | 
1 | 
Details
org/djutils/eval/Calculator.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 19 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 39 | |
| blocks | LeftCurly | '{' at column 54 should be on a new line. | 41 | |
| blocks | LeftCurly | '{' at column 54 should be on a new line. | 48 | |
| blocks | LeftCurly | '{' at column 57 should be on a new line. | 55 | |
| blocks | LeftCurly | '{' at column 57 should be on a new line. | 62 | |
| whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 80 | |
| whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 112 | 
org/djutils/eval/Eval.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| naming | ConstantName | Name 'noArguments' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 79 | |
| sizes | LineLength | Line is longer than 128 characters (found 138). | 91 | |
| sizes | LineLength | Line is longer than 128 characters (found 140). | 99 | |
| sizes | LineLength | Line is longer than 128 characters (found 144). | 101 | |
| whitespace | NoWhitespaceBefore | ',' is preceded with whitespace. | 113 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 113 | |
| sizes | LineLength | Line is longer than 128 characters (found 150). | 114 | |
| sizes | LineLength | Line is longer than 128 characters (found 134). | 119 | |
| sizes | LineLength | Line is longer than 128 characters (found 138). | 126 | |
| sizes | LineLength | Line is longer than 128 characters (found 136). | 128 | |
| sizes | LineLength | Line is longer than 128 characters (found 139). | 130 | |
| sizes | LineLength | Line is longer than 128 characters (found 137). | 146 | |
| sizes | LineLength | Line is longer than 128 characters (found 143). | 148 | |
| whitespace | ParenPad | ')' is preceded with whitespace. | 163 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 188 | |
| coding | HiddenField | 'retrieveValue' hides a field. | 204 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 222 | |
| coding | HiddenField | 'expression' hides a field. | 228 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 233 | |
| coding | HiddenField | 'expression' hides a field. | 239 | |
| coding | HiddenField | 'expression' hides a field. | 256 | |
| coding | HiddenField | 'expression' hides a field. | 293 | |
| sizes | MethodLength | Method evalRhs length is 241 lines (max allowed is 150). | 416 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 674 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 819 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 839 | |
| coding | HiddenField | 'functionData' hides a field. | 1256 | 
org/djutils/eval/F0.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 | |
| design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 | |
| design | VisibilityModifier | Variable 'resultClass' must be private and have accessor methods. | 24 | |
| design | VisibilityModifier | Variable 'f0' must be private and have accessor methods. | 27 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 78 | 
org/djutils/eval/F1.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 | |
| design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 | |
| design | VisibilityModifier | Variable 'resultClass' must be private and have accessor methods. | 24 | |
| design | VisibilityModifier | Variable 'f1' must be private and have accessor methods. | 27 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 67 | 
org/djutils/eval/F2.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'id' must be private and have accessor methods. | 18 | |
| design | VisibilityModifier | Variable 'metaData' must be private and have accessor methods. | 21 | |
| design | VisibilityModifier | Variable 'f2' must be private and have accessor methods. | 24 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 62 | 
org/djutils/eval/Function.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 129). | 7 | 
org/djutils/eval/RetrieveValue.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 21 | 
org/djutils/eval/UnitParser.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 24 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 24 | 
org/djutils/eval/package-info.java
| Severity | Category | Rule | Message | Line | 
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 | 
