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

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
25 8 80 143

Files

File  I  W  E
org/apache/archiva/configuration/ArchivaConfiguration.java 0 1 0
org/apache/archiva/configuration/ArchivaConfigurationMRM789Test.java 1 3 4
org/apache/archiva/configuration/ArchivaConfigurationTest.java 1 23 9
org/apache/archiva/configuration/ConfigurationEvent.java 2 2 0
org/apache/archiva/configuration/ConfigurationListener.java 0 1 0
org/apache/archiva/configuration/ConfigurationNames.java 0 5 0
org/apache/archiva/configuration/ConfigurationRuntimeException.java 0 1 0
org/apache/archiva/configuration/ConfigurationTest.java 0 6 3
org/apache/archiva/configuration/DefaultArchivaConfiguration.java 0 12 110
org/apache/archiva/configuration/FileTypes.java 4 4 4
org/apache/archiva/configuration/FileTypesTest.java 0 2 2
org/apache/archiva/configuration/IndeterminateConfigurationException.java 0 1 0
org/apache/archiva/configuration/InvalidConfigurationException.java 0 3 0
org/apache/archiva/configuration/LegacyArtifactPathTest.java 0 2 1
org/apache/archiva/configuration/MavenProxyPropertyLoader.java 0 2 0
org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java 0 3 6
org/apache/archiva/configuration/functors/FiletypeSelectionPredicate.java 0 1 0
org/apache/archiva/configuration/functors/FiletypeToMapClosure.java 0 1 0
org/apache/archiva/configuration/functors/NetworkProxySelectionPredicate.java 0 1 0
org/apache/archiva/configuration/functors/ProxyConnectorConfigurationOrderComparator.java 0 1 1
org/apache/archiva/configuration/functors/ProxyConnectorConfigurationOrderComparatorTest.java 0 3 1
org/apache/archiva/configuration/functors/ProxyConnectorSelectionPredicate.java 0 1 1
org/apache/archiva/configuration/functors/RepositoryConfigurationComparatorTest.java 0 1 1

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
12  Error
RightCurly
  • option: "alone"
2  Error
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
5  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
imports AvoidStarImport 9  Error
UnusedImports 1  Error
javadoc JavadocMethod
  • scope: "protected"
75  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1  Error
JavadocVariable
  • scope: "protected"
8  Info
naming StaticVariableName 1  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
9  Error
MethodLength 1  Error
whitespace OperatorWrap 1  Error
ParenPad
  • option: "space"
92  Error
WhitespaceAfter 2  Error
WhitespaceAround 10  Error

Details

org/apache/archiva/configuration/ArchivaConfiguration.java

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

org/apache/archiva/configuration/ArchivaConfigurationMRM789Test.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 30
 Info javadoc JavadocVariable Missing a Javadoc comment. 44
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Error sizes LineLength Line is longer than 120 characters (found 140). 77
 Error whitespace ParenPad '(' is not followed by whitespace. 80
 Error whitespace ParenPad ')' is not preceded with whitespace. 80

org/apache/archiva/configuration/ArchivaConfigurationTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.easymock.EasyMock.*. 42
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 43
 Error whitespace ParenPad '(' is not followed by whitespace. 48
 Error whitespace ParenPad ')' is not preceded with whitespace. 48
 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
 Info javadoc JavadocVariable Missing a Javadoc comment. 56
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 67
 Warning javadoc JavadocMethod Missing a Javadoc comment. 72
 Warning javadoc JavadocMethod Missing a Javadoc comment. 92
 Warning javadoc JavadocMethod Missing a Javadoc comment. 145
 Warning javadoc JavadocMethod Missing a Javadoc comment. 170
 Warning javadoc JavadocMethod Missing a Javadoc comment. 196
 Error whitespace WhitespaceAfter ';' is not followed by whitespace. 247
 Warning javadoc JavadocMethod Missing a Javadoc comment. 250
 Warning javadoc JavadocMethod Missing a Javadoc comment. 282
 Warning javadoc JavadocMethod Missing a Javadoc comment. 323
 Warning javadoc JavadocMethod Missing a Javadoc comment. 338
 Warning javadoc JavadocMethod Missing a Javadoc comment. 373
 Warning javadoc JavadocMethod Missing a Javadoc comment. 414
 Warning javadoc JavadocMethod Missing a Javadoc comment. 455
 Warning javadoc JavadocMethod Missing a Javadoc comment. 495
 Warning javadoc JavadocMethod Missing a Javadoc comment. 514
 Warning javadoc JavadocMethod Missing a Javadoc comment. 529
 Warning javadoc JavadocMethod Missing a Javadoc comment. 551
 Warning javadoc JavadocMethod Missing a Javadoc comment. 585
 Warning javadoc JavadocMethod Missing a Javadoc comment. 639
 Warning javadoc JavadocMethod Missing a Javadoc comment. 673
 Warning javadoc JavadocMethod Missing a Javadoc comment. 727
 Warning javadoc JavadocMethod Expected @throws tag for 'Exception'. 813

org/apache/archiva/configuration/ConfigurationEvent.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 29
 Info javadoc JavadocVariable Missing a Javadoc comment. 31
 Warning javadoc JavadocMethod Missing a Javadoc comment. 35
 Warning javadoc JavadocMethod Missing a Javadoc comment. 40

org/apache/archiva/configuration/ConfigurationListener.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'event'. 32

org/apache/archiva/configuration/ConfigurationNames.java

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

org/apache/archiva/configuration/ConfigurationRuntimeException.java

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

org/apache/archiva/configuration/ConfigurationTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 26
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Error coding MagicNumber '8080' is a magic number. 41
 Error coding MagicNumber '9090' is a magic number. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 64
 Warning javadoc JavadocMethod Missing a Javadoc comment. 94
 Warning javadoc JavadocMethod Missing a Javadoc comment. 125
 Warning javadoc JavadocMethod Missing a Javadoc comment. 133
 Warning javadoc JavadocMethod Missing a Javadoc comment. 143

org/apache/archiva/configuration/DefaultArchivaConfiguration.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 92
 Error whitespace ParenPad ')' is not preceded with whitespace. 92
 Error whitespace ParenPad '(' is not followed by whitespace. 102
 Error whitespace ParenPad ')' is not preceded with whitespace. 102
 Error whitespace ParenPad '(' is not followed by whitespace. 189
 Error whitespace ParenPad ')' is not preceded with whitespace. 189
 Error blocks LeftCurly '{' should be on a new line. 189
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 190
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 190
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 190
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 190
 Error whitespace OperatorWrap '||' should be on a new line. 190
 Error whitespace ParenPad '(' is not followed by whitespace. 191
 Error whitespace ParenPad '(' is not followed by whitespace. 191
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 191
 Error whitespace ParenPad ')' is not preceded with whitespace. 191
 Error whitespace ParenPad ')' is not preceded with whitespace. 191
 Error sizes MethodLength Method length is 183 lines (max allowed is 150). 194
 Error whitespace ParenPad '(' is not followed by whitespace. 194
 Error whitespace ParenPad ')' is not preceded with whitespace. 194
 Error sizes LineLength Line is longer than 120 characters (found 131). 263
 Error whitespace ParenPad '(' is not followed by whitespace. 390
 Error whitespace ParenPad ')' is not preceded with whitespace. 390
 Error blocks LeftCurly '{' should be on a new line. 390
 Error sizes LineLength Line is longer than 120 characters (found 121). 391
 Error whitespace ParenPad '(' is not followed by whitespace. 394
 Error whitespace ParenPad ')' is not preceded with whitespace. 394
 Error blocks LeftCurly '{' should be on a new line. 394
 Error whitespace ParenPad '(' is not followed by whitespace. 395
 Error whitespace ParenPad ')' is not preceded with whitespace. 395
 Error sizes LineLength Line is longer than 120 characters (found 142). 397
 Error whitespace ParenPad '(' is not followed by whitespace. 397
 Error whitespace ParenPad '(' is not followed by whitespace. 401
 Error whitespace ParenPad '(' is not followed by whitespace. 401
 Error whitespace ParenPad ')' is not preceded with whitespace. 401
 Error whitespace ParenPad ')' is not preceded with whitespace. 401
 Error blocks LeftCurly '{' should be on a new line. 401
 Error whitespace ParenPad '(' is not followed by whitespace. 402
 Error whitespace ParenPad '(' is not followed by whitespace. 402
 Error whitespace ParenPad ')' is not preceded with whitespace. 402
 Error whitespace ParenPad ')' is not preceded with whitespace. 402
 Error whitespace ParenPad '(' is not followed by whitespace. 404
 Error whitespace ParenPad ')' is not preceded with whitespace. 404
 Error whitespace ParenPad '(' is not followed by whitespace. 405
 Error whitespace ParenPad ')' is not preceded with whitespace. 405
 Error whitespace ParenPad '(' is not followed by whitespace. 408
 Error whitespace ParenPad ')' is not preceded with whitespace. 408
 Error blocks LeftCurly '{' should be on a new line. 408
 Error whitespace ParenPad '(' is not followed by whitespace. 410
 Error whitespace ParenPad '(' is not followed by whitespace. 410
 Error whitespace ParenPad ')' is not preceded with whitespace. 410
 Error whitespace ParenPad ')' is not preceded with whitespace. 410
 Error blocks LeftCurly '{' should be on a new line. 410
 Error whitespace ParenPad '(' is not followed by whitespace. 412
 Error whitespace ParenPad ')' is not preceded with whitespace. 412
 Error sizes LineLength Line is longer than 120 characters (found 135). 413
 Error whitespace ParenPad '(' is not followed by whitespace. 413
 Error whitespace ParenPad ')' is not preceded with whitespace. 414
 Error whitespace ParenPad '(' is not followed by whitespace. 415
 Error whitespace ParenPad ')' is not preceded with whitespace. 415
 Warning coding HiddenField 'registry' hides a field. 420
 Error whitespace ParenPad '(' is not followed by whitespace. 511
 Error whitespace ParenPad ')' is not preceded with whitespace. 511
 Error sizes LineLength Line is longer than 120 characters (found 125). 514
 Error whitespace ParenPad ')' is not preceded with whitespace. 514
 Error whitespace ParenPad '(' is not followed by whitespace. 521
 Error whitespace ParenPad ')' is not preceded with whitespace. 521
 Error whitespace ParenPad '(' is not followed by whitespace. 524
 Error whitespace ParenPad ')' is not preceded with whitespace. 524
 Warning coding HiddenField 'configuration' hides a field. 526
 Error sizes LineLength Line is longer than 120 characters (found 135). 573
 Error whitespace ParenPad '(' is not followed by whitespace. 612
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 612
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 612
 Error whitespace ParenPad ')' is not preceded with whitespace. 612
 Error blocks LeftCurly '{' should be on a new line. 612
 Error whitespace ParenPad '(' is not followed by whitespace. 613
 Error whitespace ParenPad ')' is not preceded with whitespace. 613
 Warning coding HiddenField 'configuration' hides a field. 627
 Warning javadoc JavadocMethod Missing a Javadoc comment. 786
 Error whitespace ParenPad '(' is not followed by whitespace. 872
 Error whitespace ParenPad '(' is not followed by whitespace. 872
 Error whitespace ParenPad ')' is not preceded with whitespace. 872
 Error whitespace ParenPad ')' is not preceded with whitespace. 872
 Error blocks LeftCurly '{' should be on a new line. 872
 Error whitespace ParenPad '(' is not followed by whitespace. 873
 Error whitespace ParenPad ')' is not preceded with whitespace. 873
 Error whitespace ParenPad '(' is not followed by whitespace. 874
 Error whitespace ParenPad ')' is not preceded with whitespace. 874
 Error whitespace ParenPad '(' is not followed by whitespace. 875
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 875
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 875
 Error whitespace ParenPad ')' is not preceded with whitespace. 875
 Error blocks LeftCurly '{' should be on a new line. 875
 Error whitespace ParenPad '(' is not followed by whitespace. 876
 Error whitespace ParenPad ')' is not preceded with whitespace. 876
 Error whitespace ParenPad '(' is not followed by whitespace. 878
 Error whitespace ParenPad ')' is not preceded with whitespace. 878
 Error blocks LeftCurly '{' should be on a new line. 879
 Error whitespace ParenPad '(' is not followed by whitespace. 880
 Error whitespace ParenPad ')' is not preceded with whitespace. 880
 Error blocks RightCurly '}' should be alone on a line. 881
 Error whitespace ParenPad '(' is not followed by whitespace. 881
 Error whitespace ParenPad ')' is not preceded with whitespace. 881
 Error blocks LeftCurly '{' should be on a new line. 881
 Error whitespace ParenPad '(' is not followed by whitespace. 882
 Error whitespace ParenPad ')' is not preceded with whitespace. 882
 Error blocks RightCurly '}' should be alone on a line. 883
 Error whitespace ParenPad '(' is not followed by whitespace. 883
 Error whitespace ParenPad ')' is not preceded with whitespace. 883
 Error blocks LeftCurly '{' should be on a new line. 883
 Error whitespace ParenPad '(' is not followed by whitespace. 884
 Error whitespace ParenPad ')' is not preceded with whitespace. 884
 Warning coding HiddenField 'registry' hides a field. 905
 Warning coding HiddenField 'registry' hides a field. 911
 Error sizes LineLength Line is longer than 120 characters (found 124). 951
 Warning javadoc JavadocMethod Missing a Javadoc comment. 966
 Warning javadoc JavadocMethod Missing a Javadoc comment. 971
 Warning javadoc JavadocMethod Missing a Javadoc comment. 982
 Warning javadoc JavadocMethod Missing a Javadoc comment. 987
 Warning javadoc JavadocMethod Missing a Javadoc comment. 993
 Warning javadoc JavadocMethod Missing a Javadoc comment. 998

org/apache/archiva/configuration/FileTypes.java

Severity Category Rule Message Line
 Error whitespace ParenPad '(' is not followed by whitespace. 48
 Error whitespace ParenPad ')' is not preceded with whitespace. 48
 Info javadoc JavadocVariable Missing a Javadoc comment. 52
 Info javadoc JavadocVariable Missing a Javadoc comment. 54
 Info javadoc JavadocVariable Missing a Javadoc comment. 56
 Info javadoc JavadocVariable Missing a Javadoc comment. 58
 Error whitespace ParenPad '(' is not followed by whitespace. 61
 Error whitespace ParenPad ')' is not preceded with whitespace. 61
 Warning javadoc JavadocMethod Missing a Javadoc comment. 80
 Warning javadoc JavadocMethod Missing a Javadoc comment. 122
 Warning javadoc JavadocMethod Missing a Javadoc comment. 145
 Warning javadoc JavadocMethod Missing a Javadoc comment. 163

org/apache/archiva/configuration/FileTypesTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 24
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36
 Warning javadoc JavadocMethod Missing a Javadoc comment. 56

org/apache/archiva/configuration/IndeterminateConfigurationException.java

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

org/apache/archiva/configuration/InvalidConfigurationException.java

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

org/apache/archiva/configuration/LegacyArtifactPathTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 23
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50

org/apache/archiva/configuration/MavenProxyPropertyLoader.java

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

org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.FileInputStream. 23
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 29
 Warning javadoc JavadocMethod Missing a Javadoc comment. 41
 Error whitespace ParenPad '(' is not followed by whitespace. 52
 Error whitespace ParenPad ')' is not preceded with whitespace. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 83
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 83
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 83
 Warning javadoc JavadocMethod Missing a Javadoc comment. 92

org/apache/archiva/configuration/functors/FiletypeSelectionPredicate.java

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

org/apache/archiva/configuration/functors/FiletypeToMapClosure.java

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

org/apache/archiva/configuration/functors/NetworkProxySelectionPredicate.java

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

org/apache/archiva/configuration/functors/ProxyConnectorConfigurationOrderComparator.java

Severity Category Rule Message Line
 Error naming StaticVariableName Name 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
 Warning javadoc JavadocMethod Missing a Javadoc comment. 69

org/apache/archiva/configuration/functors/ProxyConnectorConfigurationOrderComparatorTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 28
 Warning javadoc JavadocMethod Missing a Javadoc comment. 40
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 70

org/apache/archiva/configuration/functors/ProxyConnectorSelectionPredicate.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Error sizes LineLength Line is longer than 120 characters (found 136). 53

org/apache/archiva/configuration/functors/RepositoryConfigurationComparatorTest.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.junit.Assert.*. 26
 Warning javadoc JavadocMethod Missing a Javadoc comment. 36