The following document contains the results of Checkstyle 9.3 with checkstyle-config.xml ruleset.
| Files | |||
|---|---|---|---|
| 173 | 0 | 113 | 0 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | MultipleStringLiterals
|
83 | |
| UnusedLocalVariable | 3 | ||
| design | FinalClass | 1 | |
| header | RegexpHeader
|
5 | |
| indentation | CommentsIndentation
|
5 | |
| javadoc | InvalidJavadocPosition | 5 | |
JavadocPackage
|
1 | ||
| misc | NewlineAtEndOfFile
|
5 | |
| whitespace | NoWhitespaceBefore
|
5 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | CommentsIndentation | Comment has incorrect indentation level 4, expected is 5, indentation should be the same level as line 102. | 101 | |
| coding | MultipleStringLiterals | The String ", " appears 3 times in the file. | 126 | |
| coding | UnusedLocalVariable | Unused local variable 'initLength'. | 127 | |
| whitespace | NoWhitespaceBefore | '<' is preceded with whitespace. | 210 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | CommentsIndentation | Comment has incorrect indentation level 4, expected is 5, indentation should be the same level as line 75. | 74 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | NoWhitespaceBefore | '<' is preceded with whitespace. | 60 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | NoWhitespaceBefore | '<' is preceded with whitespace. | 71 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "developers" appears 22 times in the file. | 47 | |
| coding | MultipleStringLiterals | The String "Wrong group name" appears 2 times in the file. | 50 | |
| coding | UnusedLocalVariable | Unused local variable 'groups'. | 63 | |
| coding | UnusedLocalVariable | Unused local variable 'groups'. | 80 | |
| coding | MultipleStringLiterals | The String "family" appears 2 times in the file. | 121 | |
| coding | MultipleStringLiterals | The String "toString() not equal" appears 2 times in the file. | 145 | |
| coding | MultipleStringLiterals | The String "Hofmann" appears 12 times in the file. | 156 | |
| coding | MultipleStringLiterals | The String "is not empty" appears 4 times in the file. | 179 | |
| coding | MultipleStringLiterals | The String "array != 1" appears 2 times in the file. | 218 | |
| coding | MultipleStringLiterals | The String "is empty" appears 4 times in the file. | 243 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. | 1 | |
| 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 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. | 1 | |
| 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 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 23 | |
| coding | MultipleStringLiterals | The String "EUR" appears 36 times in the file. | 29 | |
| coding | MultipleStringLiterals | The String "USD" appears 19 times in the file. | 32 | |
| coding | MultipleStringLiterals | The String "XCD" appears 8 times in the file. | 35 | |
| coding | MultipleStringLiterals | The String "AUD" appears 8 times in the file. | 40 | |
| coding | MultipleStringLiterals | The String "XOF" appears 8 times in the file. | 50 | |
| coding | MultipleStringLiterals | The String "INR" appears 2 times in the file. | 52 | |
| coding | MultipleStringLiterals | The String "NOK" appears 3 times in the file. | 59 | |
| coding | MultipleStringLiterals | The String "XAF" appears 6 times in the file. | 68 | |
| coding | MultipleStringLiterals | The String "NZD" appears 5 times in the file. | 83 | |
| coding | MultipleStringLiterals | The String "HRK" appears 2 times in the file. | 86 | |
| coding | MultipleStringLiterals | The String "ANG" appears 3 times in the file. | 89 | |
| coding | MultipleStringLiterals | The String "DKK" appears 3 times in the file. | 92 | |
| coding | MultipleStringLiterals | The String "XPF" appears 3 times in the file. | 111 | |
| coding | MultipleStringLiterals | The String "GBP" appears 4 times in the file. | 125 | |
| coding | MultipleStringLiterals | The String "IDR" appears 2 times in the file. | 138 | |
| coding | MultipleStringLiterals | The String "ZAR" appears 3 times in the file. | 161 | |
| coding | MultipleStringLiterals | The String "CHF" appears 2 times in the file. | 164 | |
| coding | MultipleStringLiterals | The String "MWK" appears 2 times in the file. | 170 | |
| coding | MultipleStringLiterals | The String "MAD" appears 2 times in the file. | 189 | |
| coding | MultipleStringLiterals | The String "PEN" appears 2 times in the file. | 213 | |
| coding | MultipleStringLiterals | The String "RON" appears 2 times in the file. | 221 | |
| coding | MultipleStringLiterals | The String "SDG" appears 2 times in the file. | 250 | |
| coding | MultipleStringLiterals | The String "TRY" appears 2 times in the file. | 269 | |
| coding | MultipleStringLiterals | The String "VEF" appears 3 times in the file. | 284 | |
| coding | MultipleStringLiterals | The String "FIM" appears 2 times in the file. | 304 | |
| coding | MultipleStringLiterals | The String "ESP" appears 2 times in the file. | 307 | |
| coding | MultipleStringLiterals | The String "FRF" appears 12 times in the file. | 308 | |
| coding | MultipleStringLiterals | The String "RUR" appears 11 times in the file. | 315 | |
| coding | MultipleStringLiterals | The String "ITL" appears 3 times in the file. | 364 | |
| coding | MultipleStringLiterals | The String "ZAL" appears 2 times in the file. | 376 | |
| coding | MultipleStringLiterals | The String "ZWD" appears 2 times in the file. | 455 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. | 1 | |
| 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 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. | 1 | |
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| 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 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 23 | |
| coding | MultipleStringLiterals | The String "672" appears 2 times in the file. | 36 | |
| coding | MultipleStringLiterals | The String "61" appears 3 times in the file. | 41 | |
| coding | MultipleStringLiterals | The String "1" appears 3 times in the file. | 67 | |
| coding | MultipleStringLiterals | The String "358" appears 2 times in the file. | 103 | |
| coding | MultipleStringLiterals | The String "44" appears 3 times in the file. | 119 | |
| coding | MultipleStringLiterals | The String "7" appears 2 times in the file. | 140 | |
| coding | MultipleStringLiterals | The String "262" appears 2 times in the file. | 164 | |
| coding | MultipleStringLiterals | The String "212" appears 2 times in the file. | 171 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | Expected line ending for file is LF(\n), but CRLF(\r\n) is detected. | 1 | |
| 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 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | NoWhitespaceBefore | '<' is preceded with whitespace. | 733 | |
| whitespace | NoWhitespaceBefore | '<' is preceded with whitespace. | 904 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class UUID should be declared as final. | 17 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | CommentsIndentation | Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 416. | 415 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | CommentsIndentation | Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 166. | 165 | |
| indentation | CommentsIndentation | Comment has incorrect indentation level 6, expected is 4, indentation should be the same level as line 234. | 233 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "testEquals" appears 2 times in the file. | 174 | |
| coding | MultipleStringLiterals | The String "add" appears 3 times in the file. | 243 | |
| coding | MultipleStringLiterals | The String "Arithmetic exception" appears 4 times in the file. | 261 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "Percent should be 50" appears 4 times in the file. | 42 | |
| coding | MultipleStringLiterals | The String "50" appears 2 times in the file. | 69 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "QUECTO base not as expected" appears 2 times in the file. | 41 | |
| coding | MultipleStringLiterals | The String "RONTO base not as expected" appears 2 times in the file. | 42 | |
| coding | MultipleStringLiterals | The String "YOCTO base not as expected" appears 2 times in the file. | 43 | |
| coding | MultipleStringLiterals | The String "ZEPTO base not as expected" appears 2 times in the file. | 44 | |
| coding | MultipleStringLiterals | The String "ATTO base not as expected" appears 2 times in the file. | 45 | |
| coding | MultipleStringLiterals | The String "FEMTO base not as expected" appears 2 times in the file. | 46 | |
| coding | MultipleStringLiterals | The String "PICO base not as expected" appears 2 times in the file. | 47 | |
| coding | MultipleStringLiterals | The String "NANO base not as expected" appears 2 times in the file. | 48 | |
| coding | MultipleStringLiterals | The String "MICRO base not as expected" appears 2 times in the file. | 49 | |
| coding | MultipleStringLiterals | The String "MILLI base not as expected" appears 2 times in the file. | 50 | |
| coding | MultipleStringLiterals | The String "CENTI base not as expected" appears 2 times in the file. | 51 | |
| coding | MultipleStringLiterals | The String "DECI base not as expected" appears 2 times in the file. | 52 | |
| coding | MultipleStringLiterals | The String "ZERO base not as expected" appears 2 times in the file. | 53 | |
| coding | MultipleStringLiterals | The String "DECA base not as expected" appears 2 times in the file. | 54 | |
| coding | MultipleStringLiterals | The String "HECTO base not as expected" appears 2 times in the file. | 55 | |
| coding | MultipleStringLiterals | The String "KILO base not as expected" appears 2 times in the file. | 56 | |
| coding | MultipleStringLiterals | The String "MEGA base not as expected" appears 2 times in the file. | 57 | |
| coding | MultipleStringLiterals | The String "GIGA base not as expected" appears 2 times in the file. | 58 | |
| coding | MultipleStringLiterals | The String "TERA base not as expected" appears 2 times in the file. | 59 | |
| coding | MultipleStringLiterals | The String "PETA base not as expected" appears 2 times in the file. | 60 | |
| coding | MultipleStringLiterals | The String "EXA base not as expected" appears 2 times in the file. | 61 | |
| coding | MultipleStringLiterals | The String "ZETTA base not as expected" appears 2 times in the file. | 62 | |
| coding | MultipleStringLiterals | The String "YOTTA base not as expected" appears 2 times in the file. | 63 | |
| coding | MultipleStringLiterals | The String "RONNA base not as expected" appears 2 times in the file. | 64 | |
| coding | MultipleStringLiterals | The String "QUETTA base not as expected" appears 2 times in the file. | 65 | |
| coding | MultipleStringLiterals | The String "No such element exception expected" appears 3 times in the file. | 151 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "Result not as expected" appears 2 times in the file. | 38 | |
| coding | MultipleStringLiterals | The String "a5409f2d-983d-438c-bfdd-308feff7fb1f" appears 11 times in the file. | 48 | |
| coding | MultipleStringLiterals | The String "67803e53-28f7-42d1-910f-b01dd3fe2d48" appears 3 times in the file. | 60 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String "MONDAY" appears 2 times in the file. | 41 |