Checkstyle Results
The following document contains the results of Checkstyle 12.1.0 with checkstyle-4space.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 57 | 0 | 122 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | MatchXpath
|
1 | |
| OverloadMethodsDeclarationOrder | 6 | ||
| imports | CustomImportOrder
|
51 | |
| javadoc | InvalidJavadocPosition | 1 | |
JavadocParagraph
|
37 | ||
| naming | AbbreviationAsWordInName
|
3 | |
| sizes | LineLength
|
22 | |
| whitespace | GenericWhitespace | 1 |
Details
amd/Quantize.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 45 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 45 | |
| javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 82 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 396 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 396 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 401 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 401 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 405 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 405 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 407 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 407 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 410 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 410 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 459 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 459 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 462 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 462 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 490 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 490 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 494 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 494 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 498 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 498 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 732 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 732 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 755 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 755 |
org/carrot2/labs/smartsprites/SmartSprites.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.MessageLog' | 41 |
org/carrot2/labs/smartsprites/SmartSpritesParameters.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message.MessageLevel' | 45 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 80 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 80 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 82 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 82 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 85 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 85 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '311'. | 421 |
org/carrot2/labs/smartsprites/SmartSpritesParametersTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.io.File' | 45 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message' | 50 | |
| naming | AbbreviationAsWordInName | Abbreviation in name 'testValidateOutputDirIsNotADirectory' must contain no more than '1' consecutive capital letters. | 138 | |
| naming | AbbreviationAsWordInName | Abbreviation in name 'testValidateDocumentRootDirIsNotADirectory' must contain no more than '1' consecutive capital letters. | 157 |
org/carrot2/labs/smartsprites/SpriteBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.io.BufferedReader' | 44 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.LevelCounterMessageSink' | 60 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '129'. | 202 | |
| sizes | LineLength | Line is longer than 120 characters (found 131). | 225 |
org/carrot2/labs/smartsprites/SpriteBuilderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.awt.Dimension' | 44 | |
| imports | CustomImportOrder | Extra separation in import group before 'javax.imageio.ImageIO' | 52 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.io.FileUtils' | 54 | |
| coding | MatchXpath | '//' must be followed by a whitespace. | 637 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '915'. | 939 |
org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.io.BufferedReader' | 42 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 51 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '98'. | 195 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '143'. | 221 |
org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollectorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 120 characters (found 127). | 70 | |
| sizes | LineLength | Line is longer than 120 characters (found 128). | 92 | |
| sizes | LineLength | Line is longer than 120 characters (found 132). | 93 |
org/carrot2/labs/smartsprites/SpriteImage.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.awt.image.BufferedImage' | 41 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType' | 47 |
org/carrot2/labs/smartsprites/SpriteImageBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.awt.image.BufferedImage' | 42 | |
| imports | CustomImportOrder | Extra separation in import group before 'javax.imageio.ImageIO' | 54 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.math3.util.ArithmeticUtils' | 56 | |
| sizes | LineLength | Line is longer than 120 characters (found 141). | 125 | |
| sizes | LineLength | Line is longer than 120 characters (found 131). | 127 | |
| whitespace | GenericWhitespace | GenericWhitespace '>' is followed by whitespace. | 190 |
org/carrot2/labs/smartsprites/SpriteImageDirective.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.awt.Color' | 43 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 50 |
org/carrot2/labs/smartsprites/SpriteImageDirectiveTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType' | 46 | |
| sizes | LineLength | Line is longer than 120 characters (found 156). | 343 | |
| sizes | LineLength | Line is longer than 120 characters (found 157). | 367 |
org/carrot2/labs/smartsprites/SpriteImageRenderer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth' | 42 |
org/carrot2/labs/smartsprites/SpriteLayoutProperties.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.util.Locale' | 42 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout' | 46 |
org/carrot2/labs/smartsprites/SpriteReferenceDirective.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.util.Map' | 42 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 45 |
org/carrot2/labs/smartsprites/SpriteReferenceDirectiveTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.awt.Color' | 46 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat' | 49 | |
| sizes | LineLength | Line is longer than 120 characters (found 141). | 256 | |
| sizes | LineLength | Line is longer than 120 characters (found 140). | 276 | |
| sizes | LineLength | Line is longer than 120 characters (found 167). | 337 | |
| sizes | LineLength | Line is longer than 120 characters (found 169). | 357 |
org/carrot2/labs/smartsprites/SpriteReferenceOccurrence.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout' | 41 |
org/carrot2/labs/smartsprites/TestWithMemoryMessageSink.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.MemoryMessageSink' | 41 |
org/carrot2/labs/smartsprites/ant/SmartSpritesTask.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.tools.ant.BuildException' | 45 |
org/carrot2/labs/smartsprites/css/CssSyntaxUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message' | 49 |
org/carrot2/labs/smartsprites/css/CssSyntaxUtilsTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.TestWithMemoryMessageSink' | 46 |
org/carrot2/labs/smartsprites/message/Message.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective' | 42 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 170 | |
| sizes | LineLength | Line is longer than 120 characters (found 129). | 254 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 258 | |
| sizes | LineLength | Line is longer than 120 characters (found 131). | 266 | |
| sizes | LineLength | Line is longer than 120 characters (found 145). | 270 | |
| sizes | LineLength | Line is longer than 120 characters (found 133). | 286 | |
| sizes | LineLength | Line is longer than 120 characters (found 129). | 290 | |
| sizes | LineLength | Line is longer than 120 characters (found 174). | 294 | |
| sizes | LineLength | Line is longer than 120 characters (found 125). | 298 | |
| sizes | LineLength | Line is longer than 120 characters (found 124). | 302 |
org/carrot2/labs/smartsprites/message/MessageLog.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.util.List' | 41 |
org/carrot2/labs/smartsprites/message/PrintStreamMessageSink.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message.MessageLevel' | 41 |
org/carrot2/labs/smartsprites/resource/FileSystemResourceHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.io.FilenameUtils' | 52 |
org/carrot2/labs/smartsprites/resource/ResourceHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.SmartSpritesParameters' | 45 |
org/carrot2/labs/test/Assertions.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 42 | |
| coding | OverloadMethodsDeclarationOrder | All overloaded methods should be placed next to each other. Previous overloaded method located at line '82'. | 106 |
org/carrot2/labs/test/BufferedImageAssertion.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 44 |
org/carrot2/labs/test/CssPropertyListAssertion.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.util.List' | 44 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' | 46 |
org/carrot2/labs/test/MessageListAssertion.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.util.ArrayList' | 42 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.assertj.core.api.Assertions' | 47 |
org/carrot2/util/BufferedImageTestBase.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'javax.imageio.ImageIO' | 42 |
org/carrot2/util/BufferedImageUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | AbbreviationAsWordInName | Abbreviation in name 'imgRGB' must contain no more than '1' consecutive capital letters. | 238 |
org/carrot2/util/BufferedImageUtilsTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.junit.jupiter.api.Test' | 46 |
org/carrot2/util/ColorQuantizer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'amd.Quantize' | 45 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'amd.Quantize' import. Should be before 'java.awt.image.WritableRaster'. | 45 |
org/carrot2/util/ColorQuantizerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.junit.jupiter.api.Test' | 45 | |
| imports | CustomImportOrder | Extra separation in import group before 'amd.Quantize' | 47 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'amd.Quantize' import. Should be before 'org.junit.jupiter.api.Test'. | 47 |
org/carrot2/util/FileUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.commons.io.FilenameUtils' | 45 |
org/carrot2/util/PathUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'java.io.File' | 41 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 47 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 47 | |
| javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 79 |


