Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
955437

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
1Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
4Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
51Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
3Errors Error
JavadocVariable
  • scope: "protected"
5Infos Info
ConstantName4Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName2Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
MethodLength0Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap2Errors Error
ParenPad
  • option: "space"
10Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround2Errors Error
ModifierOrder0Errors Error
RedundantModifier3Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3Warnings Warning
IllegalInstantiation0Errors Error
InnerAssignment0Errors Error
MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64, 100, 128, 256, 512, 1000, 1024"
4Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
2Errors Error
UpperEll0Errors Error

Details

org/apache/archiva/rss/RssFeedEntry.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^/\*\s*$'.3
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.56
WarningsMissing a Javadoc comment.61
WarningsMissing a Javadoc comment.66
WarningsMissing a Javadoc comment.71
WarningsMissing a Javadoc comment.76
WarningsMissing a Javadoc comment.81
WarningsMissing a Javadoc comment.86
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.96
WarningsMissing a Javadoc comment.101
WarningsMissing a Javadoc comment.106
WarningsMissing a Javadoc comment.111
WarningsMissing a Javadoc comment.116
WarningsMissing a Javadoc comment.121
WarningsMissing a Javadoc comment.126
WarningsMissing a Javadoc comment.131
WarningsMissing a Javadoc comment.136
WarningsMissing a Javadoc comment.141
WarningsMissing a Javadoc comment.146
WarningsMissing a Javadoc comment.151
WarningsMissing a Javadoc comment.156

org/apache/archiva/rss/RssFeedGenerator.java

ViolationMessageLine
Errors'(' is not followed by whitespace.41
Errors')' is not preceded with whitespace.41
Errors'(' is not followed by whitespace.42
Errors')' is not preceded with whitespace.42
InfosMissing a Javadoc comment.48
ErrorsName 'DEFAULT_FEEDTYPE' must match pattern '^[a-z][a-zA-Z0-9]*$'.48
ErrorsVariable 'DEFAULT_FEEDTYPE' must be private and have accessor methods.48
InfosMissing a Javadoc comment.50
ErrorsName 'DEFAULT_LANGUAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'.50
ErrorsVariable 'DEFAULT_LANGUAGE' must be private and have accessor methods.50
WarningsMissing a Javadoc comment.52
Errors'if' is not followed by whitespace.54

org/apache/archiva/rss/RssFeedGeneratorTest.java

ViolationMessageLine
Errors'}' is not preceded with whitespace.40
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.55
Errors'(' is not followed by whitespace.55
Errors')' is not preceded with whitespace.55
WarningsMissing a Javadoc comment.94
ErrorsLine is longer than 120 characters.127
ErrorsLine is longer than 120 characters.131
ErrorsLine is longer than 120 characters.154
ErrorsLine is longer than 120 characters.158

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

ViolationMessageLine
ErrorsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.25
WarningsMissing a Javadoc comment.27

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

ViolationMessageLine
Errors'(' is not followed by whitespace.47
Errors')' is not preceded with whitespace.47
Errors'30' is a magic number.51
ErrorsName 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.53
ErrorsName 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.55
WarningsExpected an @return tag.71
WarningsExpected @param tag for 'reqParams'.71
WarningsExpected @param tag for 'metadataRepository'.71
WarningsExpected @throws tag for 'FeedException'.72
Errors'+' should be on a new line.144
WarningsMissing a Javadoc comment.148
WarningsMissing a Javadoc comment.153
WarningsMissing a Javadoc comment.158
WarningsMissing a Javadoc comment.163
WarningsMissing a Javadoc comment.168
WarningsMissing a Javadoc comment.173

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

ViolationMessageLine
ErrorsMissing a Javadoc comment.48
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.70
Errors'-30' is a magic number.96
Warnings'repoId' hides a field.137
Warnings'from' hides a field.137
Warnings'to' hides a field.137

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

ViolationMessageLine
Errors'(' is not followed by whitespace.47
Errors')' is not preceded with whitespace.47
ErrorsName 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.53
ErrorsName 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.55
WarningsExpected an @return tag.66
WarningsExpected @param tag for 'reqParams'.66
WarningsExpected @param tag for 'metadataRepository'.66
WarningsExpected @throws tag for 'FeedException'.67
Errors'+' should be on a new line.129
WarningsMissing a Javadoc comment.154
WarningsMissing a Javadoc comment.159
WarningsMissing a Javadoc comment.164
WarningsMissing a Javadoc comment.169

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

ViolationMessageLine
ErrorsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.57
WarningsMissing a Javadoc comment.70
Errors'123456789' is a magic number.75
Errors'345678912' is a magic number.80

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

ViolationMessageLine
InfosMissing a Javadoc comment.33
ErrorsRedundant 'public' modifier.33
InfosMissing a Javadoc comment.35
ErrorsRedundant 'public' modifier.35
InfosMissing a Javadoc comment.37
ErrorsRedundant 'public' modifier.37
WarningsMissing a Javadoc comment.39