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