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

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
16 0 90 50

Rules

Category Rule Violations Severity
blocks RightCurly
  • option: "alone"
1  Error
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  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"
2  Error
RedundantThrows 17  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
1  Error
imports AvoidStarImport 1  Error
UnusedImports 6  Error
javadoc JavadocMethod
  • scope: "protected"
88  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
2  Error
modifier RedundantModifier 1  Error
naming MethodName 1  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
5  Error
whitespace ParenPad
  • option: "space"
10  Error
WhitespaceAfter 3  Error

Details

org/apache/archiva/repository/scanner/ArchivaAdministrationStub.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^\s*$'. 2
 Warning javadoc JavadocMethod Missing a Javadoc comment. 44
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50

org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.archiva.configuration.ArchivaConfiguration. 24
 Error imports UnusedImports Unused import - java.util.Collections. 36
 Error sizes LineLength Line is longer than 120 characters (found 134). 66
 Error blocks RightCurly '}' should be alone on a line. 74

org/apache/archiva/repository/scanner/InvalidScanConsumer.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.springframework.context.annotation.Scope. 28
 Error imports UnusedImports Unused import - org.springframework.stereotype.Service. 29
 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

org/apache/archiva/repository/scanner/KnownScanConsumer.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.springframework.context.annotation.Scope. 26
 Error imports UnusedImports Unused import - org.springframework.stereotype.Service. 27
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 119
 Warning javadoc JavadocMethod Missing a Javadoc comment. 124
 Warning javadoc JavadocMethod Missing a Javadoc comment. 135

org/apache/archiva/repository/scanner/RepositoryContentConsumers.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 53
 Error whitespace ParenPad ')' is not preceded with whitespace. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 70
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 78
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 96
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 114
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 126
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 145
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 165
 Warning javadoc JavadocMethod Missing a Javadoc comment. 186
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 210
 Warning javadoc JavadocMethod Expected @throws tag for 'RepositoryAdminException'. 270
 Warning coding HiddenField 'selectedKnownConsumers' hides a field. 272
 Error sizes LineLength Line is longer than 120 characters (found 141). 281
 Warning coding HiddenField 'selectedInvalidConsumers' hides a field. 297
 Warning javadoc JavadocMethod Missing a Javadoc comment. 336
 Warning javadoc JavadocMethod Missing a Javadoc comment. 341
 Warning javadoc JavadocMethod Missing a Javadoc comment. 346
 Warning javadoc JavadocMethod Missing a Javadoc comment. 351

org/apache/archiva/repository/scanner/RepositoryContentConsumersStub.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 26
 Warning javadoc JavadocMethod Missing a Javadoc comment. 29
 Error coding MagicNumber '12345678' is a magic number. 38

org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.easymock.EasyMock.*. 59
 Warning javadoc JavadocMethod Missing a Javadoc comment. 73
 Warning javadoc JavadocMethod Missing a Javadoc comment. 82
 Warning javadoc JavadocMethod Missing a Javadoc comment. 117
 Warning javadoc JavadocMethod Missing a Javadoc comment. 139
 Warning javadoc JavadocMethod Missing a Javadoc comment. 157
 Warning javadoc JavadocMethod Missing a Javadoc comment. 180
 Warning javadoc JavadocMethod Missing a Javadoc comment. 201
 Warning javadoc JavadocMethod Missing a Javadoc comment. 223
 Warning javadoc JavadocMethod Missing a Javadoc comment. 244
 Error coding MagicNumber '12345678' is a magic number. 282
 Error naming MethodName Name '_OS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 346
 Error javadoc JavadocType Missing a Javadoc comment. 365
 Warning javadoc JavadocMethod Missing a Javadoc comment. 372
 Error coding RedundantThrows Redundant throws: 'IllegalStateException' is unchecked exception. 387
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 448
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 455
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 470
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 489
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 496
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 503
 Error coding RedundantThrows Redundant throws: 'NoSuchBeanDefinitionException' is unchecked exception. 510
 Error coding RedundantThrows Redundant throws: 'NoSuchBeanDefinitionException' is unchecked exception. 517
 Error coding RedundantThrows Redundant throws: 'NoSuchBeanDefinitionException' is unchecked exception. 524
 Error coding RedundantThrows Redundant throws: 'NoSuchBeanDefinitionException' is unchecked exception. 531
 Error coding RedundantThrows Redundant throws: 'NoSuchMessageException' is unchecked exception. 556
 Error coding RedundantThrows Redundant throws: 'NoSuchMessageException' is unchecked exception. 563
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 595
 Error coding RedundantThrows Redundant throws: 'BeansException' is unchecked exception. 602
 Error coding RedundantThrows Redundant throws: 'NoSuchBeanDefinitionException' is unchecked exception. 639

org/apache/archiva/repository/scanner/RepositoryScanStatistics.java

Severity Category Rule Message Line
 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. 98
 Warning javadoc JavadocMethod Missing a Javadoc comment. 103
 Warning javadoc JavadocMethod Missing a Javadoc comment. 108
 Warning javadoc JavadocMethod Missing a Javadoc comment. 113
 Warning javadoc JavadocMethod Missing a Javadoc comment. 118
 Warning javadoc JavadocMethod Missing a Javadoc comment. 207
 Warning javadoc JavadocMethod Missing a Javadoc comment. 212
 Warning javadoc JavadocMethod Missing a Javadoc comment. 217
 Warning javadoc JavadocMethod Missing a Javadoc comment. 222
 Warning javadoc JavadocMethod Missing a Javadoc comment. 227
 Warning javadoc JavadocMethod Missing a Javadoc comment. 232
 Warning javadoc JavadocMethod Missing a Javadoc comment. 237
 Warning javadoc JavadocMethod Missing a Javadoc comment. 242

org/apache/archiva/repository/scanner/RepositoryScanner.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'static' modifier. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 96

org/apache/archiva/repository/scanner/RepositoryScannerException.java

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

org/apache/archiva/repository/scanner/RepositoryScannerInstance.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 76
 Warning javadoc JavadocMethod Missing a Javadoc comment. 109
 Warning javadoc JavadocMethod Missing a Javadoc comment. 121
 Warning javadoc JavadocMethod Missing a Javadoc comment. 126
 Warning javadoc JavadocMethod Missing a Javadoc comment. 131
 Error whitespace ParenPad '(' is not followed by whitespace. 154
 Error whitespace ParenPad ')' is not preceded with whitespace. 154
 Warning javadoc JavadocMethod Expected @param tag for 'message'. 195
 Warning javadoc JavadocMethod Missing a Javadoc comment. 200
 Warning javadoc JavadocMethod Missing a Javadoc comment. 205
 Warning javadoc JavadocMethod Missing a Javadoc comment. 210

org/apache/archiva/repository/scanner/RepositoryScannerTest.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 49
 Error whitespace ParenPad ')' is not preceded with whitespace. 49
 Error whitespace ParenPad '(' is not followed by whitespace. 50
 Error whitespace ParenPad ')' is not preceded with whitespace. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58
 Warning javadoc JavadocMethod Missing a Javadoc comment. 67
 Error sizes LineLength Line is longer than 120 characters (found 137). 101
 Error sizes LineLength Line is longer than 120 characters (found 121). 119
 Warning javadoc JavadocMethod Missing a Javadoc comment. 151
 Warning javadoc JavadocMethod Missing a Javadoc comment. 178
 Warning javadoc JavadocMethod Missing a Javadoc comment. 204
 Warning javadoc JavadocMethod Missing a Javadoc comment. 231
 Error sizes LineLength Line is longer than 120 characters (found 121). 256
 Warning javadoc JavadocMethod Missing a Javadoc comment. 259
 Warning javadoc JavadocMethod Missing a Javadoc comment. 317
 Warning javadoc JavadocMethod Missing a Javadoc comment. 354
 Warning javadoc JavadocMethod Missing a Javadoc comment. 391

org/apache/archiva/repository/scanner/SampleKnownConsumer.java

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

org/apache/archiva/repository/scanner/functors/ConsumerProcessFileClosure.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 43
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 45
 Error whitespace ParenPad '(' is not followed by whitespace. 58
 Error whitespace ParenPad ')' is not preceded with whitespace. 58
 Warning javadoc JavadocMethod Missing a Javadoc comment. 90
 Warning javadoc JavadocMethod Missing a Javadoc comment. 95
 Warning javadoc JavadocMethod Missing a Javadoc comment. 100
 Warning javadoc JavadocMethod Missing a Javadoc comment. 105
 Warning javadoc JavadocMethod Missing a Javadoc comment. 110
 Warning javadoc JavadocMethod Missing a Javadoc comment. 115
 Warning javadoc JavadocMethod Missing a Javadoc comment. 120
 Warning javadoc JavadocMethod Missing a Javadoc comment. 125

org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 77

org/apache/archiva/repository/scanner/functors/TriggerScanCompletedClosure.java

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