Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.2 with config/maven_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
24 1 20 300

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
23  Error
NeedBraces 2  Error
RightCurly
  • option: "alone"
5  Error
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
6  Warning
MissingSwitchDefault 1  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
1  Error
imports AvoidStarImport 2  Error
UnusedImports 1  Error
javadoc JavadocMethod
  • scope: "protected"
14  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1  Error
JavadocVariable
  • scope: "protected"
1  Info
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
18  Error
whitespace FileTabCharacter
  • eachLine: "true"
89  Error
ParenPad
  • option: "space"
141  Error
WhitespaceAround 16  Error

Details

org/codehaus/mojo/rpm/AbstractRPMMojo.java

Severity Category Rule Message Line
 Error whitespace ParenPad ')' is not preceded with whitespace. 101
 Info javadoc JavadocVariable Missing a Javadoc comment. 524
 Error whitespace ParenPad '(' is not followed by whitespace. 623
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 623
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 623
 Error whitespace ParenPad ')' is not preceded with whitespace. 623
 Error whitespace ParenPad '(' is not followed by whitespace. 656
 Error whitespace ParenPad ')' is not preceded with whitespace. 656
 Error whitespace ParenPad '(' is not followed by whitespace. 666
 Error whitespace ParenPad ')' is not preceded with whitespace. 666
 Error whitespace ParenPad '(' is not followed by whitespace. 721
 Error whitespace ParenPad ')' is not preceded with whitespace. 721
 Error whitespace ParenPad '(' is not followed by whitespace. 744
 Error whitespace ParenPad ')' is not preceded with whitespace. 744
 Error blocks LeftCurly '{' should be on a new line. 778
 Error whitespace FileTabCharacter Line contains a tab character. 779
 Error blocks LeftCurly '{' should be on a new line. 786
 Error whitespace ParenPad '(' is not followed by whitespace. 787
 Error whitespace ParenPad ')' is not preceded with whitespace. 787
 Error blocks LeftCurly '{' should be on a new line. 787
 Error blocks LeftCurly '{' should be on a new line. 797
 Error whitespace ParenPad '(' is not followed by whitespace. 798
 Error whitespace ParenPad ')' is not preceded with whitespace. 798
 Error blocks LeftCurly '{' should be on a new line. 801
 Error whitespace FileTabCharacter Line contains a tab character. 802
 Error blocks LeftCurly '{' should be on a new line. 802
 Error whitespace FileTabCharacter Line contains a tab character. 803
 Error whitespace FileTabCharacter Line contains a tab character. 804
 Error whitespace FileTabCharacter Line contains a tab character. 805
 Error whitespace FileTabCharacter Line contains a tab character. 806
 Error blocks LeftCurly '{' should be on a new line. 806
 Error whitespace FileTabCharacter Line contains a tab character. 807
 Error whitespace FileTabCharacter Line contains a tab character. 808
 Warning coding HiddenField 'helper' hides a field. 933
 Error whitespace FileTabCharacter Line contains a tab character. 939
 Error blocks LeftCurly '{' should be on a new line. 939
 Error whitespace FileTabCharacter Line contains a tab character. 940
 Warning coding HiddenField 'projversion' hides a field. 940
 Error whitespace FileTabCharacter Line contains a tab character. 941
 Error whitespace FileTabCharacter Line contains a tab character. 942
 Error whitespace FileTabCharacter Line contains a tab character. 943
 Error whitespace FileTabCharacter Line contains a tab character. 944
 Error whitespace FileTabCharacter Line contains a tab character. 945
 Error whitespace FileTabCharacter Line contains a tab character. 946
 Error blocks LeftCurly '{' should be on a new line. 946
 Error whitespace FileTabCharacter Line contains a tab character. 947
 Warning coding HiddenField 'release' hides a field. 947
 Error whitespace FileTabCharacter Line contains a tab character. 948
 Error whitespace FileTabCharacter Line contains a tab character. 949
 Error whitespace FileTabCharacter Line contains a tab character. 950
 Error whitespace FileTabCharacter Line contains a tab character. 951
 Error whitespace FileTabCharacter Line contains a tab character. 952
 Warning javadoc JavadocMethod Missing a Javadoc comment. 1214
 Warning javadoc JavadocMethod Expected an @return tag. 1548
 Error blocks LeftCurly '{' should be on a new line. 1645

org/codehaus/mojo/rpm/AttachedRPMMojo.java

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

org/codehaus/mojo/rpm/BaseTrigger.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 100

org/codehaus/mojo/rpm/Dependency.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'stripVersion'. 120
 Error whitespace ParenPad '(' is not followed by whitespace. 166
 Error whitespace ParenPad ')' is not preceded with whitespace. 166
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 168
 Error whitespace ParenPad '(' is not followed by whitespace. 168
 Error whitespace ParenPad ')' is not preceded with whitespace. 168
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 179
 Error whitespace ParenPad '(' is not followed by whitespace. 179
 Error whitespace ParenPad ')' is not preceded with whitespace. 179
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 182
 Error whitespace ParenPad '(' is not followed by whitespace. 182
 Error whitespace ParenPad ')' is not preceded with whitespace. 182
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 187
 Error whitespace ParenPad '(' is not followed by whitespace. 187
 Error whitespace ParenPad ')' is not preceded with whitespace. 187

org/codehaus/mojo/rpm/FileHelper.java

Severity Category Rule Message Line
 Error whitespace ParenPad ')' is not preceded with whitespace. 141
 Error sizes LineLength Line is longer than 120 characters (found 140). 153
 Error whitespace ParenPad ')' is not preceded with whitespace. 153
 Error whitespace ParenPad '(' is not followed by whitespace. 181
 Error whitespace ParenPad ')' is not preceded with whitespace. 181
 Error blocks LeftCurly '{' should be on a new line. 181
 Error blocks LeftCurly '{' should be on a new line. 182
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 184
 Error whitespace ParenPad '(' is not followed by whitespace. 184
 Error whitespace ParenPad '(' is not followed by whitespace. 184
 Error whitespace ParenPad ')' is not preceded with whitespace. 184
 Error whitespace ParenPad ')' is not preceded with whitespace. 184
 Error blocks LeftCurly '{' should be on a new line. 184
 Error whitespace ParenPad '(' is not followed by whitespace. 185
 Error whitespace ParenPad ')' is not preceded with whitespace. 185
 Error whitespace ParenPad '(' is not followed by whitespace. 186
 Error whitespace ParenPad ')' is not preceded with whitespace. 186
 Error whitespace ParenPad '(' is not followed by whitespace. 188
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 188
 Error whitespace ParenPad ')' is not preceded with whitespace. 188
 Error whitespace ParenPad '(' is not followed by whitespace. 189
 Error whitespace ParenPad ')' is not preceded with whitespace. 189
 Error blocks RightCurly '}' should be alone on a line. 190
 Error whitespace ParenPad '(' is not followed by whitespace. 190
 Error whitespace ParenPad ')' is not preceded with whitespace. 190
 Error blocks LeftCurly '{' should be on a new line. 190
 Error sizes LineLength Line is longer than 120 characters (found 128). 191
 Error whitespace ParenPad '(' is not followed by whitespace. 191
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 191
 Error whitespace ParenPad ')' is not preceded with whitespace. 191
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 320
 Error whitespace ParenPad '(' is not followed by whitespace. 320
 Error whitespace ParenPad ')' is not preceded with whitespace. 320
 Error blocks LeftCurly '{' should be on a new line. 320
 Error whitespace ParenPad '(' is not followed by whitespace. 321
 Error whitespace ParenPad '(' is not followed by whitespace. 321
 Error whitespace ParenPad ')' is not preceded with whitespace. 321
 Error whitespace ParenPad ')' is not preceded with whitespace. 321
 Error blocks RightCurly '}' should be alone on a line. 322
 Error blocks LeftCurly '{' should be on a new line. 322
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 579
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 584
 Error whitespace ParenPad ')' is not preceded with whitespace. 584
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 587
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 592
 Error whitespace ParenPad ')' is not preceded with whitespace. 592

org/codehaus/mojo/rpm/LogStreamConsumer.java

Severity Category Rule Message Line
 Error coding MissingSwitchDefault switch without "default" clause. 90

org/codehaus/mojo/rpm/Mapping.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 122). 149
 Error sizes LineLength Line is longer than 120 characters (found 127). 154
 Error sizes LineLength Line is longer than 120 characters (found 127). 243
 Error blocks LeftCurly '{' should be on a new line. 248
 Error sizes LineLength Line is longer than 120 characters (found 122). 253
 Error whitespace ParenPad '(' is not followed by whitespace. 258
 Error whitespace ParenPad ')' is not preceded with whitespace. 258
 Error blocks LeftCurly '{' should be on a new line. 258
 Error sizes LineLength Line is longer than 120 characters (found 124). 395
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 398
 Error blocks LeftCurly '{' should be on a new line. 398
 Error sizes LineLength Line is longer than 120 characters (found 129). 413
 Warning coding HiddenField 'directory' hides a field. 413
 Error sizes LineLength Line is longer than 120 characters (found 121). 416
 Error whitespace ParenPad '(' is not followed by whitespace. 418
 Error whitespace ParenPad ')' is not preceded with whitespace. 418
 Error sizes LineLength Line is longer than 120 characters (found 127). 422
 Error whitespace ParenPad '(' is not followed by whitespace. 429
 Error whitespace ParenPad ')' is not preceded with whitespace. 429
 Error blocks LeftCurly '{' should be on a new line. 429
 Error whitespace ParenPad '(' is not followed by whitespace. 430
 Error whitespace ParenPad ')' is not preceded with whitespace. 430
 Error whitespace ParenPad '(' is not followed by whitespace. 433
 Warning coding HiddenField 'directory' hides a field. 433
 Error whitespace ParenPad ')' is not preceded with whitespace. 433
 Error blocks LeftCurly '{' should be on a new line. 433
 Warning coding HiddenField 'copiedFileNamesRelativeToDestination' hides a field. 598

org/codehaus/mojo/rpm/RPMHelper.java

Severity Category Rule Message Line
 Error whitespace ParenPad ')' is not preceded with whitespace. 167
 Error whitespace FileTabCharacter Line contains a tab character. 169
 Error whitespace ParenPad '(' is not followed by whitespace. 169
 Error whitespace FileTabCharacter Line contains a tab character. 170
 Error whitespace ParenPad ')' is not preceded with whitespace. 170
 Error blocks NeedBraces 'if' construct must use '{}'s. 239
 Error blocks NeedBraces 'if' construct must use '{}'s. 242

org/codehaus/mojo/rpm/RPMMojo.java

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

org/codehaus/mojo/rpm/RPMSigner.java

Severity Category Rule Message Line
 Error whitespace FileTabCharacter Line contains a tab character. 94
 Error whitespace ParenPad '(' is not followed by whitespace. 94
 Error whitespace ParenPad ')' is not preceded with whitespace. 94
 Error whitespace FileTabCharacter Line contains a tab character. 95
 Error whitespace FileTabCharacter Line contains a tab character. 97
 Error whitespace FileTabCharacter Line contains a tab character. 98
 Error whitespace FileTabCharacter Line contains a tab character. 99
 Error whitespace ParenPad '(' is not followed by whitespace. 99
 Error whitespace ParenPad ')' is not preceded with whitespace. 99
 Error whitespace FileTabCharacter Line contains a tab character. 100
 Error whitespace ParenPad '(' is not followed by whitespace. 100
 Error whitespace ParenPad ')' is not preceded with whitespace. 100
 Error whitespace FileTabCharacter Line contains a tab character. 101
 Error whitespace ParenPad '(' is not followed by whitespace. 101
 Error whitespace ParenPad ')' is not preceded with whitespace. 101
 Error whitespace FileTabCharacter Line contains a tab character. 102
 Error whitespace FileTabCharacter Line contains a tab character. 103
 Error whitespace FileTabCharacter Line contains a tab character. 104
 Error whitespace ParenPad '(' is not followed by whitespace. 104
 Error whitespace ParenPad ')' is not preceded with whitespace. 104
 Error whitespace FileTabCharacter Line contains a tab character. 105
 Error whitespace ParenPad '(' is not followed by whitespace. 105
 Error whitespace ParenPad ')' is not preceded with whitespace. 105
 Error whitespace FileTabCharacter Line contains a tab character. 107
 Error whitespace ParenPad '(' is not followed by whitespace. 107
 Error whitespace ParenPad ')' is not preceded with whitespace. 107
 Error whitespace FileTabCharacter Line contains a tab character. 108
 Error whitespace ParenPad '(' is not followed by whitespace. 108
 Error whitespace ParenPad ')' is not preceded with whitespace. 108
 Error whitespace FileTabCharacter Line contains a tab character. 110
 Error whitespace FileTabCharacter Line contains a tab character. 111
 Error whitespace FileTabCharacter Line contains a tab character. 112
 Error whitespace ParenPad '(' is not followed by whitespace. 112
 Error whitespace ParenPad ')' is not preceded with whitespace. 112
 Error whitespace FileTabCharacter Line contains a tab character. 113
 Error whitespace FileTabCharacter Line contains a tab character. 114
 Error whitespace ParenPad '(' is not followed by whitespace. 114
 Error whitespace ParenPad ')' is not preceded with whitespace. 114
 Error whitespace FileTabCharacter Line contains a tab character. 115
 Error whitespace FileTabCharacter Line contains a tab character. 117
 Error whitespace ParenPad '(' is not followed by whitespace. 117
 Error whitespace ParenPad '(' is not followed by whitespace. 117
 Error whitespace ParenPad ')' is not preceded with whitespace. 117
 Error whitespace ParenPad ')' is not preceded with whitespace. 117
 Error whitespace FileTabCharacter Line contains a tab character. 119
 Error whitespace ParenPad '(' is not followed by whitespace. 119
 Error whitespace ParenPad ')' is not preceded with whitespace. 119
 Error whitespace FileTabCharacter Line contains a tab character. 120
 Error whitespace ParenPad '(' is not followed by whitespace. 120
 Error whitespace ParenPad ')' is not preceded with whitespace. 120
 Error whitespace FileTabCharacter Line contains a tab character. 121
 Error whitespace FileTabCharacter Line contains a tab character. 122
 Error whitespace FileTabCharacter Line contains a tab character. 123
 Error whitespace ParenPad ')' is not preceded with whitespace. 123
 Error whitespace FileTabCharacter Line contains a tab character. 124
 Error whitespace FileTabCharacter Line contains a tab character. 125
 Error blocks RightCurly '}' should be alone on a line. 125
 Error whitespace ParenPad '(' is not followed by whitespace. 125
 Error whitespace ParenPad ')' is not preceded with whitespace. 125
 Error whitespace FileTabCharacter Line contains a tab character. 126
 Error whitespace FileTabCharacter Line contains a tab character. 127
 Error whitespace ParenPad '(' is not followed by whitespace. 127
 Error whitespace ParenPad ')' is not preceded with whitespace. 127
 Error whitespace FileTabCharacter Line contains a tab character. 128
 Error whitespace ParenPad '(' is not followed by whitespace. 128
 Error whitespace ParenPad ')' is not preceded with whitespace. 128
 Error whitespace FileTabCharacter Line contains a tab character. 129
 Error whitespace FileTabCharacter Line contains a tab character. 130
 Error whitespace FileTabCharacter Line contains a tab character. 132
 Error blocks RightCurly '}' should be alone on a line. 132
 Error whitespace FileTabCharacter Line contains a tab character. 133
 Error whitespace FileTabCharacter Line contains a tab character. 135
 Error whitespace FileTabCharacter Line contains a tab character. 136
 Error whitespace FileTabCharacter Line contains a tab character. 137
 Error whitespace ParenPad '(' is not followed by whitespace. 137
 Error whitespace ParenPad ')' is not preceded with whitespace. 137
 Error whitespace FileTabCharacter Line contains a tab character. 138
 Error whitespace ParenPad '(' is not followed by whitespace. 138
 Error whitespace ParenPad ')' is not preceded with whitespace. 138
 Error whitespace FileTabCharacter Line contains a tab character. 142
 Error whitespace FileTabCharacter Line contains a tab character. 143
 Error whitespace ParenPad '(' is not followed by whitespace. 143
 Error whitespace ParenPad ')' is not preceded with whitespace. 143
 Error whitespace FileTabCharacter Line contains a tab character. 144
 Error whitespace ParenPad '(' is not followed by whitespace. 144
 Error whitespace ParenPad ')' is not preceded with whitespace. 144
 Error whitespace FileTabCharacter Line contains a tab character. 145
 Error whitespace FileTabCharacter Line contains a tab character. 146
 Error whitespace FileTabCharacter Line contains a tab character. 147
 Error whitespace FileTabCharacter Line contains a tab character. 149
 Error whitespace ParenPad '(' is not followed by whitespace. 149
 Error whitespace ParenPad ')' is not preceded with whitespace. 149
 Error whitespace FileTabCharacter Line contains a tab character. 150
 Error whitespace ParenPad '(' is not followed by whitespace. 150
 Error whitespace ParenPad ')' is not preceded with whitespace. 150
 Error whitespace FileTabCharacter Line contains a tab character. 152
 Error whitespace FileTabCharacter Line contains a tab character. 153
 Error whitespace FileTabCharacter Line contains a tab character. 154
 Error whitespace ParenPad '(' is not followed by whitespace. 154
 Error whitespace ParenPad ')' is not preceded with whitespace. 154
 Error whitespace FileTabCharacter Line contains a tab character. 155
 Error whitespace FileTabCharacter Line contains a tab character. 156
 Error whitespace ParenPad '(' is not followed by whitespace. 156
 Error whitespace ParenPad ')' is not preceded with whitespace. 156
 Error whitespace FileTabCharacter Line contains a tab character. 157
 Error whitespace FileTabCharacter Line contains a tab character. 159
 Error whitespace ParenPad '(' is not followed by whitespace. 159
 Error whitespace ParenPad ')' is not preceded with whitespace. 159
 Error whitespace FileTabCharacter Line contains a tab character. 160
 Error whitespace ParenPad '(' is not followed by whitespace. 160
 Error whitespace ParenPad ')' is not preceded with whitespace. 160
 Error whitespace FileTabCharacter Line contains a tab character. 161
 Error whitespace FileTabCharacter Line contains a tab character. 162
 Error whitespace FileTabCharacter Line contains a tab character. 163
 Error whitespace ParenPad ')' is not preceded with whitespace. 163
 Error whitespace FileTabCharacter Line contains a tab character. 164
 Error whitespace FileTabCharacter Line contains a tab character. 165
 Error blocks RightCurly '}' should be alone on a line. 165
 Error whitespace ParenPad '(' is not followed by whitespace. 165
 Error whitespace ParenPad ')' is not preceded with whitespace. 165
 Error whitespace FileTabCharacter Line contains a tab character. 166
 Error whitespace FileTabCharacter Line contains a tab character. 167
 Error whitespace ParenPad '(' is not followed by whitespace. 167
 Error whitespace ParenPad ')' is not preceded with whitespace. 167
 Error whitespace FileTabCharacter Line contains a tab character. 168
 Error whitespace ParenPad '(' is not followed by whitespace. 168
 Error whitespace ParenPad ')' is not preceded with whitespace. 168
 Error whitespace FileTabCharacter Line contains a tab character. 169
 Error whitespace FileTabCharacter Line contains a tab character. 170
 Error whitespace FileTabCharacter Line contains a tab character. 172
 Error whitespace ParenPad ')' is not preceded with whitespace. 202
 Error whitespace ParenPad ')' is not preceded with whitespace. 203
 Error whitespace ParenPad ')' is not preceded with whitespace. 215

org/codehaus/mojo/rpm/RPMUnpackMojo.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error sizes LineLength Line is longer than 120 characters (found 137). 21

org/codehaus/mojo/rpm/Scriptlet.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.io.*. 24
 Error sizes LineLength Line is longer than 120 characters (found 133). 214
 Error whitespace ParenPad ')' is not preceded with whitespace. 214
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 215
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 266
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 277
 Error whitespace ParenPad '(' is not followed by whitespace. 277
 Error whitespace ParenPad ')' is not preceded with whitespace. 277
 Error blocks LeftCurly '{' should be on a new line. 279

org/codehaus/mojo/rpm/Source.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.File. 22
 Warning javadoc JavadocMethod Missing a Javadoc comment. 381

org/codehaus/mojo/rpm/SpecWriter.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.io.*. 22
 Error whitespace ParenPad ')' is not preceded with whitespace. 134
 Error sizes LineLength Line is longer than 120 characters (found 144). 178
 Error sizes LineLength Line is longer than 120 characters (found 146). 180
 Error whitespace ParenPad '(' is not followed by whitespace. 269
 Error whitespace ParenPad ')' is not preceded with whitespace. 269
 Error sizes LineLength Line is longer than 120 characters (found 136). 275
 Error whitespace ParenPad ')' is not preceded with whitespace. 275
 Error whitespace ParenPad ')' is not preceded with whitespace. 282
 Error whitespace ParenPad '(' is not followed by whitespace. 296
 Error whitespace ParenPad ')' is not preceded with whitespace. 296
 Error blocks LeftCurly '{' should be on a new line. 296
 Error sizes LineLength Line is longer than 120 characters (found 126). 331

org/codehaus/mojo/rpm/UnixPrintWriter.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Warning javadoc JavadocMethod Missing a Javadoc comment. 32
 Warning javadoc JavadocMethod Missing a Javadoc comment. 38
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58

org/codehaus/mojo/rpm/VersionMojo.java

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