Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files  Info  Warnings  Errors
4 1 19 24

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3  Warning
RedundantThrows 2  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
4  Error
imports UnusedImports 2  Error
javadoc JavadocMethod
  • scope: "protected"
16  Warning
JavadocVariable
  • scope: "protected"
1  Info
modifier ModifierOrder 1  Error
RedundantModifier 1  Error
whitespace ParenPad
  • option: "space"
13  Error
WhitespaceAround 1  Error

Details

org/codehaus/plexus/velocity/ContextClassLoaderResourceLoader.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Copyright The Codehaus Foundation\.\s*$'. 4
 Error imports UnusedImports Unused import - org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader. 22
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37
 Error whitespace ParenPad ')' is not preceded with whitespace. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 41
 Error coding RedundantThrows Redundant throws: 'ResourceNotFoundException' is unchecked exception. 42
 Error whitespace ParenPad '(' is not followed by whitespace. 46
 Error whitespace ParenPad ')' is not preceded with whitespace. 46
 Error whitespace ParenPad '(' is not followed by whitespace. 48
 Error whitespace ParenPad ')' is not preceded with whitespace. 48
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 70
 Error whitespace ParenPad '(' is not followed by whitespace. 70
 Error whitespace ParenPad ')' is not preceded with whitespace. 70
 Warning javadoc JavadocMethod Missing a Javadoc comment. 75
 Error whitespace ParenPad '(' is not followed by whitespace. 75
 Error whitespace ParenPad ')' is not preceded with whitespace. 75

org/codehaus/plexus/velocity/DefaultVelocityComponent.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Copyright The Codehaus Foundation\.\s*$'. 4
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Warning javadoc JavadocMethod Missing a Javadoc comment. 99
 Warning javadoc JavadocMethod Missing a Javadoc comment. 109
 Warning coding HiddenField 'runtimeServices' hides a field. 109
 Warning javadoc JavadocMethod Missing a Javadoc comment. 114
 Error whitespace ParenPad '(' is not followed by whitespace. 114
 Error whitespace ParenPad ')' is not preceded with whitespace. 114
 Warning javadoc JavadocMethod Missing a Javadoc comment. 137
 Error whitespace ParenPad '(' is not followed by whitespace. 137
 Error whitespace ParenPad ')' is not preceded with whitespace. 137
 Warning javadoc JavadocMethod Missing a Javadoc comment. 160

org/codehaus/plexus/velocity/SiteResourceLoader.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Copyright The Codehaus Foundation\.\s*$'. 4
 Error imports UnusedImports Unused import - org.apache.velocity.runtime.resource.loader.FileResourceLoader. 20
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Error coding RedundantThrows Redundant throws: 'ResourceNotFoundException' is unchecked exception. 56
 Warning javadoc JavadocMethod Missing a Javadoc comment. 81
 Warning coding HiddenField 'resource' hides a field. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 86
 Warning coding HiddenField 'resource' hides a field. 86

org/codehaus/plexus/velocity/VelocityComponent.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Copyright The Codehaus Foundation\.\s*$'. 4
 Info javadoc JavadocVariable Missing a Javadoc comment. 27
 Error modifier RedundantModifier Redundant 'public' modifier. 27
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 27
 Warning javadoc JavadocMethod Missing a Javadoc comment. 29