Checkstyle Results
The following document contains the results of Checkstyle 9.3 with google_checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 15 | 0 | 132 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| imports | CustomImportOrder
|
22 | |
| indentation | CommentsIndentation
|
1 | |
Indentation
|
100 | ||
| javadoc | JavadocParagraph | 4 | |
MissingJavadocType
|
3 | ||
| sizes | LineLength
|
2 |
Details
lv/id/jc/piglatin/PigLatinRestApplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.net.http.HttpClient' | 7 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.net.http.HttpClient' import. Should be before 'org.springframework.context.annotation.Bean'. | 7 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.atomic.AtomicInteger' import. Should be before 'org.springframework.context.annotation.Bean'. | 8 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 17 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 18 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 19 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 26 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 28 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 29 | |
| indentation | CommentsIndentation | Block comment has incorrect indentation level 3, expected is 4, indentation should be the same level as line 37. | 31 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 37 | |
| 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 |
lv/id/jc/piglatin/actuator/BlogHealthIndicator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.boot.actuate.health.Health' | 6 | |
| javadoc | MissingJavadocType | Missing a Javadoc comment. | 11 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 13 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 14 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 16 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 17 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 18 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 19 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 21 | |
| indentation | Indentation | 'try' has incorrect indentation level 8, expected level should be 4. | 23 | |
| indentation | Indentation | 'try' child has incorrect indentation level 12, expected level should be 6. | 24 | |
| indentation | Indentation | 'try rcurly' has incorrect indentation level 8, expected level should be 4. | 25 | |
| indentation | Indentation | 'catch' child has incorrect indentation level 12, expected level should be 6. | 26 | |
| indentation | Indentation | 'catch rcurly' has incorrect indentation level 8, expected level should be 4. | 27 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 28 |
lv/id/jc/piglatin/actuator/HealthFunction.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.boot.actuate.health.Health' | 5 | |
| javadoc | MissingJavadocType | Missing a Javadoc comment. | 10 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 19 | |
| indentation | Indentation | 'if' has incorrect indentation level 8, expected level should be 4. | 21 | |
| indentation | Indentation | 'if' child has incorrect indentation level 12, expected level should be 6. | 22 | |
| indentation | Indentation | 'if rcurly' has incorrect indentation level 8, expected level should be 4. | 23 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 24 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 27 |
lv/id/jc/piglatin/actuator/StatusCodeSupplier.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.beans.factory.annotation.Value' | 10 | |
| javadoc | MissingJavadocType | Missing a Javadoc comment. | 14 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 16 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 18 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 21 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 22 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 23 | |
| sizes | LineLength | Line is longer than 100 characters (found 121). | 29 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 31 | |
| indentation | Indentation | 'try' has incorrect indentation level 8, expected level should be 4. | 33 | |
| indentation | Indentation | 'try' child has incorrect indentation level 12, expected level should be 6. | 34 | |
| indentation | Indentation | 'try' child has incorrect indentation level 12, expected level should be 6. | 37 | |
| indentation | Indentation | 'try rcurly' has incorrect indentation level 8, expected level should be 4. | 38 | |
| indentation | Indentation | 'catch' child has incorrect indentation level 12, expected level should be 6. | 39 | |
| indentation | Indentation | 'catch rcurly' 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 |
lv/id/jc/piglatin/actuator/TranslationCountEndpoint.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.beans.factory.annotation.Qualifier' | 6 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 21 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 23 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 24 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 25 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 33 | |
| 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. | 45 | |
| 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 | '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. | 54 | |
| 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 |
lv/id/jc/piglatin/controller/PigLatinController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'lv.id.jc.piglatin.api.PigLatinApi' | 8 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'lv.id.jc.piglatin.api.PigLatinApi' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 8 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'lv.id.jc.piglatin.model.TranslationRequest' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 9 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'lv.id.jc.piglatin.model.TranslationResponse' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 10 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'lv.id.jc.piglatin.service.TranslationService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 11 | |
| 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. | 21 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 22 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 23 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 25 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 27 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 28 | |
| indentation | Indentation | 'if' has incorrect indentation level 8, expected level should be 4. | 29 | |
| indentation | Indentation | 'if' child has incorrect indentation level 12, expected level should be 6. | 30 | |
| indentation | Indentation | 'if rcurly' has incorrect indentation level 8, expected level should be 4. | 31 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 32 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 33 |
lv/id/jc/piglatin/core/PhraseTranslator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.beans.factory.annotation.Qualifier' | 8 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 18 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 19 | |
| sizes | LineLength | Line is longer than 100 characters (found 102). | 24 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 27 | |
| indentation | Indentation | 'ctor def rparen' has incorrect indentation level 4, expected level should be 2. | 31 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 32 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 33 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 34 | |
| 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. | 44 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 45 |
lv/id/jc/piglatin/core/Word.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'jakarta.validation.Constraint' | 12 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'jakarta.validation.Constraint' import. Should be before 'java.lang.annotation.Target'. | 12 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'jakarta.validation.Payload' import. Should be before 'java.lang.annotation.Target'. | 13 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'jakarta.validation.constraints.NotBlank' import. Should be before 'java.lang.annotation.Target'. | 14 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'jakarta.validation.constraints.NotNull' import. Should be before 'java.lang.annotation.Target'. | 15 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'jakarta.validation.constraints.Pattern' import. Should be before 'java.lang.annotation.Target'. | 16 | |
| 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. | 23 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 23 | |
| indentation | Indentation | 'annotation field def modifier' has incorrect indentation level 4, expected level should be 2. | 65 | |
| indentation | Indentation | 'annotation field def modifier' has incorrect indentation level 4, expected level should be 2. | 72 | |
| indentation | Indentation | 'annotation field def modifier' has incorrect indentation level 4, expected level should be 2. | 79 |
lv/id/jc/piglatin/core/WordTranslator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.stereotype.Component' | 6 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 13 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 22 | |
| 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. | 32 | |
| indentation | Indentation | 'method def rcurly' has incorrect indentation level 4, expected level should be 2. | 33 |
lv/id/jc/piglatin/core/WordsMatcher.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.stereotype.Component' | 7 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 14 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 33 | |
| 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 |
lv/id/jc/piglatin/service/TranslationService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.beans.factory.annotation.Qualifier' | 7 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 16 | |
| indentation | Indentation | 'member def modifier' has incorrect indentation level 4, expected level should be 2. | 17 | |
| indentation | Indentation | 'ctor def modifier' has incorrect indentation level 4, expected level should be 2. | 19 | |
| indentation | Indentation | 'ctor def rparen' has incorrect indentation level 4, expected level should be 2. | 22 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 23 | |
| indentation | Indentation | 'ctor def' child has incorrect indentation level 8, expected level should be 4. | 24 | |
| indentation | Indentation | 'ctor def rcurly' has incorrect indentation level 4, expected level should be 2. | 25 | |
| indentation | Indentation | 'method def modifier' has incorrect indentation level 4, expected level should be 2. | 33 | |
| indentation | Indentation | 'method def' child has incorrect indentation level 8, expected level should be 4. | 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 |
