Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
2400407

Rules

RulesViolationsSeverity
PackageHtml5error Error
NewlineAtEndOfFile5error Error
Translation0error Error
JavadocMethod166error Error
JavadocType1error Error
JavadocVariable37error Error
JavadocStyle0error Error
ConstantName1error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "/Users/jason/ws/geronimo/genesis/plugins/plugin-support/target/checkstyle-header.txt"
19error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports1error Error
FileLength0error Error
LineLength
  • max: "120"
4error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter2error Error
NoWhitespaceBefore0error Error
OperatorWrap4error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter13error Error
WhitespaceAround8error Error
ModifierOrder2error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock1error Error
LeftCurly22error Error
NeedBraces0error Error
RightCurly24error Error
AvoidInlineConditionals1error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
5error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber3error Error
MissingSwitchDefault2error Error
RedundantThrows2error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor1error Error
InterfaceIsType0error Error
VisibilityModifier22error Error
ArrayTypeStyle0error Error
FinalParameters20error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
33error Error
TodoComment3error Error
UpperEll0error Error

Details

org/apache/geronimo/genesis/ant/AntMojoSupport.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.50
errorMissing a Javadoc comment.51
errorVariable 'ant' must be private and have accessor methods.51
errorMissing a Javadoc comment.53
errorLine has trailing spaces.58
errorLine has trailing spaces.66
errorMissing a Javadoc comment.67
error'ant' hides a field.67
errorLine has trailing spaces.72
error'}' should be on the same line.75
errorLine has trailing spaces.79
errorLine has trailing spaces.82
errorMissing a Javadoc comment.83
errorParameter value should be final.83
error'cast' is not followed by whitespace.93
errorMissing a Javadoc comment.99
errorMissing a Javadoc comment.110
errorLine has trailing spaces.120
errorMissing a Javadoc comment.121
error'cast' is not followed by whitespace.126
errorMissing a Javadoc comment.135
errorMissing a Javadoc comment.141
errorRedundant throws: 'BuildException' is unchecked exception.141
errorMissing a Javadoc comment.147
error'cast' is not followed by whitespace.150

org/apache/geronimo/genesis/ComponentSupport.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.33
errorMissing a Javadoc comment.34
errorVariable 'log' must be private and have accessor methods.34
errorLine has trailing spaces.35
errorMissing a Javadoc comment.36

org/apache/geronimo/genesis/logging/DelegatingLog.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.35
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.38
error'{' is followed by whitespace.42
error'}' should be on the same line.43
errorMissing a Javadoc comment.49
error'{' is followed by whitespace.56
error'}' should be on the same line.57
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.65
errorMissing a Javadoc comment.71
errorMissing a Javadoc comment.75
errorMissing a Javadoc comment.79
errorMissing a Javadoc comment.83
errorMissing a Javadoc comment.87
errorMissing a Javadoc comment.91
errorMissing a Javadoc comment.95
errorMissing a Javadoc comment.99
errorMissing a Javadoc comment.103
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.111
errorMissing a Javadoc comment.115
errorMissing a Javadoc comment.119
errorMissing a Javadoc comment.123
errorMissing a Javadoc comment.127
errorMissing a Javadoc comment.131
errorMissing a Javadoc comment.135
errorMissing a Javadoc comment.139
errorMissing a Javadoc comment.143
errorMissing a Javadoc comment.147

org/apache/geronimo/genesis/dependency/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/genesis/ant/CommonsLoggingAntLoggerAdapter.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.35
errorMissing a Javadoc comment.36
errorVariable 'log' must be private and have accessor methods.36
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.46
errorswitch without "default" clause.50

org/apache/geronimo/genesis/ant/AntHelper.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.46
errorMissing a Javadoc comment.47
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.64
errorMissing a Javadoc comment.70
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.83
errorRedundant throws: 'BuildException' is unchecked exception.83
errorMissing a Javadoc comment.89
error'ant' hides a field.89
error'}' should be on the same line.97
errorMissing a Javadoc comment.105
errorParameter value should be final.105
error'cast' is not followed by whitespace.115
errorMissing a Javadoc comment.121
error'cast' is not followed by whitespace.126
errorLine has trailing spaces.134
errorMissing a Javadoc comment.135
errorMissing a Javadoc comment.146
errorMissing a Javadoc comment.157
error'cast' is not followed by whitespace.160
errorMissing a Javadoc comment.165
errorLine has trailing spaces.167
error'cast' is not followed by whitespace.168

org/apache/geronimo/genesis/dependency/ResolutionListenerAdapter.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.33
errorMissing a Javadoc comment.34
errorParameter artifact should be final.34
errorMissing a Javadoc comment.38
errorParameter artifact should be final.38
errorMissing a Javadoc comment.42
errorParameter artifact should be final.42
errorMissing a Javadoc comment.46
errorParameter artifact should be final.46
errorMissing a Javadoc comment.50
errorParameter artifact should be final.50
errorParameter artifact1 should be final.50
errorMissing a Javadoc comment.54
errorParameter artifact should be final.54
errorParameter string should be final.54
errorMissing a Javadoc comment.58
errorParameter artifact should be final.58
errorParameter artifact1 should be final.58
errorMissing a Javadoc comment.62
errorParameter artifact should be final.62
errorMissing a Javadoc comment.66
errorParameter artifact should be final.66
errorParameter string should be final.66
errorMissing a Javadoc comment.70
errorParameter artifact should be final.70
errorMissing a Javadoc comment.74
errorParameter artifact should be final.74
errorParameter artifact1 should be final.74
errorParameter versionRange should be final.74

org/apache/geronimo/genesis/ant/OptionSet.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.31
errorMissing a Javadoc comment.47
error'+' should be on a new line.48
errorAvoid inline conditionals.49
error'+' should be on a new line.49
error'+' should be on a new line.50
errorMissing a Javadoc comment.54
errorMissing a Javadoc comment.58
errorMissing a Javadoc comment.62
errorMissing a Javadoc comment.66
errorMissing a Javadoc comment.70
errorMissing a Javadoc comment.74

org/apache/geronimo/genesis/ant/JavaLauncherMojoSupport.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.54
errorComment matches to-do format 'TODO:'.56
errorLine has trailing spaces.58
errorMissing a Javadoc comment.59
errorLine has trailing spaces.67
errorVariable 'baseWorkingDirectory' must be private and have accessor methods.75
errorVariable 'logOutput' must be private and have accessor methods.82
errorVariable 'background' must be private and have accessor methods.90
errorVariable 'timeout' must be private and have accessor methods.97
errorVariable 'optionSets' must be private and have accessor methods.111
errorVariable 'options' must be private and have accessor methods.118
errorVariable 'pluginArtifactMap' must be private and have accessor methods.127
errorMissing a Javadoc comment.129
error'cast' is not followed by whitespace.132
errorLine has trailing spaces.144
error'1000' is a magic number.148
error'}' should be on the same line.175
error'1000' is a magic number.201
errorLine has trailing spaces.203
errorLine is longer than 120 characters.208
error'cast' is not followed by whitespace.212
error'}' should be on the same line.217
errorMust have at least one statement.218
error'1000' is a magic number.222
errorMissing a Javadoc comment.234
error'cast' is not followed by whitespace.237
errorMissing a Javadoc comment.245
errorMissing a Javadoc comment.252
errorLine has trailing spaces.260
errorMissing a Javadoc comment.264
errorComment matches to-do format 'TODO:'.268
error'}' should be on the same line.274
error'=' is not preceded with whitespace.282
error'=' is not followed by whitespace.282
error'}' should be on the same line.285
error'options' hides a field.290
error'=' is not preceded with whitespace.292
error'=' is not followed by whitespace.292
error'cast' is not followed by whitespace.301
errorMissing a Javadoc comment.311
error'=' is not preceded with whitespace.314
error'=' is not followed by whitespace.314
error'<' is not preceded with whitespace.314
error'<' is not followed by whitespace.314
errorLine is longer than 120 characters.322
error'}' should be on the same line.323
error'cast' is not followed by whitespace.343
error'}' should be on the same line.348
error'}' should be on the same line.352
errorVariable 'project' must be private and have accessor methods.372
errorMissing a Javadoc comment.374
errorVariable 'artifactRepository' must be private and have accessor methods.383
errorMissing a Javadoc comment.385
errorMissing a Javadoc comment.393
errorMissing a Javadoc comment.395
errorMissing a Javadoc comment.399
errorMissing a Javadoc comment.403
errorMissing a Javadoc comment.407
errorMissing a Javadoc comment.409
errorMissing a Javadoc comment.411
errorLine has trailing spaces.416
errorMissing a Javadoc comment.417

org/apache/geronimo/genesis/MojoSupport.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.68
errorMissing a Javadoc comment.69
errorVariable 'container' must be private and have accessor methods.69
errorVariable 'log' must be private and have accessor methods.75
errorLine has trailing spaces.76
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.79
errorLine has trailing spaces.96
error'cast' is not followed by whitespace.101
error'}' should be on the same line.102
errorMissing a Javadoc comment.108
errorExpected @throws tag for 'MojoExecutionException'.118
errorExpected @throws tag for 'MojoFailureException'.118
error'}' should be on the same line.123
error'}' should be on the same line.130
error'}' should be on the same line.135
error'}' should be on the same line.139
errorLine has trailing spaces.158
error'}' should be on the same line.231
errorLine has trailing spaces.235
errorLine has trailing spaces.257
errorLine has trailing spaces.259
errorLine is longer than 120 characters.273
error'}' should be on the same line.284
error'}' should be on the same line.291
error'}' should be on the same line.294
error'{' should be on the previous line.333
error'{' should be on the previous line.350
errorLine has trailing spaces.357
errorMissing a Javadoc comment.362
errorLine has trailing spaces.405
errorMissing a Javadoc comment.417
errorMissing a Javadoc comment.421

org/apache/geronimo/genesis/util/ObjectHolder.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.28
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.31
errorMissing a Javadoc comment.35
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.43
error'object' hides a field.43
errorMissing a Javadoc comment.47
errorMissing a Javadoc comment.51

org/apache/geronimo/genesis/util/ExpressionParser.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.38
errorMissing a Javadoc comment.39
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.39
errorMissing a Javadoc comment.41
errorVariable 'context' must be private and have accessor methods.41
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.56
errorMissing a Javadoc comment.60
errorMissing a Javadoc comment.64
errorMissing a Javadoc comment.72
errorMissing a Javadoc comment.80
errorMissing a Javadoc comment.88
errorMissing a Javadoc comment.96
errorMissing a Javadoc comment.98
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.126
error'}' should be on the same line.159
errorMissing a Javadoc comment.176

org/apache/geronimo/genesis/dependency/DependencyTree.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorUnused import - java.util.Stack.22
error'{' should be on the previous line.37
errorMissing a Javadoc comment.38
errorVariable 'artifacts' must be private and have accessor methods.38
errorMissing a Javadoc comment.40
errorVariable 'rootNode' must be private and have accessor methods.40
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.50
errorParameter rootNode should be final.50
errorMissing a Javadoc comment.58
error'{' should be on the previous line.59
errorMissing a Javadoc comment.60
errorVariable 'parent' must be private and have accessor methods.60
errorMissing a Javadoc comment.62
errorVariable 'children' must be private and have accessor methods.62
errorMissing a Javadoc comment.64
errorVariable 'artifact' must be private and have accessor methods.64
errorMissing a Javadoc comment.66
errorVariable 'depth' must be private and have accessor methods.66
errorMissing a Javadoc comment.68
errorMissing a Javadoc comment.72
errorMissing a Javadoc comment.76
errorMissing a Javadoc comment.80

org/apache/geronimo/genesis/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/genesis/util/ArtifactItem.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.28
errorMissing a Javadoc comment.67

org/apache/geronimo/genesis/ant/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/genesis/dependency/Dependencies.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.45
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.48
errorMissing a Javadoc comment.50
errorMissing a Javadoc comment.71
errorMissing a Javadoc comment.93
errorMissing a Javadoc comment.97
errorMissing a Javadoc comment.101
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.118
errorMissing a Javadoc comment.133

org/apache/geronimo/genesis/logging/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/genesis/logging/MavenPluginLog.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.32
errorMissing a Javadoc comment.33
errorMissing a Javadoc comment.35
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.65
errorMissing a Javadoc comment.69
errorMissing a Javadoc comment.73
errorMissing a Javadoc comment.78
errorMissing a Javadoc comment.82
error'}' should be on the same line.85
errorMissing a Javadoc comment.91
errorMissing a Javadoc comment.97
errorMissing a Javadoc comment.103
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.111
errorMissing a Javadoc comment.115
errorMissing a Javadoc comment.119
errorMissing a Javadoc comment.123
errorMissing a Javadoc comment.127
errorMissing a Javadoc comment.131
errorMissing a Javadoc comment.135
errorMissing a Javadoc comment.139

org/apache/geronimo/genesis/ant/MavenAntLoggerAdapter.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.36
errorMissing a Javadoc comment.37
errorVariable 'log' must be private and have accessor methods.37
errorLine has trailing spaces.38
errorMissing a Javadoc comment.39
errorLine has trailing spaces.41
errorLine has trailing spaces.43
errorLine has trailing spaces.46
errorMissing a Javadoc comment.47
errorswitch without "default" clause.51

org/apache/geronimo/genesis/dependency/DependencyResolutionListener.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.37
error'{' should be on the previous line.42
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.47
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.55
errorLine has trailing spaces.58
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.74
errorMissing a Javadoc comment.80
errorMissing a Javadoc comment.94
errorMissing a Javadoc comment.98
errorMissing a Javadoc comment.117
errorMissing a Javadoc comment.122

org/apache/geronimo/genesis/util/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/genesis/logging/Logging.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorUtility classes should not have a public or default constructor.30
error'{' should be on the previous line.31
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.34
error'static' modifier out of order with the JLS suggestions.34
errorLine has trailing spaces.43
errorMissing a Javadoc comment.51
error'static' modifier out of order with the JLS suggestions.51
errorLine has trailing spaces.63

org/apache/geronimo/genesis/dependency/DependencyHelper.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.56
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.65
errorMissing a Javadoc comment.67
errorMissing a Javadoc comment.69
errorComment matches to-do format 'TODO:'.72
errorMissing a Javadoc comment.75
error'repository' hides a field.75
errorMissing a Javadoc comment.79
errorMissing a Javadoc comment.86
errorLine has trailing spaces.107
errorLine is longer than 120 characters.111
errorMissing a Javadoc comment.111
error'}' should be on the same line.135
error'+' should be on a new line.138
error'}' should be on the same line.142
errorMissing a Javadoc comment.154
errorLine has trailing spaces.161
errorMissing a Javadoc comment.162
errorMissing a Javadoc comment.166
errorMissing a Javadoc comment.170
errorMissing a Javadoc comment.174
errorMissing a Javadoc comment.178