Checkstyle Results

The following document contains the results of Checkstyle 10.12.6 with checkstyle-4space.xml ruleset.

Summary

Files  Info  Warnings  Errors
40 0 86 0

Files

File  I  W  E
amd/Quantize.java 0 29 0
org/carrot2/labs/smartsprites/SmartSprites.java 0 1 0
org/carrot2/labs/smartsprites/SmartSpritesParameters.java 0 8 0
org/carrot2/labs/smartsprites/SpriteBuilder.java 0 4 0
org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollector.java 0 4 0
org/carrot2/labs/smartsprites/SpriteImage.java 0 2 0
org/carrot2/labs/smartsprites/SpriteImageBuilder.java 0 5 0
org/carrot2/labs/smartsprites/SpriteImageDirective.java 0 2 0
org/carrot2/labs/smartsprites/SpriteImageRenderer.java 0 1 0
org/carrot2/labs/smartsprites/SpriteLayoutProperties.java 0 2 0
org/carrot2/labs/smartsprites/SpriteReferenceDirective.java 0 2 0
org/carrot2/labs/smartsprites/SpriteReferenceOccurrence.java 0 1 0
org/carrot2/labs/smartsprites/ant/SmartSpritesTask.java 0 1 0
org/carrot2/labs/smartsprites/css/CssSyntaxUtils.java 0 1 0
org/carrot2/labs/smartsprites/message/Message.java 0 11 0
org/carrot2/labs/smartsprites/message/MessageLog.java 0 1 0
org/carrot2/labs/smartsprites/message/PrintStreamMessageSink.java 0 1 0
org/carrot2/labs/smartsprites/resource/FileSystemResourceHandler.java 0 1 0
org/carrot2/labs/smartsprites/resource/ResourceHandler.java 0 1 0
org/carrot2/util/BufferedImageUtils.java 0 1 0
org/carrot2/util/ColorQuantizer.java 0 2 0
org/carrot2/util/FileUtils.java 0 1 0
org/carrot2/util/PathUtils.java 0 4 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 4  Warning
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
30  Warning
javadoc InvalidJavadocPosition 1  Warning
JavadocParagraph 37  Warning
naming AbbreviationAsWordInName
  • tokens: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, PARAMETER_DEF, VARIABLE_DEF, METHOD_DEF, PATTERN_VARIABLE_DEF, RECORD_DEF, RECORD_COMPONENT_DEF"
  • ignoreFinal: "false"
  • allowedAbbreviations: "XML,URL"
  • allowedAbbreviationLength: "0"
1  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
13  Error

Details

amd/Quantize.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 41
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 41
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 45
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 45
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 82
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 396
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 396
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 401
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 401
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 405
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 405
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 407
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 407
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 410
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 410
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 459
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 459
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 462
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 462
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 490
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 490
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 494
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 494
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 498
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 498
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 732
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 732
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 755
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 755

org/carrot2/labs/smartsprites/SmartSprites.java

Severity Category Rule Message Line
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message.MessageLevel' 44
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 79
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 79
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 81
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 81
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 84
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 84
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '310'. 420

org/carrot2/labs/smartsprites/SpriteBuilder.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.BufferedReader' 44
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.message.LevelCounterMessageSink' 59
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '128'. 201
 Warning sizes LineLength Line is longer than 120 characters (found 131). 224

org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollector.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.BufferedReader' 42
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' 51
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '98'. 195
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '143'. 221

org/carrot2/labs/smartsprites/SpriteImage.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.awt.image.BufferedImage' 41
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'java.awt.image.BufferedImage' 42
 Warning imports CustomImportOrder Extra separation in import group before 'javax.imageio.ImageIO' 54
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.commons.math3.util.ArithmeticUtils' 56
 Warning sizes LineLength Line is longer than 120 characters (found 141). 125
 Warning sizes LineLength Line is longer than 120 characters (found 131). 127

org/carrot2/labs/smartsprites/SpriteImageDirective.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.awt.Color' 43
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' 50

org/carrot2/labs/smartsprites/SpriteImageRenderer.java

Severity Category Rule Message Line
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Locale' 42
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Map' 42
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.css.CssProperty' 45

org/carrot2/labs/smartsprites/SpriteReferenceOccurrence.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout' 41

org/carrot2/labs/smartsprites/ant/SmartSpritesTask.java

Severity Category Rule Message Line
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.message.Message' 49

org/carrot2/labs/smartsprites/message/Message.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.SpriteImageDirective' 42
 Warning sizes LineLength Line is longer than 120 characters (found 121). 172
 Warning sizes LineLength Line is longer than 120 characters (found 129). 260
 Warning sizes LineLength Line is longer than 120 characters (found 121). 264
 Warning sizes LineLength Line is longer than 120 characters (found 131). 272
 Warning sizes LineLength Line is longer than 120 characters (found 145). 276
 Warning sizes LineLength Line is longer than 120 characters (found 133). 293
 Warning sizes LineLength Line is longer than 120 characters (found 129). 297
 Warning sizes LineLength Line is longer than 120 characters (found 174). 301
 Warning sizes LineLength Line is longer than 120 characters (found 125). 305
 Warning sizes LineLength Line is longer than 120 characters (found 124). 309

org/carrot2/labs/smartsprites/message/MessageLog.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.List' 41

org/carrot2/labs/smartsprites/message/PrintStreamMessageSink.java

Severity Category Rule Message Line
 Warning 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
 Warning 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
 Warning imports CustomImportOrder Extra separation in import group before 'org.carrot2.labs.smartsprites.SmartSpritesParameters' 45

org/carrot2/util/BufferedImageUtils.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name 'imgRGB' must contain no more than '1' consecutive capital letters. 238

org/carrot2/util/ColorQuantizer.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'amd.Quantize' 45
 Warning imports CustomImportOrder Wrong lexicographical order for 'amd.Quantize' import. Should be before 'java.awt.image.WritableRaster'. 45

org/carrot2/util/FileUtils.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.commons.io.FilenameUtils' 44

org/carrot2/util/PathUtils.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.File' 41
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 46
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 46
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 78