Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
15 7 77 31

Rules

Category Rule Violations Severity
blocks EmptyBlock
  • option: "text"
2  Error
coding MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 31, 32, 37, 64, 100, 128, 256, 512, 1000, 1024"
3  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
15  Error
imports RedundantImport 4  Error
javadoc JavadocMethod
  • scope: "protected"
77  Warning
JavadocVariable
  • scope: "protected"
7  Info
modifier RedundantModifier 5  Error
whitespace WhitespaceAround 2  Error

Details

org/codehaus/plexus/resource/DefaultResourceManager.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. 64
 Warning javadoc JavadocMethod Missing a Javadoc comment. 78
 Warning javadoc JavadocMethod Missing a Javadoc comment. 84
 Warning javadoc JavadocMethod Missing a Javadoc comment. 105
 Warning javadoc JavadocMethod Missing a Javadoc comment. 119
 Warning javadoc JavadocMethod Missing a Javadoc comment. 133
 Warning javadoc JavadocMethod Missing a Javadoc comment. 138
 Warning javadoc JavadocMethod Missing a Javadoc comment. 150
 Warning javadoc JavadocMethod Missing a Javadoc comment. 176
 Warning javadoc JavadocMethod Missing a Javadoc comment. 198

org/codehaus/plexus/resource/PlexusResource.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Copyright The Codehaus Foundation\.\s*$'. 4
 Error modifier RedundantModifier Redundant 'public' modifier. 55
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 56
 Error modifier RedundantModifier Redundant 'public' modifier. 66
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 67
 Error modifier RedundantModifier Redundant 'public' modifier. 76
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 77
 Error modifier RedundantModifier Redundant 'public' modifier. 86
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 87
 Warning javadoc JavadocMethod Expected an @return tag. 94
 Error modifier RedundantModifier Redundant 'public' modifier. 94

org/codehaus/plexus/resource/ResourceManager.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. 41
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 46
 Warning javadoc JavadocMethod Missing a Javadoc comment. 49
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54
 Warning javadoc JavadocMethod Expected an @return tag. 61
 Warning javadoc JavadocMethod Expected @param tag for 'location'. 61
 Warning javadoc JavadocMethod Expected @param tag for 'localfile'. 61
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 62
 Warning javadoc JavadocMethod Expected an @return tag. 69
 Warning javadoc JavadocMethod Expected @param tag for 'location'. 69
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 70
 Warning javadoc JavadocMethod Expected an @return tag. 77
 Warning javadoc JavadocMethod Expected @param tag for 'name'. 77
 Warning javadoc JavadocMethod Expected @throws tag for 'ResourceNotFoundException'. 78
 Warning javadoc JavadocMethod Expected an @return tag. 87
 Warning javadoc JavadocMethod Expected @param tag for 'resource'. 87
 Warning javadoc JavadocMethod Expected @throws tag for 'FileResourceCreationException'. 88
 Warning javadoc JavadocMethod Expected @param tag for 'resource'. 95
 Warning javadoc JavadocMethod Expected @param tag for 'outputFile'. 95
 Warning javadoc JavadocMethod Expected @throws tag for 'FileResourceCreationException'. 96

org/codehaus/plexus/resource/loader/AbstractResourceLoader.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. 46
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54

org/codehaus/plexus/resource/loader/FilePlexusResource.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. 44
 Warning javadoc JavadocMethod Missing a Javadoc comment. 49
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Warning javadoc JavadocMethod Missing a Javadoc comment. 72

org/codehaus/plexus/resource/loader/FileResourceCreationException.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. 33
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43

org/codehaus/plexus/resource/loader/FileResourceLoader.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 RedundantImport Redundant import from the same package - org.codehaus.plexus.resource.loader.AbstractResourceLoader. 32
 Error imports RedundantImport Redundant import from the same package - org.codehaus.plexus.resource.loader.ResourceNotFoundException. 33
 Info javadoc JavadocVariable Missing a Javadoc comment. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod Expected an @return tag. 76
 Warning javadoc JavadocMethod Expected @param tag for 'name'. 76
 Warning javadoc JavadocMethod Expected @param tag for 'outputPath'. 76
 Warning javadoc JavadocMethod Expected @param tag for 'outputDirectory'. 76
 Warning javadoc JavadocMethod Expected @throws tag for 'FileResourceCreationException'. 77

org/codehaus/plexus/resource/loader/JarHolder.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. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Error blocks EmptyBlock Empty catch block. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 85
 Error blocks EmptyBlock Empty catch block. 92
 Warning javadoc JavadocMethod Missing a Javadoc comment. 100
 Warning javadoc JavadocMethod Missing a Javadoc comment. 122
 Error coding MagicNumber '559' is a magic number. 124
 Warning javadoc JavadocMethod Missing a Javadoc comment. 144
 Warning javadoc JavadocMethod Missing a Javadoc comment. 149

org/codehaus/plexus/resource/loader/JarResourceLoader.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. 40
 Error coding MagicNumber '559' is a magic number. 45
 Error coding MagicNumber '89' is a magic number. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54
 Warning javadoc JavadocMethod Missing a Javadoc comment. 176

org/codehaus/plexus/resource/loader/ResourceIOException.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. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42

org/codehaus/plexus/resource/loader/ResourceLoader.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. 37
 Warning javadoc JavadocMethod Expected an @return tag. 42
 Warning javadoc JavadocMethod Expected @param tag for 'name'. 42
 Warning javadoc JavadocMethod Expected @throws tag for 'ResourceNotFoundException'. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45

org/codehaus/plexus/resource/loader/ResourceNotFoundException.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. 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 41

org/codehaus/plexus/resource/loader/ThreadContextClasspathResourceLoader.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 RedundantImport Redundant import from the same package - org.codehaus.plexus.resource.loader.AbstractResourceLoader. 30
 Error imports RedundantImport Redundant import from the same package - org.codehaus.plexus.resource.loader.ResourceNotFoundException. 31
 Info javadoc JavadocVariable Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48

org/codehaus/plexus/resource/loader/URLPlexusResource.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. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60
 Warning javadoc JavadocMethod Missing a Javadoc comment. 65
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71

org/codehaus/plexus/resource/loader/URLResourceLoader.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. 45
 Info javadoc JavadocVariable Missing a Javadoc comment. 47
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 101
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 145