Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
500284

Rules

RulesViolationsSeverity
PackageHtml1error Error
NewlineAtEndOfFile1error Error
Translation0error Error
JavadocMethod43error Error
JavadocType0error Error
JavadocVariable18error Error
JavadocStyle5error Error
ConstantName5error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "/Users/jason/ws/geronimo/gshell/gshell-common/target/checkstyle-header.txt"
4error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • max: "120"
0error Error
MethodLength0error Error
ParameterNumber1error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0error Error
NoWhitespaceBefore0error Error
OperatorWrap10error Error
ParenPad15error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter0error Error
WhitespaceAround33error Error
ModifierOrder7error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly4error Error
NeedBraces0error Error
RightCurly0error Error
AvoidInlineConditionals8error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber32error Error
MissingSwitchDefault2error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor2error Error
InterfaceIsType0error Error
VisibilityModifier0error Error
ArrayTypeStyle0error Error
FinalParameters90error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0error Error
TodoComment3error Error
UpperEll0error Error

Details

org/apache/geronimo/gshell/common/StopWatch.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.58
errorMissing a Javadoc comment.60
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.62
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.66
errorMissing a Javadoc comment.67
errorUnused @throws tag for 'IllegalStateException'.100
error'if' is not followed by whitespace.103
error'if' is not followed by whitespace.106
errorUnused @throws tag for 'IllegalStateException'.119
error'if' is not followed by whitespace.122
error'if' is not followed by whitespace.125
errorUnused @throws tag for 'IllegalStateException'.150
error'if' is not followed by whitespace.153
errorUnused @throws tag for 'IllegalStateException'.166
error'if' is not followed by whitespace.169
errorUnused @throws tag for 'IllegalStateException'.182
error'if' is not followed by whitespace.185
errorUnused @throws tag for 'IllegalStateException'.198
error'if' is not followed by whitespace.201
error'if' is not followed by whitespace.218
error'if' is not followed by whitespace.221
error'if' is not followed by whitespace.224
errorUnused @throws tag for 'IllegalStateException'.237
error'if' is not followed by whitespace.241

org/apache/geronimo/gshell/common/package-info.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1

org/apache/geronimo/gshell/common/DurationFormatUtils.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorUtility classes should not have a public or default constructor.56
error'{' should be on the previous line.57
errorParameter durationMillis should be final.86
errorParameter durationMillis should be final.101
errorParameter durationMillis should be final.116
errorParameter format should be final.116
errorParameter durationMillis should be final.133
errorParameter format should be final.133
errorParameter padWithZeros should be final.133
error')' is preceded with whitespace.143
error')' is preceded with whitespace.147
error')' is preceded with whitespace.151
error')' is preceded with whitespace.155
error')' is preceded with whitespace.159
errorParameter durationMillis should be final.178
errorParameter suppressLeadingZeroElements should be final.179
errorParameter suppressTrailingZeroElements should be final.180
errorParameter startMillis should be final.240
errorParameter endMillis should be final.240
errorParameter startMillis should be final.253
errorParameter endMillis should be final.253
errorParameter format should be final.253
errorParameter startMillis should be final.280
errorParameter endMillis should be final.280
errorParameter format should be final.280
errorParameter padWithZeros should be final.280
errorParameter timezone should be final.281
errorComment matches to-do format 'TODO:'.286
error'1000' is a magic number.309
error'60' is a magic number.313
error'60' is a magic number.317
error'24' is a magic number.321
error'12' is a magic number.333
error'12' is a magic number.339
error'if' is not followed by whitespace.346
error'(' is followed by whitespace.346
error')' is preceded with whitespace.346
error'(' is followed by whitespace.353
error'if' is not followed by whitespace.357
error'if' is not followed by whitespace.358
error'(' is followed by whitespace.358
error'&&' should be on a new line.358
error'29' is a magic number.359
error')' is preceded with whitespace.359
error')' is preceded with whitespace.359
error'{' should be on the previous line.360
error'while' is not followed by whitespace.373
error'(' is followed by whitespace.373
error')' is preceded with whitespace.373
error'24' is a magic number.393
error'60' is a magic number.397
error'60' is a magic number.401
error'1000' is a magic number.405
errorMore than 7 parameters.427
errorParameter tokens should be final.427
errorParameter years should be final.427
errorParameter months should be final.427
errorParameter days should be final.427
errorParameter hours should be final.427
errorParameter minutes should be final.427
errorParameter seconds should be final.427
errorParameter milliseconds should be final.428
errorParameter padWithZeros should be final.428
errorAvoid inline conditionals.440
errorAvoid inline conditionals.444
errorAvoid inline conditionals.448
errorAvoid inline conditionals.452
errorAvoid inline conditionals.456
errorAvoid inline conditionals.460
error'1000' is a magic number.465
errorAvoid inline conditionals.467
errorAvoid inline conditionals.472
errorMissing a Javadoc comment.482
errorName 'y' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.482
errorMissing a Javadoc comment.483
errorMissing a Javadoc comment.484
errorName 'd' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.484
errorMissing a Javadoc comment.485
errorMissing a Javadoc comment.486
errorName 'm' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.486
errorMissing a Javadoc comment.487
errorName 's' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.487
errorMissing a Javadoc comment.488
errorFirst sentence should end with a period.490
errorParameter format should be final.496
error'<' is not preceded with whitespace.498
error'<' is not followed by whitespace.498
error'>' is not preceded with whitespace.498
error'<' is not preceded with whitespace.498
error'<' is not followed by whitespace.498
error'>' is not preceded with whitespace.498
error'>' is not followed by whitespace.498
error'for' is not followed by whitespace.504
error'=' is not preceded with whitespace.504
error'=' is not followed by whitespace.504
error'<' is not preceded with whitespace.504
error'<' is not followed by whitespace.504
error'if' is not followed by whitespace.506
errorComment matches to-do format 'TODO:'.512
error'if' is not followed by whitespace.514
error'if' is not followed by whitespace.531
error'if' is not followed by whitespace.538
error'if' is not followed by whitespace.539
error'(' is followed by whitespace.549
error')' is preceded with whitespace.549
errorFirst sentence should end with a period.557
errorParameter tokens should be final.564
errorParameter value should be final.564
errorMissing a Javadoc comment.574
errorMissing a Javadoc comment.575
errorParameter value should be final.582
errorParameter value should be final.594
errorParameter count should be final.594
errorFirst sentence should end with a period.599
errorFirst sentence should end with a period.606
errorParameter obj2 should be final.630

org/apache/geronimo/gshell/common/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/gshell/common/DateUtils.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorUtility classes should not have a public or default constructor.47
error'{' should be on the previous line.48
error'static' modifier out of order with the JLS suggestions.78
errorMissing a Javadoc comment.80
errorName 'fields' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.80
error'static' modifier out of order with the JLS suggestions.95
error'static' modifier out of order with the JLS suggestions.100
error'static' modifier out of order with the JLS suggestions.105
error'static' modifier out of order with the JLS suggestions.110
error'static' modifier out of order with the JLS suggestions.115
error'static' modifier out of order with the JLS suggestions.120
errorUnused @throws tag for 'IllegalArgumentException'.145
errorParameter date1 should be final.148
errorParameter date2 should be final.148
errorUnused @throws tag for 'IllegalArgumentException'.169
errorParameter cal1 should be final.172
errorParameter cal2 should be final.172
error'&&' should be on a new line.176
error'&&' should be on a new line.177
errorUnused @throws tag for 'IllegalArgumentException'.190
errorParameter date1 should be final.193
errorParameter date2 should be final.193
errorUnused @throws tag for 'IllegalArgumentException'.208
errorParameter cal1 should be final.211
errorParameter cal2 should be final.211
errorUnused @throws tag for 'IllegalArgumentException'.228
errorParameter cal1 should be final.231
errorParameter cal2 should be final.231
error'&&' should be on a new line.235
error'&&' should be on a new line.236
error'&&' should be on a new line.237
error'&&' should be on a new line.238
error'&&' should be on a new line.239
error'&&' should be on a new line.240
error'&&' should be on a new line.241
errorUnused @throws tag for 'IllegalArgumentException'.256
errorParameter str should be final.259
errorParameter parsePatterns should be final.259
errorUnused @throws tag for 'IllegalArgumentException'.289
errorParameter date should be final.291
errorParameter amount should be final.291
errorUnused @throws tag for 'IllegalArgumentException'.303
errorParameter date should be final.305
errorParameter amount should be final.305
errorUnused @throws tag for 'IllegalArgumentException'.317
errorParameter date should be final.319
errorParameter amount should be final.319
errorUnused @throws tag for 'IllegalArgumentException'.331
errorParameter date should be final.333
errorParameter amount should be final.333
errorUnused @throws tag for 'IllegalArgumentException'.345
errorParameter date should be final.347
errorParameter amount should be final.347
errorUnused @throws tag for 'IllegalArgumentException'.359
errorParameter date should be final.361
errorParameter amount should be final.361
errorUnused @throws tag for 'IllegalArgumentException'.373
errorParameter date should be final.375
errorParameter amount should be final.375
errorUnused @throws tag for 'IllegalArgumentException'.387
errorParameter date should be final.389
errorParameter amount should be final.389
errorUnused @throws tag for 'IllegalArgumentException'.402
errorParameter date should be final.404
errorParameter calendarField should be final.404
errorParameter amount should be final.404
errorUnused @throws tag for 'IllegalArgumentException'.440
errorUnused @throws tag for 'ArithmeticException'.441
errorParameter date should be final.443
errorParameter field should be final.443
errorUnused @throws tag for 'IllegalArgumentException'.478
errorUnused @throws tag for 'ArithmeticException'.479
errorParameter date should be final.481
errorParameter field should be final.481
errorUnused @throws tag for 'IllegalArgumentException'.515
errorUnused @throws tag for 'ClassCastException'.516
errorUnused @throws tag for 'ArithmeticException'.518
errorParameter date should be final.520
errorParameter field should be final.520
errorUnused @throws tag for 'IllegalArgumentException'.547
errorUnused @throws tag for 'ArithmeticException'.548
errorParameter date should be final.550
errorParameter field should be final.550
errorUnused @throws tag for 'IllegalArgumentException'.573
errorUnused @throws tag for 'ArithmeticException'.574
errorParameter date should be final.576
errorParameter field should be final.576
errorUnused @throws tag for 'IllegalArgumentException'.599
errorUnused @throws tag for 'ClassCastException'.601
errorUnused @throws tag for 'ArithmeticException'.603
errorParameter date should be final.605
errorParameter field should be final.605
errorUnused @throws tag for 'ArithmeticException'.625
errorParameter val should be final.627
errorParameter field should be final.627
errorParameter round should be final.627
error'280000000' is a magic number.628
error'500' is a magic number.648
error'30' is a magic number.657
error'1000L' is a magic number.658
error'30' is a magic number.666
error'60000L' is a magic number.667
error'15' is a magic number.688
error'-15' is a magic number.690
errorswitch without "default" clause.706
error'15' is a magic number.715
error'15' is a magic number.716
error'7' is a magic number.719
error'12' is a magic number.728
error'12' is a magic number.729
error'6' is a magic number.731
errorUnused @throws tag for 'IllegalArgumentException'.775
errorUnused @throws tag for 'IllegalArgumentException'.776
errorParameter focus should be final.778
errorParameter rangeStyle should be final.778
errorUnused @throws tag for 'IllegalArgumentException'.808
errorUnused @throws tag for 'IllegalArgumentException'.809
errorParameter focus should be final.811
errorParameter rangeStyle should be final.811
errorswitch without "default" clause.841
error'3' is a magic number.854
error'3' is a magic number.855
error'7' is a magic number.863
error'7' is a magic number.866
error'7' is a magic number.869
error'7' is a magic number.872
errorUnused @throws tag for 'IllegalArgumentException'.897
errorUnused @throws tag for 'ClassCastException'.899
errorParameter focus should be final.902
errorParameter rangeStyle should be final.902
errorMissing a Javadoc comment.919
errorMissing a Javadoc comment.920
errorParameter startFinal should be final.928
errorParameter endFinal should be final.928
errorFirst sentence should end with a period.944
errorComment matches to-do format 'TODO:'.970