Checkstyle Results

The following document contains the results of Checkstyle 10.21.3 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
  • option: "nl"
4  Warning
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
6  Warning
design HideUtilityClassConstructor 1  Warning
VisibilityModifier 11  Warning
javadoc JavadocStyle 9  Warning
misc NewlineAtEndOfFile
  • fileExtensions: "java"
  • lineSeparator: "crlf"
1  Warning
modifier RedundantModifier 3  Warning
naming ConstantName 1  Warning
sizes LineLength
  • max: "128"
11  Info
MethodLength 1  Info
whitespace NoWhitespaceBefore 1  Warning
ParenPad 1  Warning
WhitespaceAfter 3  Warning
WhitespaceAround
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"
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]+)*$'. 79
 Info sizes LineLength Line is longer than 128 characters (found 138). 91
 Info sizes LineLength Line is longer than 128 characters (found 140). 99
 Info sizes LineLength Line is longer than 128 characters (found 144). 101
 Warning whitespace NoWhitespaceBefore ',' is preceded with whitespace. 113
 Warning whitespace WhitespaceAfter ',' is not followed by whitespace. 113
 Info sizes LineLength Line is longer than 128 characters (found 150). 114
 Info sizes LineLength Line is longer than 128 characters (found 134). 119
 Info sizes LineLength Line is longer than 128 characters (found 138). 126
 Info sizes LineLength Line is longer than 128 characters (found 136). 128
 Info sizes LineLength Line is longer than 128 characters (found 139). 130
 Info sizes LineLength Line is longer than 128 characters (found 137). 146
 Info sizes LineLength Line is longer than 128 characters (found 143). 148
 Warning whitespace ParenPad ')' is preceded with whitespace. 163
 Warning javadoc JavadocStyle First sentence should end with a period. 188
 Warning coding HiddenField 'retrieveValue' hides a field. 204
 Warning javadoc JavadocStyle First sentence should end with a period. 222
 Warning coding HiddenField 'expression' hides a field. 228
 Warning javadoc JavadocStyle First sentence should end with a period. 233
 Warning coding HiddenField 'expression' hides a field. 239
 Warning coding HiddenField 'expression' hides a field. 256
 Warning coding HiddenField 'expression' hides a field. 293
 Info sizes MethodLength Method evalRhs length is 241 lines (max allowed is 150). 416
 Warning javadoc JavadocStyle First sentence should end with a period. 674
 Warning javadoc JavadocStyle First sentence should end with a period. 819
 Warning javadoc JavadocStyle First sentence should end with a period. 839
 Warning coding HiddenField 'functionData' hides a field. 1256

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