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