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

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
9 5 47 42

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3  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"
4  Error
design VisibilityModifier
  • protectedAllowed: "true"
  • packageAllowed: "true"
2  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
1  Error
javadoc JavadocMethod
  • scope: "protected"
44  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
3  Error
JavadocVariable
  • scope: "protected"
5  Info
naming ConstantName 4  Error
StaticVariableName 2  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
4  Error
whitespace OperatorWrap 2  Error
ParenPad
  • option: "space"
18  Error
WhitespaceAround 2  Error

Details

org/apache/archiva/rss/RssFeedEntry.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 56
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 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. 86
 Warning javadoc JavadocMethod Missing a Javadoc comment. 91
 Warning javadoc JavadocMethod Missing a Javadoc comment. 96
 Warning javadoc JavadocMethod Missing a Javadoc comment. 101
 Warning javadoc JavadocMethod Missing a Javadoc comment. 106
 Warning javadoc JavadocMethod Missing a Javadoc comment. 111
 Warning javadoc JavadocMethod Missing a Javadoc comment. 116
 Warning javadoc JavadocMethod Missing a Javadoc comment. 121
 Warning javadoc JavadocMethod Missing a Javadoc comment. 126
 Warning javadoc JavadocMethod Missing a Javadoc comment. 131
 Warning javadoc JavadocMethod Missing a Javadoc comment. 136
 Warning javadoc JavadocMethod Missing a Javadoc comment. 141
 Warning javadoc JavadocMethod Missing a Javadoc comment. 146
 Warning javadoc JavadocMethod Missing a Javadoc comment. 151
 Warning javadoc JavadocMethod Missing a Javadoc comment. 156

org/apache/archiva/rss/RssFeedGenerator.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 41
 Error whitespace ParenPad ')' is not preceded with whitespace. 41
 Error whitespace ParenPad '(' is not followed by whitespace. 42
 Error whitespace ParenPad ')' is not preceded with whitespace. 42
 Info javadoc JavadocVariable Missing a Javadoc comment. 48
 Error naming StaticVariableName Name 'DEFAULT_FEEDTYPE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
 Error design VisibilityModifier Variable 'DEFAULT_FEEDTYPE' must be private and have accessor methods. 48
 Info javadoc JavadocVariable Missing a Javadoc comment. 50
 Error naming StaticVariableName Name 'DEFAULT_LANGUAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 50
 Error design VisibilityModifier Variable 'DEFAULT_LANGUAGE' must be private and have accessor methods. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 54

org/apache/archiva/rss/RssFeedGeneratorTest.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 40
 Warning javadoc JavadocMethod Missing a Javadoc comment. 56
 Error whitespace ParenPad '(' is not followed by whitespace. 56
 Error whitespace ParenPad ')' is not preceded with whitespace. 56
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95
 Error sizes LineLength Line is longer than 120 characters (found 123). 128
 Error sizes LineLength Line is longer than 120 characters (found 154). 132
 Error sizes LineLength Line is longer than 120 characters (found 126). 155
 Error sizes LineLength Line is longer than 120 characters (found 154). 159

org/apache/archiva/rss/processor/AbstractArtifactsRssFeedProcessor.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 22
 Warning javadoc JavadocMethod Missing a Javadoc comment. 25
 Warning javadoc JavadocMethod Missing a Javadoc comment. 27

org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessor.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 47
 Error whitespace ParenPad ')' is not preceded with whitespace. 47
 Error coding MagicNumber '30' is a magic number. 51
 Error naming ConstantName Name 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 53
 Error naming ConstantName Name 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
 Warning javadoc JavadocMethod Expected an @return tag. 71
 Warning javadoc JavadocMethod Expected @param tag for 'reqParams'. 72
 Warning javadoc JavadocMethod Expected @param tag for 'metadataRepository'. 72
 Warning javadoc JavadocMethod Expected @throws tag for 'FeedException'. 73
 Error whitespace OperatorWrap '+' should be on a new line. 145
 Warning javadoc JavadocMethod Missing a Javadoc comment. 161
 Warning javadoc JavadocMethod Missing a Javadoc comment. 166
 Warning javadoc JavadocMethod Missing a Javadoc comment. 171
 Warning javadoc JavadocMethod Missing a Javadoc comment. 176

org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 43
 Error whitespace ParenPad '(' is not followed by whitespace. 43
 Error whitespace ParenPad ')' is not preceded with whitespace. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Error whitespace ParenPad '(' is not followed by whitespace. 66
 Error whitespace ParenPad ')' is not preceded with whitespace. 66
 Error coding MagicNumber '-30' is a magic number. 92
 Warning coding HiddenField 'repoId' hides a field. 134
 Warning coding HiddenField 'from' hides a field. 134
 Warning coding HiddenField 'to' hides a field. 134

org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessor.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 47
 Error whitespace ParenPad ')' is not preceded with whitespace. 47
 Error naming ConstantName Name 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 53
 Error naming ConstantName Name 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
 Warning javadoc JavadocMethod Expected an @return tag. 63
 Warning javadoc JavadocMethod Expected @param tag for 'reqParams'. 64
 Warning javadoc JavadocMethod Expected @param tag for 'metadataRepository'. 64
 Warning javadoc JavadocMethod Expected @throws tag for 'FeedException'. 65
 Error whitespace OperatorWrap '+' should be on a new line. 127
 Warning javadoc JavadocMethod Missing a Javadoc comment. 164
 Warning javadoc JavadocMethod Missing a Javadoc comment. 169

org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 44
 Error whitespace ParenPad '(' is not followed by whitespace. 44
 Error whitespace ParenPad ')' is not preceded with whitespace. 44
 Warning javadoc JavadocMethod Missing a Javadoc comment. 74
 Error whitespace ParenPad '(' is not followed by whitespace. 74
 Error whitespace ParenPad ')' is not preceded with whitespace. 74
 Error coding MagicNumber '123456789' is a magic number. 79
 Error coding MagicNumber '345678912' is a magic number. 84

org/apache/archiva/rss/processor/RssFeedProcessor.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 33
 Info javadoc JavadocVariable Missing a Javadoc comment. 35
 Info javadoc JavadocVariable Missing a Javadoc comment. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 39