Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 8.42 with config/maven_checks.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
29 8 1 86

Files

File
 I
 W
 E
org/codehaus/mojo/wagon/AbstractDoubleWagonMojo.java 0 0 5
org/codehaus/mojo/wagon/AbstractSingleWagonMojo.java 0 0 2
org/codehaus/mojo/wagon/AbstractWagonListMojo.java 1 0 4
org/codehaus/mojo/wagon/AbstractWagonMojo.java 1 0 1
org/codehaus/mojo/wagon/CopyMojo.java 0 0 6
org/codehaus/mojo/wagon/DownloadMojo.java 0 0 2
org/codehaus/mojo/wagon/DownloadSingleMojo.java 0 0 7
org/codehaus/mojo/wagon/ExistMojo.java 1 0 1
org/codehaus/mojo/wagon/ListMojo.java 0 0 2
org/codehaus/mojo/wagon/MergeMavenRepoMojo.java 0 0 1
org/codehaus/mojo/wagon/SshExecMojo.java 0 0 9
org/codehaus/mojo/wagon/UpdateMaven3Mojo.java 0 0 7
org/codehaus/mojo/wagon/UploadMojo.java 1 0 7
org/codehaus/mojo/wagon/UploadSingleMojo.java 0 0 2
org/codehaus/mojo/wagon/shared/DefaultMavenRepoMerger.java 0 0 7
org/codehaus/mojo/wagon/shared/DefaultWagonCopy.java 0 0 2
org/codehaus/mojo/wagon/shared/DefaultWagonDownload.java 0 0 2
org/codehaus/mojo/wagon/shared/DefaultWagonFactory.java 0 0 10
org/codehaus/mojo/wagon/shared/DefaultWagonUpload.java 0 0 4
org/codehaus/mojo/wagon/shared/MavenRepoMerger.java 4 0 0
org/codehaus/mojo/wagon/shared/SelectorUtils.java 0 0 1
org/codehaus/mojo/wagon/shared/WagonDirectoryScanner.java 0 1 1
org/codehaus/mojo/wagon/shared/WagonFactory.java 0 0 1
org/codehaus/mojo/wagon/shared/WagonFileSet.java 0 0 1
org/codehaus/mojo/wagon/shared/WagonUtils.java 0 0 1

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
3
 Error
RightCurly
  • option: "alone"
5
 Error
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"
3
 Error
SimplifyBooleanReturn 1
 Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
5
 Error
javadoc JavadocVariable
  • scope: "protected"
8
 Info
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
2
 Error
whitespace ParenPad
  • option: "space"
67
 Error

Details

org/codehaus/mojo/wagon/AbstractDoubleWagonMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 34
 Error
whitespace ParenPad ')' is not preceded with whitespace. 40
 Error
whitespace ParenPad ')' is not preceded with whitespace. 47
 Error
whitespace ParenPad ')' is not preceded with whitespace. 54
 Error
whitespace ParenPad ')' is not preceded with whitespace. 61

org/codehaus/mojo/wagon/AbstractSingleWagonMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 46
 Error
blocks RightCurly '}' at column 9 should be alone on a line. 68

org/codehaus/mojo/wagon/AbstractWagonListMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 37
 Error
whitespace ParenPad ')' is not preceded with whitespace. 43
 Error
whitespace ParenPad ')' is not preceded with whitespace. 49
 Error
whitespace ParenPad ')' is not preceded with whitespace. 55
 Info
javadoc JavadocVariable Missing a Javadoc comment. 58

org/codehaus/mojo/wagon/AbstractWagonMojo.java

Severity Category Rule Message Line
 Error
header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Info
javadoc JavadocVariable Missing a Javadoc comment. 21

org/codehaus/mojo/wagon/CopyMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 35
 Error
whitespace ParenPad ')' is not preceded with whitespace. 42
 Error
whitespace ParenPad ')' is not preceded with whitespace. 48
 Error
whitespace ParenPad ')' is not preceded with whitespace. 54
 Error
whitespace ParenPad ')' is not preceded with whitespace. 60
 Error
whitespace ParenPad ')' is not preceded with whitespace. 66

org/codehaus/mojo/wagon/DownloadMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 33
 Error
whitespace ParenPad ')' is not preceded with whitespace. 41

org/codehaus/mojo/wagon/DownloadSingleMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 34
 Error
whitespace ParenPad ')' is not preceded with whitespace. 41
 Error
whitespace ParenPad ')' is not preceded with whitespace. 47
 Error
whitespace ParenPad ')' is not preceded with whitespace. 54
 Error
whitespace ParenPad ')' is not preceded with whitespace. 60
 Error
whitespace ParenPad '(' is not followed by whitespace. 86
 Error
blocks LeftCurly '{' at column 53 should be on a new line. 99

org/codehaus/mojo/wagon/ExistMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 39
 Info
javadoc JavadocVariable Missing a Javadoc comment. 42

org/codehaus/mojo/wagon/ListMojo.java

Severity Category Rule Message Line
 Error
header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error
whitespace ParenPad ')' is not preceded with whitespace. 12

org/codehaus/mojo/wagon/MergeMavenRepoMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 33

org/codehaus/mojo/wagon/SshExecMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 34
 Error
whitespace ParenPad '(' is not followed by whitespace. 42
 Error
whitespace ParenPad ')' is not preceded with whitespace. 42
 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. 54
 Error
whitespace ParenPad ')' is not preceded with whitespace. 54
 Error
blocks RightCurly '}' at column 21 should be alone on a line. 71
 Error
blocks RightCurly '}' at column 17 should be alone on a line. 81

org/codehaus/mojo/wagon/UpdateMaven3Mojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 39
 Error
whitespace ParenPad ')' is not preceded with whitespace. 50
 Error
whitespace ParenPad ')' is not preceded with whitespace. 53
 Error
whitespace ParenPad ')' is not preceded with whitespace. 59
 Error
whitespace ParenPad ')' is not preceded with whitespace. 65
 Error
whitespace ParenPad ')' is not preceded with whitespace. 71
 Error
sizes LineLength Line is longer than 120 characters (found 122). 78

org/codehaus/mojo/wagon/UploadMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 45
 Error
whitespace ParenPad ')' is not preceded with whitespace. 51
 Error
whitespace ParenPad ')' is not preceded with whitespace. 57
 Error
whitespace ParenPad ')' is not preceded with whitespace. 63
 Error
whitespace ParenPad ')' is not preceded with whitespace. 69
 Error
whitespace ParenPad ')' is not preceded with whitespace. 75
 Error
whitespace ParenPad ')' is not preceded with whitespace. 82
 Info
javadoc JavadocVariable Missing a Javadoc comment. 85

org/codehaus/mojo/wagon/UploadSingleMojo.java

Severity Category Rule Message Line
 Error
whitespace ParenPad ')' is not preceded with whitespace. 40
 Error
whitespace ParenPad ')' is not preceded with whitespace. 46

org/codehaus/mojo/wagon/shared/DefaultMavenRepoMerger.java

Severity Category Rule Message Line
 Error
whitespace ParenPad '(' is not followed by whitespace. 51
 Error
whitespace ParenPad ')' is not preceded with whitespace. 51
 Error
blocks RightCurly '}' at column 17 should be alone on a line. 94
 Error
blocks RightCurly '}' at column 17 should be alone on a line. 104
 Error
coding MagicNumber '8192' is a magic number. 193
 Error
coding MagicNumber '20' is a magic number. 209
 Error
coding MagicNumber '0xff' is a magic number. 219

org/codehaus/mojo/wagon/shared/DefaultWagonCopy.java

Severity Category Rule Message Line
 Error
whitespace ParenPad '(' is not followed by whitespace. 36
 Error
whitespace ParenPad ')' is not preceded with whitespace. 36

org/codehaus/mojo/wagon/shared/DefaultWagonDownload.java

Severity Category Rule Message Line
 Error
whitespace ParenPad '(' is not followed by whitespace. 31
 Error
whitespace ParenPad ')' is not preceded with whitespace. 31

org/codehaus/mojo/wagon/shared/DefaultWagonFactory.java

Severity Category Rule Message Line
 Error
header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error
whitespace ParenPad '(' is not followed by whitespace. 38
 Error
whitespace ParenPad ')' is not preceded with whitespace. 38
 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. 51
 Error
whitespace ParenPad ')' is not preceded with whitespace. 51
 Error
whitespace ParenPad ')' is not preceded with whitespace. 211
 Error
whitespace ParenPad ')' is not preceded with whitespace. 220
 Error
blocks LeftCurly '{' at column 85 should be on a new line. 227

org/codehaus/mojo/wagon/shared/DefaultWagonUpload.java

Severity Category Rule Message Line
 Error
whitespace ParenPad '(' is not followed by whitespace. 40
 Error
whitespace ParenPad ')' is not preceded with whitespace. 40
 Error
whitespace ParenPad '(' is not followed by whitespace. 55
 Error
whitespace ParenPad ')' is not preceded with whitespace. 55

org/codehaus/mojo/wagon/shared/MavenRepoMerger.java

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

org/codehaus/mojo/wagon/shared/SelectorUtils.java

Severity Category Rule Message Line
 Error
coding SimplifyBooleanReturn Conditional logic can be removed. 97

org/codehaus/mojo/wagon/shared/WagonDirectoryScanner.java

Severity Category Rule Message Line
 Error
blocks LeftCurly '{' at column 61 should be on a new line. 362
 Warning
coding HiddenField 'isCaseSensitive' hides a field. 395

org/codehaus/mojo/wagon/shared/WagonFactory.java

Severity Category Rule Message Line
 Error
header RegexpHeader Missing a header - not enough lines in file. 1

org/codehaus/mojo/wagon/shared/WagonFileSet.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 155). 130

org/codehaus/mojo/wagon/shared/WagonUtils.java

Severity Category Rule Message Line
 Error
header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3