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

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
21 17 83 44

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1  Warning
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"
16  Error
design VisibilityModifier
  • protectedAllowed: "true"
  • packageAllowed: "true"
1  Error
imports AvoidStarImport 1  Error
javadoc JavadocMethod
  • scope: "protected"
82  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1  Error
JavadocVariable
  • scope: "protected"
17  Info
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
8  Error
whitespace OperatorWrap 2  Error
ParenPad
  • option: "space"
10  Error
WhitespaceAround 5  Error

Details

org/apache/archiva/policies/AbstractUpdatePolicy.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 86
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95
 Warning javadoc JavadocMethod Missing a Javadoc comment. 97
 Error sizes LineLength Line is longer than 120 characters (found 141). 186
 Error sizes LineLength Line is longer than 120 characters (found 143). 205

org/apache/archiva/policies/CachedFailuresPolicy.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60
 Error whitespace OperatorWrap '+' should be on a new line. 73

org/apache/archiva/policies/CachedFailuresPolicyTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod Missing a Javadoc comment. 84
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 93
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 93

org/apache/archiva/policies/ChecksumPolicy.java

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

org/apache/archiva/policies/ChecksumPolicyTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 38
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 46
 Info javadoc JavadocVariable Missing a Javadoc comment. 57
 Error design VisibilityModifier Variable 'name' must be private and have accessor methods. 58
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Warning javadoc JavadocMethod Missing a Javadoc comment. 73
 Warning javadoc JavadocMethod Missing a Javadoc comment. 80
 Warning javadoc JavadocMethod Missing a Javadoc comment. 87
 Warning javadoc JavadocMethod Missing a Javadoc comment. 94
 Warning javadoc JavadocMethod Missing a Javadoc comment. 101
 Warning javadoc JavadocMethod Missing a Javadoc comment. 108
 Warning javadoc JavadocMethod Missing a Javadoc comment. 115
 Warning javadoc JavadocMethod Missing a Javadoc comment. 122
 Warning javadoc JavadocMethod Missing a Javadoc comment. 129
 Warning javadoc JavadocMethod Missing a Javadoc comment. 136
 Warning javadoc JavadocMethod Missing a Javadoc comment. 143
 Warning javadoc JavadocMethod Missing a Javadoc comment. 150
 Warning javadoc JavadocMethod Missing a Javadoc comment. 157
 Warning javadoc JavadocMethod Missing a Javadoc comment. 164
 Warning javadoc JavadocMethod Missing a Javadoc comment. 171
 Warning javadoc JavadocMethod Missing a Javadoc comment. 178
 Warning javadoc JavadocMethod Missing a Javadoc comment. 185
 Warning javadoc JavadocMethod Missing a Javadoc comment. 192
 Warning javadoc JavadocMethod Missing a Javadoc comment. 366

org/apache/archiva/policies/DownloadErrorPolicy.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'localFile'. 46

org/apache/archiva/policies/DownloadPolicy.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'localFile'. 43
 Warning javadoc JavadocMethod Expected @throws tag for 'PolicyConfigurationException'. 44

org/apache/archiva/policies/Policy.java

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

org/apache/archiva/policies/PolicyConfigurationException.java

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

org/apache/archiva/policies/PolicyViolationException.java

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

org/apache/archiva/policies/PropagateErrorsDownloadPolicy.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 59
 Error whitespace OperatorWrap '+' should be on a new line. 74

org/apache/archiva/policies/PropagateErrorsOnUpdateDownloadPolicy.java

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

org/apache/archiva/policies/ProxyDownloadException.java

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

org/apache/archiva/policies/ReleasePolicyTest.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 126). 45
 Error sizes LineLength Line is longer than 120 characters (found 142). 49
 Error sizes LineLength Line is longer than 120 characters (found 123). 51
 Info javadoc JavadocVariable Missing a Javadoc comment. 57
 Error whitespace ParenPad ')' is not preceded with whitespace. 57
 Info javadoc JavadocVariable Missing a Javadoc comment. 59
 Info javadoc JavadocVariable Missing a Javadoc comment. 61
 Info javadoc JavadocVariable Missing a Javadoc comment. 63
 Info javadoc JavadocVariable Missing a Javadoc comment. 65
 Info javadoc JavadocVariable Missing a Javadoc comment. 67
 Info javadoc JavadocVariable Missing a Javadoc comment. 69
 Info javadoc JavadocVariable Missing a Javadoc comment. 71
 Error whitespace ParenPad '(' is not followed by whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 76
 Warning javadoc JavadocMethod Missing a Javadoc comment. 85
 Error coding MagicNumber '22' is a magic number. 97
 Warning javadoc JavadocMethod Missing a Javadoc comment. 102
 Error coding MagicNumber '22' is a magic number. 113
 Warning javadoc JavadocMethod Missing a Javadoc comment. 118
 Error coding MagicNumber '22' is a magic number. 129
 Warning javadoc JavadocMethod Missing a Javadoc comment. 134
 Error coding MagicNumber '22' is a magic number. 146
 Warning javadoc JavadocMethod Missing a Javadoc comment. 151
 Warning javadoc JavadocMethod Missing a Javadoc comment. 160
 Warning javadoc JavadocMethod Missing a Javadoc comment. 168
 Warning javadoc JavadocMethod Missing a Javadoc comment. 176
 Warning javadoc JavadocMethod Missing a Javadoc comment. 185
 Error coding MagicNumber '45' is a magic number. 197
 Warning javadoc JavadocMethod Missing a Javadoc comment. 202
 Error coding MagicNumber '45' is a magic number. 213
 Warning javadoc JavadocMethod Missing a Javadoc comment. 218
 Error coding MagicNumber '45' is a magic number. 229
 Warning javadoc JavadocMethod Missing a Javadoc comment. 234
 Error coding MagicNumber '45' is a magic number. 246
 Warning javadoc JavadocMethod Missing a Javadoc comment. 251
 Warning javadoc JavadocMethod Missing a Javadoc comment. 260
 Warning javadoc JavadocMethod Missing a Javadoc comment. 268
 Warning javadoc JavadocMethod Missing a Javadoc comment. 276
 Warning javadoc JavadocMethod Missing a Javadoc comment. 285
 Warning javadoc JavadocMethod Missing a Javadoc comment. 294
 Warning javadoc JavadocMethod Missing a Javadoc comment. 302
 Warning javadoc JavadocMethod Missing a Javadoc comment. 310

org/apache/archiva/policies/ReleasesPolicy.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 30
 Error whitespace ParenPad ')' is not preceded with whitespace. 30
 Warning javadoc JavadocMethod Expected an @return tag. 38

org/apache/archiva/policies/SnapshotsPolicy.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 30
 Error whitespace ParenPad ')' is not preceded with whitespace. 30
 Warning javadoc JavadocMethod Expected an @return tag. 38

org/apache/archiva/policies/SnapshotsPolicyTest.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 126). 45
 Error sizes LineLength Line is longer than 120 characters (found 142). 49
 Error sizes LineLength Line is longer than 120 characters (found 123). 51
 Info javadoc JavadocVariable Missing a Javadoc comment. 57
 Error whitespace ParenPad ')' is not preceded with whitespace. 57
 Info javadoc JavadocVariable Missing a Javadoc comment. 59
 Info javadoc JavadocVariable Missing a Javadoc comment. 61
 Info javadoc JavadocVariable Missing a Javadoc comment. 63
 Info javadoc JavadocVariable Missing a Javadoc comment. 65
 Info javadoc JavadocVariable Missing a Javadoc comment. 67
 Info javadoc JavadocVariable Missing a Javadoc comment. 69
 Info javadoc JavadocVariable Missing a Javadoc comment. 71
 Error whitespace ParenPad '(' is not followed by whitespace. 76
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 76
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 76
 Error whitespace ParenPad ')' is not preceded with whitespace. 76
 Warning javadoc JavadocMethod Missing a Javadoc comment. 85
 Error coding MagicNumber '22' is a magic number. 97
 Warning javadoc JavadocMethod Missing a Javadoc comment. 102
 Error coding MagicNumber '22' is a magic number. 113
 Warning javadoc JavadocMethod Missing a Javadoc comment. 118
 Error coding MagicNumber '22' is a magic number. 129
 Warning javadoc JavadocMethod Missing a Javadoc comment. 134
 Error coding MagicNumber '22' is a magic number. 146
 Warning javadoc JavadocMethod Missing a Javadoc comment. 151
 Warning javadoc JavadocMethod Missing a Javadoc comment. 160
 Warning javadoc JavadocMethod Missing a Javadoc comment. 168
 Warning javadoc JavadocMethod Missing a Javadoc comment. 176
 Warning javadoc JavadocMethod Missing a Javadoc comment. 185
 Error coding MagicNumber '45' is a magic number. 197
 Warning javadoc JavadocMethod Missing a Javadoc comment. 202
 Error coding MagicNumber '45' is a magic number. 213
 Warning javadoc JavadocMethod Missing a Javadoc comment. 218
 Error coding MagicNumber '45' is a magic number. 229
 Warning javadoc JavadocMethod Missing a Javadoc comment. 234
 Error coding MagicNumber '45' is a magic number. 246
 Warning javadoc JavadocMethod Missing a Javadoc comment. 251
 Warning javadoc JavadocMethod Missing a Javadoc comment. 260
 Warning javadoc JavadocMethod Missing a Javadoc comment. 268
 Warning javadoc JavadocMethod Missing a Javadoc comment. 276
 Warning javadoc JavadocMethod Missing a Javadoc comment. 285
 Warning javadoc JavadocMethod Missing a Javadoc comment. 294
 Warning javadoc JavadocMethod Missing a Javadoc comment. 302
 Warning javadoc JavadocMethod Missing a Javadoc comment. 310
 Warning coding HiddenField 'policy' hides a field. 322

org/apache/archiva/policies/urlcache/DefaultUrlFailureCache.java

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