Checkstyle Results

The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
24 0 0 59

Files

File  I  W  E
org/apache/creadur/whisker/app/AbstractEngine.java 0 0 6
org/apache/creadur/whisker/app/Act.java 0 0 2
org/apache/creadur/whisker/app/Configuration.java 0 0 1
org/apache/creadur/whisker/app/ConfigurationBuilder.java 0 0 3
org/apache/creadur/whisker/app/LicenseConfiguration.java 0 0 6
org/apache/creadur/whisker/app/Result.java 0 0 2
org/apache/creadur/whisker/app/ResultWriterFactory.java 0 0 1
org/apache/creadur/whisker/app/Whisker.java 0 0 20
org/apache/creadur/whisker/app/analysis/LicenseAnalyst.java 0 0 6
org/apache/creadur/whisker/app/analysis/ResourceDefinitionError.java 0 0 3
org/apache/creadur/whisker/app/analysis/ResourceDefinitionException.java 0 0 1
org/apache/creadur/whisker/app/analysis/ResourceDescription.java 0 0 2
org/apache/creadur/whisker/app/load/StreamableClassPathResource.java 0 0 1
org/apache/creadur/whisker/app/load/StreamableFileNameResource.java 0 0 1
org/apache/creadur/whisker/app/load/StreamableFileResource.java 0 0 1
org/apache/creadur/whisker/app/out/WriteResultsIntoDirectoryFactory.java 0 0 2
org/apache/creadur/whisker/app/out/WriteResultsToSystemOutFactory.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField 18  Error
design FinalClass 1  Error
VisibilityModifier 1  Error
imports AvoidStarImport 2  Error
javadoc JavadocStyle 5  Error
misc FinalParameters 4  Error
NewlineAtEndOfFile 2  Error
modifier RedundantModifier 6  Error
naming StaticVariableName 1  Error
sizes LineLength
  • fileExtensions: "java"
17  Error
whitespace OperatorWrap 2  Error

Details

org/apache/creadur/whisker/app/AbstractEngine.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 93). 42
 Error sizes LineLength Line is longer than 80 characters (found 93). 53
 Error modifier RedundantModifier Redundant 'final' modifier. 64
 Error sizes LineLength Line is longer than 80 characters (found 93). 65
 Error modifier RedundantModifier Redundant 'final' modifier. 75
 Error sizes LineLength Line is longer than 80 characters (found 93). 76

org/apache/creadur/whisker/app/Act.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'private' modifier. 43
 Error coding HiddenField 'isSourceRequired' hides a field. 43

org/apache/creadur/whisker/app/Configuration.java

Severity Category Rule Message Line
 Error coding HiddenField 'includeSourceUrlsInLicense' hides a field. 36

org/apache/creadur/whisker/app/ConfigurationBuilder.java

Severity Category Rule Message Line
 Error design FinalClass Class ConfigurationBuilder should be declared as final. 24
 Error sizes LineLength Line is longer than 80 characters (found 87). 79
 Error sizes LineLength Line is longer than 80 characters (found 87). 80

org/apache/creadur/whisker/app/LicenseConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 21
 Error javadoc JavadocStyle First sentence should end with a period. 25
 Error sizes LineLength Line is longer than 80 characters (found 91). 33
 Error naming StaticVariableName Name 'DEFAULT_LICENSE_CONFIGURATION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
 Error design VisibilityModifier Variable 'DEFAULT_LICENSE_CONFIGURATION' must be private and have accessor methods. 33
 Error sizes LineLength Line is longer than 80 characters (found 90). 40

org/apache/creadur/whisker/app/Result.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'private' modifier. 45
 Error coding HiddenField 'name' hides a field. 45

org/apache/creadur/whisker/app/ResultWriterFactory.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'final' modifier. 35

org/apache/creadur/whisker/app/Whisker.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.apache.creadur.whisker.app.LicenseConfiguration.*. 21
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.apache.creadur.whisker.app.ConfigurationBuilder.*. 22
 Error javadoc JavadocStyle First sentence should end with a period. 50
 Error sizes LineLength Line is longer than 80 characters (found 86). 51
 Error sizes LineLength Line is longer than 80 characters (found 93). 66
 Error coding HiddenField 'licenseConfiguration' hides a field. 66
 Error sizes LineLength Line is longer than 80 characters (found 84). 84
 Error coding HiddenField 'writerFactory' hides a field. 84
 Error coding HiddenField 'engine' hides a field. 102
 Error javadoc JavadocStyle First sentence should end with a period. 115
 Error coding HiddenField 'source' hides a field. 120
 Error sizes LineLength Line is longer than 80 characters (found 85). 137
 Error misc FinalParameters Parameter licenseDescriptor should be final. 137
 Error coding HiddenField 'licenseDescriptor' hides a field. 137
 Error misc FinalParameters Parameter act should be final. 155
 Error coding HiddenField 'act' hides a field. 155
 Error sizes LineLength Line is longer than 80 characters (found 122). 213
 Error sizes LineLength Line is longer than 80 characters (found 134). 223
 Error sizes LineLength Line is longer than 80 characters (found 96). 253
 Error sizes LineLength Line is longer than 80 characters (found 81). 264

org/apache/creadur/whisker/app/analysis/LicenseAnalyst.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline. 1
 Error whitespace OperatorWrap ':' should be on a new line. 48
 Error misc FinalParameters Parameter error should be final. 64
 Error coding HiddenField 'directories' hides a field. 85
 Error whitespace OperatorWrap ':' should be on a new line. 139
 Error misc FinalParameters Parameter ofType should be final. 281

org/apache/creadur/whisker/app/analysis/ResourceDefinitionError.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 27
 Error modifier RedundantModifier Redundant 'private' modifier. 41
 Error coding HiddenField 'description' hides a field. 41

org/apache/creadur/whisker/app/analysis/ResourceDefinitionException.java

Severity Category Rule Message Line
 Error coding HiddenField 'issues' hides a field. 83

org/apache/creadur/whisker/app/analysis/ResourceDescription.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline. 1
 Error sizes LineLength Line is longer than 80 characters (found 95). 128

org/apache/creadur/whisker/app/load/StreamableClassPathResource.java

Severity Category Rule Message Line
 Error coding HiddenField 'name' hides a field. 44

org/apache/creadur/whisker/app/load/StreamableFileNameResource.java

Severity Category Rule Message Line
 Error coding HiddenField 'fileName' hides a field. 46

org/apache/creadur/whisker/app/load/StreamableFileResource.java

Severity Category Rule Message Line
 Error coding HiddenField 'file' hides a field. 41

org/apache/creadur/whisker/app/out/WriteResultsIntoDirectoryFactory.java

Severity Category Rule Message Line
 Error coding HiddenField 'directory' hides a field. 49
 Error coding HiddenField 'encoding' hides a field. 49

org/apache/creadur/whisker/app/out/WriteResultsToSystemOutFactory.java

Severity Category Rule Message Line
 Error coding HiddenField 'encoding' hides a field. 42