Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle-config.xml ruleset.

Summary

Files  Info  Warnings  Errors
173 0 113 0

Files

File  I  W  E
de/powerstat/validation/containers/GroupOf.java 0 4 0
de/powerstat/validation/containers/HistoryOf.java 0 1 0
de/powerstat/validation/containers/NTuple2.java 0 1 0
de/powerstat/validation/containers/NTuple3.java 0 1 0
de/powerstat/validation/containers/test/GroupOfTests.java 0 10 0
de/powerstat/validation/generated/GeneratedISO3166A2.java 0 3 0
de/powerstat/validation/generated/GeneratedISO4217.java 0 34 0
de/powerstat/validation/generated/GeneratedISO6391.java 0 3 0
de/powerstat/validation/generated/GeneratedInternationalPhoneAreaCodes.java 0 12 0
de/powerstat/validation/generated/GeneratedTlds.java 0 3 0
de/powerstat/validation/values/Address.java 0 2 0
de/powerstat/validation/values/UUID.java 0 1 0
de/powerstat/validation/values/test/AddressTests.java 0 1 0
de/powerstat/validation/values/test/AddressWithWGS84PositionTests.java 0 2 0
de/powerstat/validation/values/test/MonthDayTests.java 0 3 0
de/powerstat/validation/values/test/PercentTests.java 0 2 0
de/powerstat/validation/values/test/SIPrefixesTests.java 0 26 0
de/powerstat/validation/values/test/UUIDTests.java 0 3 0
de/powerstat/validation/values/test/WeekdayTests.java 0 1 0

Rules

Category Rule Violations Severity
coding MultipleStringLiterals
  • allowedDuplicates: "1"
  • ignoreOccurrenceContext: "ANNOTATION"
  • ignoreStringsRegexp: "^""$"
83  Warning
UnusedLocalVariable 3  Warning
design FinalClass 1  Warning
header RegexpHeader
  • fileExtensions: "java"
  • header
    1: ^/
    2: *
    3: 
    4: * Copyright
    5: (C
    6: ) (
    7: d
    8: d
    9: d
    10: d)(-(
    11: d
    12: d
    13: d
    14: d))?(,(
    15: d
    16: d
    17: d
    18: d)(-(
    19: d
    20: d
    21: d
    22: d))?)* Dipl.-I
    23: form. Kai Hofma
    24: . All rights reserved!
    25: 
    26: */$
5  Error
indentation CommentsIndentation
  • tokens: "SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN"
5  Warning
javadoc InvalidJavadocPosition 5  Warning
JavadocPackage
  • fileExtensions: ".java"
  • allowLegacy: "false"
1  Error
misc NewlineAtEndOfFile
  • fileExtensions: "java,xml,dtd,properties,txt"
  • lineSeparator: "lf"
5  Error
whitespace NoWhitespaceBefore
  • tokens: "COMMA, SEMI, POST_INC, POST_DEC, DOT, GENERIC_START, GENERIC_END"
  • allowLineBreaks: "false"
5  Warning

Details

de/powerstat/validation/containers/GroupOf.java

Severity Category Rule Message Line
 Warning indentation CommentsIndentation Comment has incorrect indentation level 4, expected is 5, indentation should be the same level as line 102. 101
 Warning coding MultipleStringLiterals The String ", " appears 3 times in the file. 126
 Warning coding UnusedLocalVariable Unused local variable 'initLength'. 127
 Warning whitespace NoWhitespaceBefore '<' is preceded with whitespace. 210

de/powerstat/validation/containers/HistoryOf.java

Severity Category Rule Message Line
 Warning indentation CommentsIndentation Comment has incorrect indentation level 4, expected is 5, indentation should be the same level as line 75. 74

de/powerstat/validation/containers/NTuple2.java

Severity Category Rule Message Line
 Warning whitespace NoWhitespaceBefore '<' is preceded with whitespace. 60

de/powerstat/validation/containers/NTuple3.java

Severity Category Rule Message Line
 Warning whitespace NoWhitespaceBefore '<' is preceded with whitespace. 71

de/powerstat/validation/containers/test/GroupOfTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "developers" appears 22 times in the file. 47
 Warning coding MultipleStringLiterals The String "Wrong group name" appears 2 times in the file. 50
 Warning coding UnusedLocalVariable Unused local variable 'groups'. 63
 Warning coding UnusedLocalVariable Unused local variable 'groups'. 80
 Warning coding MultipleStringLiterals The String "family" appears 2 times in the file. 121
 Warning coding MultipleStringLiterals The String "toString() not equal" appears 2 times in the file. 145
 Warning coding MultipleStringLiterals The String "Hofmann" appears 12 times in the file. 156
 Warning coding MultipleStringLiterals The String "is not empty" appears 4 times in the file. 179
 Warning coding MultipleStringLiterals The String "array != 1" appears 2 times in the file. 218
 Warning coding MultipleStringLiterals The String "is empty" appears 4 times in the file. 243

de/powerstat/validation/generated/GeneratedISO3166A2.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. 1
 Warning header RegexpHeader Line does not match expected header line of ' \* Copyright \(C\) (\d\d\d\d)(-(\d\d\d\d))?(,(\d\d\d\d)(-(\d\d\d\d))?)* Dipl.-Inform. Kai Hofmann. All rights reserved!'. 2
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 23

de/powerstat/validation/generated/GeneratedISO4217.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. 1
 Warning header RegexpHeader Line does not match expected header line of ' \* Copyright \(C\) (\d\d\d\d)(-(\d\d\d\d))?(,(\d\d\d\d)(-(\d\d\d\d))?)* Dipl.-Inform. Kai Hofmann. All rights reserved!'. 2
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 23
 Warning coding MultipleStringLiterals The String "EUR" appears 36 times in the file. 29
 Warning coding MultipleStringLiterals The String "USD" appears 19 times in the file. 32
 Warning coding MultipleStringLiterals The String "XCD" appears 8 times in the file. 35
 Warning coding MultipleStringLiterals The String "AUD" appears 8 times in the file. 40
 Warning coding MultipleStringLiterals The String "XOF" appears 8 times in the file. 50
 Warning coding MultipleStringLiterals The String "INR" appears 2 times in the file. 52
 Warning coding MultipleStringLiterals The String "NOK" appears 3 times in the file. 59
 Warning coding MultipleStringLiterals The String "XAF" appears 6 times in the file. 68
 Warning coding MultipleStringLiterals The String "NZD" appears 5 times in the file. 83
 Warning coding MultipleStringLiterals The String "HRK" appears 2 times in the file. 86
 Warning coding MultipleStringLiterals The String "ANG" appears 3 times in the file. 89
 Warning coding MultipleStringLiterals The String "DKK" appears 3 times in the file. 92
 Warning coding MultipleStringLiterals The String "XPF" appears 3 times in the file. 111
 Warning coding MultipleStringLiterals The String "GBP" appears 4 times in the file. 125
 Warning coding MultipleStringLiterals The String "IDR" appears 2 times in the file. 138
 Warning coding MultipleStringLiterals The String "ZAR" appears 3 times in the file. 161
 Warning coding MultipleStringLiterals The String "CHF" appears 2 times in the file. 164
 Warning coding MultipleStringLiterals The String "MWK" appears 2 times in the file. 170
 Warning coding MultipleStringLiterals The String "MAD" appears 2 times in the file. 189
 Warning coding MultipleStringLiterals The String "PEN" appears 2 times in the file. 213
 Warning coding MultipleStringLiterals The String "RON" appears 2 times in the file. 221
 Warning coding MultipleStringLiterals The String "SDG" appears 2 times in the file. 250
 Warning coding MultipleStringLiterals The String "TRY" appears 2 times in the file. 269
 Warning coding MultipleStringLiterals The String "VEF" appears 3 times in the file. 284
 Warning coding MultipleStringLiterals The String "FIM" appears 2 times in the file. 304
 Warning coding MultipleStringLiterals The String "ESP" appears 2 times in the file. 307
 Warning coding MultipleStringLiterals The String "FRF" appears 12 times in the file. 308
 Warning coding MultipleStringLiterals The String "RUR" appears 11 times in the file. 315
 Warning coding MultipleStringLiterals The String "ITL" appears 3 times in the file. 364
 Warning coding MultipleStringLiterals The String "ZAL" appears 2 times in the file. 376
 Warning coding MultipleStringLiterals The String "ZWD" appears 2 times in the file. 455

de/powerstat/validation/generated/GeneratedISO6391.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. 1
 Warning header RegexpHeader Line does not match expected header line of ' \* Copyright \(C\) (\d\d\d\d)(-(\d\d\d\d))?(,(\d\d\d\d)(-(\d\d\d\d))?)* Dipl.-Inform. Kai Hofmann. All rights reserved!'. 2
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 23

de/powerstat/validation/generated/GeneratedInternationalPhoneAreaCodes.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. 1
 Warning javadoc JavadocPackage Missing package-info.java file. 1
 Warning header RegexpHeader Line does not match expected header line of ' \* Copyright \(C\) (\d\d\d\d)(-(\d\d\d\d))?(,(\d\d\d\d)(-(\d\d\d\d))?)* Dipl.-Inform. Kai Hofmann. All rights reserved!'. 2
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 23
 Warning coding MultipleStringLiterals The String "672" appears 2 times in the file. 36
 Warning coding MultipleStringLiterals The String "61" appears 3 times in the file. 41
 Warning coding MultipleStringLiterals The String "1" appears 3 times in the file. 67
 Warning coding MultipleStringLiterals The String "358" appears 2 times in the file. 103
 Warning coding MultipleStringLiterals The String "44" appears 3 times in the file. 119
 Warning coding MultipleStringLiterals The String "7" appears 2 times in the file. 140
 Warning coding MultipleStringLiterals The String "262" appears 2 times in the file. 164
 Warning coding MultipleStringLiterals The String "212" appears 2 times in the file. 171

de/powerstat/validation/generated/GeneratedTlds.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. 1
 Warning header RegexpHeader Line does not match expected header line of ' \* Copyright \(C\) (\d\d\d\d)(-(\d\d\d\d))?(,(\d\d\d\d)(-(\d\d\d\d))?)* Dipl.-Inform. Kai Hofmann. All rights reserved!'. 2
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 23

de/powerstat/validation/values/Address.java

Severity Category Rule Message Line
 Warning whitespace NoWhitespaceBefore '<' is preceded with whitespace. 733
 Warning whitespace NoWhitespaceBefore '<' is preceded with whitespace. 904

de/powerstat/validation/values/UUID.java

Severity Category Rule Message Line
 Warning design FinalClass Class UUID should be declared as final. 17

de/powerstat/validation/values/test/AddressTests.java

Severity Category Rule Message Line
 Warning indentation CommentsIndentation Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 416. 415

de/powerstat/validation/values/test/AddressWithWGS84PositionTests.java

Severity Category Rule Message Line
 Warning indentation CommentsIndentation Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 166. 165
 Warning indentation CommentsIndentation Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 234. 233

de/powerstat/validation/values/test/MonthDayTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "testEquals" appears 2 times in the file. 174
 Warning coding MultipleStringLiterals The String "add" appears 3 times in the file. 243
 Warning coding MultipleStringLiterals The String "Arithmetic exception" appears 4 times in the file. 261

de/powerstat/validation/values/test/PercentTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "Percent should be 50" appears 4 times in the file. 42
 Warning coding MultipleStringLiterals The String "50" appears 2 times in the file. 69

de/powerstat/validation/values/test/SIPrefixesTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "QUECTO base not as expected" appears 2 times in the file. 41
 Warning coding MultipleStringLiterals The String "RONTO base not as expected" appears 2 times in the file. 42
 Warning coding MultipleStringLiterals The String "YOCTO base not as expected" appears 2 times in the file. 43
 Warning coding MultipleStringLiterals The String "ZEPTO base not as expected" appears 2 times in the file. 44
 Warning coding MultipleStringLiterals The String "ATTO base not as expected" appears 2 times in the file. 45
 Warning coding MultipleStringLiterals The String "FEMTO base not as expected" appears 2 times in the file. 46
 Warning coding MultipleStringLiterals The String "PICO base not as expected" appears 2 times in the file. 47
 Warning coding MultipleStringLiterals The String "NANO base not as expected" appears 2 times in the file. 48
 Warning coding MultipleStringLiterals The String "MICRO base not as expected" appears 2 times in the file. 49
 Warning coding MultipleStringLiterals The String "MILLI base not as expected" appears 2 times in the file. 50
 Warning coding MultipleStringLiterals The String "CENTI base not as expected" appears 2 times in the file. 51
 Warning coding MultipleStringLiterals The String "DECI base not as expected" appears 2 times in the file. 52
 Warning coding MultipleStringLiterals The String "ZERO base not as expected" appears 2 times in the file. 53
 Warning coding MultipleStringLiterals The String "DECA base not as expected" appears 2 times in the file. 54
 Warning coding MultipleStringLiterals The String "HECTO base not as expected" appears 2 times in the file. 55
 Warning coding MultipleStringLiterals The String "KILO base not as expected" appears 2 times in the file. 56
 Warning coding MultipleStringLiterals The String "MEGA base not as expected" appears 2 times in the file. 57
 Warning coding MultipleStringLiterals The String "GIGA base not as expected" appears 2 times in the file. 58
 Warning coding MultipleStringLiterals The String "TERA base not as expected" appears 2 times in the file. 59
 Warning coding MultipleStringLiterals The String "PETA base not as expected" appears 2 times in the file. 60
 Warning coding MultipleStringLiterals The String "EXA base not as expected" appears 2 times in the file. 61
 Warning coding MultipleStringLiterals The String "ZETTA base not as expected" appears 2 times in the file. 62
 Warning coding MultipleStringLiterals The String "YOTTA base not as expected" appears 2 times in the file. 63
 Warning coding MultipleStringLiterals The String "RONNA base not as expected" appears 2 times in the file. 64
 Warning coding MultipleStringLiterals The String "QUETTA base not as expected" appears 2 times in the file. 65
 Warning coding MultipleStringLiterals The String "No such element exception expected" appears 3 times in the file. 151

de/powerstat/validation/values/test/UUIDTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "Result not as expected" appears 2 times in the file. 38
 Warning coding MultipleStringLiterals The String "a5409f2d-983d-438c-bfdd-308feff7fb1f" appears 11 times in the file. 48
 Warning coding MultipleStringLiterals The String "67803e53-28f7-42d1-910f-b01dd3fe2d48" appears 3 times in the file. 60

de/powerstat/validation/values/test/WeekdayTests.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "MONDAY" appears 2 times in the file. 41