Checkstyle Results
The following document contains the results of Checkstyle 12.1.0 with checkstyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 6 | 0 | 149 | 0 |
Files
| File | |||
|---|---|---|---|
| tutorial/domain/EntityX.java | 0 | 35 | 0 |
| tutorial/domain/MyBusinessService.java | 0 | 35 | 0 |
| tutorial/domain/MyBusinessServiceTest.java | 0 | 26 | 0 |
| tutorial/persistence/Database.java | 0 | 53 | 0 |
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| imports | CustomImportOrder
|
4 | |
| indentation | Indentation
|
126 | |
| javadoc | JavadocParagraph
|
10 | |
MissingJavadocMethod
|
8 | ||
MissingJavadocType
|
1 |
Details
tutorial/domain/EntityX.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.math.BigDecimal' | 13 | |
| javadoc | MissingJavadocType | Missing a Javadoc comment. | 15 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 17 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 20 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 22 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 24 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 27 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 27 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 28 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 30 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 30 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 31 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 32 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 33 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 35 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 36 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 37 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 39 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 40 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 41 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 43 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 44 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 45 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 47 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 48 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 49 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 51 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 52 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 53 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 55 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 56 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 57 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 59 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 60 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 61 |
tutorial/domain/MyBusinessService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.mail.Email' | 14 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 22 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 22 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 29 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 29 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 35 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 35 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 50 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 52 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 52 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 53 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 54 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 58 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 58 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 61 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 64 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 65 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 68 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 70 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 71 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 73 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 74 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 75 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 76 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 81 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 82 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 84 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 85 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 87 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 88 | |
| indentation | Indentation | 'for' has incorrect indentation level 8, expected level should be 4. | 90 | |
| indentation | Indentation | 'for' child has incorrect indentation level 12, expected level should be 6. | 91 | |
| indentation | Indentation | 'for rcurly' has incorrect indentation level 8, expected level should be 4. | 92 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 94 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 95 |
tutorial/domain/MyBusinessServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.mail.EmailException' | 17 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 27 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 31 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 35 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 44 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 46 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 47 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 49 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 52 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 53 | |
| indentation | Indentation | 'block lcurly' has incorrect indentation level 12, expected level should be one of the following: 6, 8, 10. | 54 | |
| indentation | Indentation | 'block' child has incorrect indentation level 16, expected level should be one of the following: 8, 14. | 55 | |
| indentation | Indentation | 'block' child has incorrect indentation level 16, expected level should be one of the following: 8, 14. | 56 | |
| indentation | Indentation | 'block rcurly' has incorrect indentation level 12, expected level should be one of the following: 6, 8, 10. | 57 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 59 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 67 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 69 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 70 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 71 | |
| indentation | Indentation | 'block lcurly' has incorrect indentation level 12, expected level should be one of the following: 6, 8, 10. | 72 | |
| indentation | Indentation | 'block' child has incorrect indentation level 16, expected level should be one of the following: 8, 14. | 73 | |
| indentation | Indentation | 'block' child has incorrect indentation level 16, expected level should be one of the following: 8, 14. | 74 | |
| indentation | Indentation | 'block rcurly' has incorrect indentation level 12, expected level should be one of the following: 6, 8, 10. | 75 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 78 | |
| indentation | Indentation | 'block' child has incorrect indentation level 12, expected level should be 10. | 79 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 81 |
tutorial/persistence/Database.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.sql.SQLException' | 14 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 20 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 20 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 30 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 30 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 41 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 42 | |
| indentation | Indentation | 'static initialization' has incorrect indentation level 4, expected level should be 2. | 44 | |
| indentation | Indentation | 'static initialization' child has incorrect indentation level 8, expected level should be 4. | 45 | |
| indentation | Indentation | 'try' has incorrect indentation level 8, expected level should be 4. | 47 | |
| indentation | Indentation | 'try' child has incorrect indentation level 12, expected level should be 6. | 48 | |
| indentation | Indentation | 'try rcurly' has incorrect indentation level 8, expected level should be 4. | 49 | |
| indentation | Indentation | 'catch' child has incorrect indentation level 12, expected level should be 6. | 50 | |
| indentation | Indentation | 'catch rcurly' has incorrect indentation level 8, expected level should be 4. | 51 | |
| indentation | Indentation | 'static initialization' child has incorrect indentation level 8, expected level should be 4. | 53 | |
| indentation | Indentation | 'static initialization rcurly' has incorrect indentation level 4, expected level should be 2. | 54 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 56 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 57 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 59 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 59 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 60 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 61 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 63 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 63 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 64 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 65 | |
| indentation | Indentation | 'for' has incorrect indentation level 8, expected level should be 4. | 67 | |
| indentation | Indentation | 'for' child has incorrect indentation level 12, expected level should be 6. | 68 | |
| indentation | Indentation | 'for' child has incorrect indentation level 12, expected level should be 6. | 69 | |
| indentation | Indentation | 'for rcurly' has incorrect indentation level 8, expected level should be 4. | 70 | |
| indentation | Indentation | 'try' has incorrect indentation level 8, expected level should be 4. | 72 | |
| indentation | Indentation | 'try' child has incorrect indentation level 12, expected level should be 6. | 73 | |
| indentation | Indentation | 'try rcurly' has incorrect indentation level 8, expected level should be 4. | 74 | |
| indentation | Indentation | 'catch' child has incorrect indentation level 12, expected level should be 6. | 75 | |
| indentation | Indentation | 'catch' child has incorrect indentation level 12, expected level should be 6. | 76 | |
| indentation | Indentation | 'catch rcurly' has incorrect indentation level 8, expected level should be 4. | 77 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 78 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 80 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 80 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 81 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 82 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 84 | |
| javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 84 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 85 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 86 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 88 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 89 | |
| indentation | Indentation | 'if' has incorrect indentation level 8, expected level should be 4. | 91 | |
| indentation | Indentation | 'if' child has incorrect indentation level 12, expected level should be 6. | 92 | |
| indentation | Indentation | 'if' child has incorrect indentation level 12, expected level should be 6. | 93 | |
| indentation | Indentation | 'if rcurly' has incorrect indentation level 8, expected level should be 4. | 94 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 96 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 97 |


