This project has retired. For details please refer to its Attic page.
Archiva Base :: Common – Checkstyle Results

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
17 4 55 18

Rules

Category Rule Violations Severity
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"
9  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
3  Error
javadoc JavadocMethod
  • scope: "protected"
55  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
2  Error
JavadocVariable
  • scope: "protected"
4  Info
naming ConstantName 1  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
3  Error

Details

org/apache/archiva/common/ArchivaException.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 30
 Warning javadoc JavadocMethod Missing a Javadoc comment. 35

org/apache/archiva/common/FileTypeUtils.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^\s*$'. 2

org/apache/archiva/common/package-info.java

Severity Category Rule Message Line
 Error header RegexpHeader Missing a header - not enough lines in file. 1

org/apache/archiva/common/utils/BaseFile.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 41
 Warning javadoc JavadocMethod Missing a Javadoc comment. 46
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 67
 Warning javadoc JavadocMethod Missing a Javadoc comment. 72
 Warning javadoc JavadocMethod Missing a Javadoc comment. 78
 Warning javadoc JavadocMethod Missing a Javadoc comment. 85
 Warning javadoc JavadocMethod Missing a Javadoc comment. 90
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95
 Warning javadoc JavadocMethod Missing a Javadoc comment. 100

org/apache/archiva/common/utils/BaseFileTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58
 Warning javadoc JavadocMethod Missing a Javadoc comment. 69
 Warning javadoc JavadocMethod Missing a Javadoc comment. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 93
 Warning javadoc JavadocMethod Missing a Javadoc comment. 105

org/apache/archiva/common/utils/DateUtil.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 33
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54
 Error coding MagicNumber '365' is a magic number. 70
 Error coding MagicNumber '60' is a magic number. 84
 Error coding MagicNumber '60' is a magic number. 90
 Error coding MagicNumber '24' is a magic number. 96

org/apache/archiva/common/utils/DateUtilTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60
 Error coding MagicNumber '2000' is a magic number. 62
 Error coding MagicNumber '732234' is a magic number. 64
 Error coding MagicNumber '720501' is a magic number. 66

org/apache/archiva/common/utils/FileUtil.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 24
 Warning javadoc JavadocMethod Missing a Javadoc comment. 26

org/apache/archiva/common/utils/PathUtil.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 34
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45

org/apache/archiva/common/utils/PathUtilTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36
 Error sizes LineLength Line is longer than 120 characters (found 121). 39
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42
 Error sizes LineLength Line is longer than 120 characters (found 121). 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71

org/apache/archiva/common/utils/ResourceUtils.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 46
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 65

org/apache/archiva/common/utils/Slf4JPlexusLogger.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 41

org/apache/archiva/common/utils/VersionComparator.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 123). 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Error coding MagicNumber '23' is a magic number. 63
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95
 Warning javadoc JavadocMethod Missing a Javadoc comment. 196

org/apache/archiva/common/utils/VersionComparatorTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 112

org/apache/archiva/common/utils/VersionUtil.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'versionPatterns' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
 Info javadoc JavadocVariable Missing a Javadoc comment. 43
 Info javadoc JavadocVariable Missing a Javadoc comment. 45
 Info javadoc JavadocVariable Missing a Javadoc comment. 47
 Info javadoc JavadocVariable Missing a Javadoc comment. 49
 Error coding MagicNumber '0.75' is a magic number. 94
 Warning javadoc JavadocMethod Missing a Javadoc comment. 119
 Warning javadoc JavadocMethod Missing a Javadoc comment. 132
 Warning javadoc JavadocMethod Missing a Javadoc comment. 177
 Warning javadoc JavadocMethod Missing a Javadoc comment. 183
 Warning javadoc JavadocMethod Missing a Javadoc comment. 188

org/apache/archiva/common/utils/VersionUtilTest.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 24
 Warning javadoc JavadocMethod Missing a Javadoc comment. 28
 Warning javadoc JavadocMethod Missing a Javadoc comment. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod Missing a Javadoc comment. 76
 Warning javadoc JavadocMethod Missing a Javadoc comment. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 88
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95

org/apache/archiva/common/utils/package-info.java

Severity Category Rule Message Line
 Error header RegexpHeader Missing a header - not enough lines in file. 1