Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
3000397

Rules

RulesViolationsSeverity
PackageHtml4error Error
NewlineAtEndOfFile0error Error
Translation0error Error
JavadocMethod91error Error
JavadocType0error Error
JavadocVariable17error Error
JavadocStyle0error Error
ConstantName2error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "/Users/jason/ws/geronimo/server/maven-plugins/geronimo-maven-plugin/target/checkstyle-header.txt"
26error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports1error Error
FileLength0error Error
LineLength
  • max: "120"
8error Error
MethodLength1error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter2error Error
NoWhitespaceBefore0error Error
OperatorWrap6error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter11error Error
WhitespaceAround44error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly27error Error
NeedBraces0error Error
RightCurly39error Error
AvoidInlineConditionals3error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
7error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber9error Error
MissingSwitchDefault0error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier24error Error
ArrayTypeStyle2error Error
FinalParameters13error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
48error Error
TodoComment12error Error
UpperEll0error Error

Files

Filesinfowarningerror
org/apache/geronimo/mavenplugins/geronimo/server/StopServerMojo.java009
org/apache/geronimo/mavenplugins/geronimo/module/ListModulesMojo.java006
org/apache/geronimo/mavenplugins/geronimo/reporting/SurefireReporter.java0060
org/apache/geronimo/mavenplugins/geronimo/module/DeployModuleMojo.java0023
org/apache/geronimo/mavenplugins/geronimo/reporting/package.html001
org/apache/geronimo/mavenplugins/geronimo/server/InstallMojo.java002
org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java0035
org/apache/geronimo/mavenplugins/geronimo/ServerProxy.java0046
org/apache/geronimo/mavenplugins/geronimo/server/OptionSet.java0013
org/apache/geronimo/mavenplugins/geronimo/server/StopMojo.java002
org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java0046
org/apache/geronimo/mavenplugins/geronimo/module/package.html001
org/apache/geronimo/mavenplugins/geronimo/server/InstallAssemblyMojo.java004
org/apache/geronimo/mavenplugins/geronimo/module/DeployMojo.java002
org/apache/geronimo/mavenplugins/geronimo/module/ModuleMojoSupport.java0039
org/apache/geronimo/mavenplugins/geronimo/reporting/Reporter.java002
org/apache/geronimo/mavenplugins/geronimo/ModuleConfig.java005
org/apache/geronimo/mavenplugins/geronimo/reporting/Reportable.java002
org/apache/geronimo/mavenplugins/geronimo/server/WaitForServerMojo.java008
org/apache/geronimo/mavenplugins/geronimo/AssemblyConfig.java004
org/apache/geronimo/mavenplugins/geronimo/server/package.html001
org/apache/geronimo/mavenplugins/geronimo/module/StartStopUndeployMojoSupport.java0014
org/apache/geronimo/mavenplugins/geronimo/module/StartModuleMojo.java006
org/apache/geronimo/mavenplugins/geronimo/GeronimoMojoSupport.java0014
org/apache/geronimo/mavenplugins/geronimo/server/StartMojo.java002
org/apache/geronimo/mavenplugins/geronimo/module/UndeployMojo.java002
org/apache/geronimo/mavenplugins/geronimo/module/StopModuleMojo.java009
org/apache/geronimo/mavenplugins/geronimo/reporting/ReportingMojoSupport.java0029
org/apache/geronimo/mavenplugins/geronimo/package.html001
org/apache/geronimo/mavenplugins/geronimo/module/UndeployModuleMojo.java009

Details

org/apache/geronimo/mavenplugins/geronimo/server/StopServerMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.36
errorMissing a Javadoc comment.37
errorComment matches to-do format 'TODO:'.41
errorLine has trailing spaces.43
error'}' should be on the same line.46
errorLine has trailing spaces.49
errorComment matches to-do format 'TODO:'.53
errorMissing a Javadoc comment.58

org/apache/geronimo/mavenplugins/geronimo/module/ListModulesMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorUnused import - javax.enterprise.deploy.spi.TargetModuleID.24
error'{' should be on the previous line.35
errorMissing a Javadoc comment.36
errorLine has trailing spaces.39
errorMissing a Javadoc comment.53

org/apache/geronimo/mavenplugins/geronimo/reporting/SurefireReporter.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.62
errorMissing a Javadoc comment.63
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.63
errorMissing a Javadoc comment.65
errorLine has trailing spaces.86
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.109
errorMissing a Javadoc comment.111
errorMissing a Javadoc comment.117
error'}' should be on the same line.126
errorLine has trailing spaces.131
errorMissing a Javadoc comment.142
errorLine has trailing spaces.146
errorMissing a Javadoc comment.150
error'}' should be on the same line.155
errorLine has trailing spaces.159
error'}' should be on the same line.169
error'}' should be on the same line.173
errorLine has trailing spaces.175
error'}' should be on the same line.179
error'}' should be on the same line.186
errorMissing a Javadoc comment.196
errorLine is longer than 120 characters.216
error'}' should be on the same line.219
error'}' should be on the same line.222
error'}' should be on the same line.225
errorMissing a Javadoc comment.231
errorParameter element should be final.231
errorParameter testName should be final.231
error'testName' hides a field.231
errorParameter runTime should be final.231
errorMissing a Javadoc comment.239
errorParameter element should be final.239
errorParameter testName should be final.239
error'testName' hides a field.239
errorMissing a Javadoc comment.246
errorMissing a Javadoc comment.252
error'}' should be on the same line.261
errorMissing a Javadoc comment.267
errorParameter testName should be final.267
error'testName' hides a field.267
errorParameter stdErr should be final.267
errorParameter testSuite should be final.283
errorExpected @param tag for 'testSuite'.283
errorMissing a Javadoc comment.307
errorParameter attribute should be final.307
errorMissing a Javadoc comment.313
errorMissing a Javadoc comment.317
errorParameter runTime should be final.317
errorExpected an @return tag.324
errorParameter stdErr should be final.324
errorExpected @param tag for 'stdErr'.324
error'10' is a magic number.325
errorExpected an @return tag.333
errorParameter stdErr should be final.333
errorExpected @param tag for 'stdErr'.333
error'9' is a magic number.334
errorLine has trailing spaces.339
errorLine has trailing spaces.341

org/apache/geronimo/mavenplugins/geronimo/module/DeployModuleMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.42
error'{' should be on the previous line.47
errorVariable 'moduleArchive' must be private and have accessor methods.56
errorLine has trailing spaces.62
errorMissing a Javadoc comment.76
error'}' should be on the same line.84
error'=' is not preceded with whitespace.92
error'=' is not followed by whitespace.92
error'<' is not preceded with whitespace.92
error'<' is not followed by whitespace.92
error'cast' is not followed by whitespace.103
error'=' is not preceded with whitespace.104
error'=' is not followed by whitespace.104
errorAvoid inline conditionals.106
errorMissing a Javadoc comment.122
error'&&' should be on a new line.133
error'&&' should be on a new line.134
error'&&' should be on a new line.135
error'{' should be on the previous line.137
errorMissing a Javadoc comment.144
errorLine has trailing spaces.146
errorMissing a Javadoc comment.161

org/apache/geronimo/mavenplugins/geronimo/reporting/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/mavenplugins/geronimo/server/InstallMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.50
errorVariable 'refresh' must be private and have accessor methods.56
errorVariable 'assemblies' must be private and have accessor methods.63
errorVariable 'assemblyId' must be private and have accessor methods.70
errorVariable 'defaultAssemblyId' must be private and have accessor methods.77
errorVariable 'assemblyArchive' must be private and have accessor methods.86
errorVariable 'installDirectory' must be private and have accessor methods.94
errorVariable 'geronimoHome' must be private and have accessor methods.105
errorMissing a Javadoc comment.107
errorMissing a Javadoc comment.109
errorMissing a Javadoc comment.111
errorMissing a Javadoc comment.113
errorVariable 'installType' must be private and have accessor methods.113
errorMissing a Javadoc comment.115
error'cast' is not followed by whitespace.125
error'}' should be on the same line.134
errorLine is longer than 120 characters.136
errorMissing a Javadoc comment.146
errorLine is longer than 120 characters.154
error'}' should be on the same line.159
error'}' should be on the same line.165
error'}' should be on the same line.197
errorLine is longer than 120 characters.199
error'}' should be on the same line.200
error'}' should be on the same line.203
error'=' is not preceded with whitespace.214
error'=' is not followed by whitespace.214
errorExpected @throws tag for 'Exception'.249
error'}' should be on the same line.261
error'}' should be on the same line.266
errorLine has trailing spaces.283
error'cast' is not followed by whitespace.284
error'cast' is not followed by whitespace.290
error'}' should be on the same line.297

org/apache/geronimo/mavenplugins/geronimo/ServerProxy.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.52
errorMissing a Javadoc comment.53
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.53
errorMissing a Javadoc comment.55
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.63
errorLine is longer than 120 characters.67
errorMissing a Javadoc comment.67
errorComment matches to-do format 'TODO:'.69
errorLine has trailing spaces.71
errorLine is longer than 120 characters.72
errorMissing a Javadoc comment.75
errorLine has trailing spaces.79
errorMissing a Javadoc comment.86
error'url' hides a field.86
error'environment' hides a field.86
errorLine has trailing spaces.89
errorMissing a Javadoc comment.97
errorLine has trailing spaces.100
errorLine has trailing spaces.103
errorMissing a Javadoc comment.110
error'cast' is not followed by whitespace.118
error'}' should be on the same line.125
error'}' should be on the same line.130
errorLine has trailing spaces.136
errorMissing a Javadoc comment.140
errorMissing a Javadoc comment.144
error'}' should be on the same line.147
errorMissing a Javadoc comment.158
errorMissing a Javadoc comment.166
error'=' is not preceded with whitespace.170
error'=' is not followed by whitespace.170
error'<' is not preceded with whitespace.170
error'<' is not followed by whitespace.170
errorMissing a Javadoc comment.177
errorMissing a Javadoc comment.181
error'cast' is not followed by whitespace.182
error'{' is followed by whitespace.182
errorMissing a Javadoc comment.185
error'{' is followed by whitespace.189
errorMissing a Javadoc comment.192
error'cast' is not followed by whitespace.195
error'}' should be on the same line.196

org/apache/geronimo/mavenplugins/geronimo/server/OptionSet.java

ViolationMessageLine
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/mavenplugins/geronimo/server/StopMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.53
errorMissing a Javadoc comment.124
errorMethod length is 180 lines (max allowed is 150).126
errorMissing a Javadoc comment.126
errorLine has trailing spaces.130
error'cast' is not followed by whitespace.132
errorLine has trailing spaces.137
error'1000' is a magic number.139
error'}' should be on the same line.149
errorLine has trailing spaces.153
error'=' is not preceded with whitespace.157
error'=' is not followed by whitespace.157
error'}' should be on the same line.160
error'options' hides a field.165
error'=' is not preceded with whitespace.167
error'=' is not followed by whitespace.167
error'cast' is not followed by whitespace.176
errorLine is longer than 120 characters.188
errorLine has trailing spaces.190
error'}' should be on the same line.193
error'=' is not preceded with whitespace.215
error'=' is not followed by whitespace.215
errorComment matches to-do format 'TODO:'.221
errorLine has trailing spaces.229
error'}' should be on the same line.242
error'1000' is a magic number.268
error'cast' is not followed by whitespace.280
error'1000' is a magic number.291
errorLine has trailing spaces.297
errorMissing a Javadoc comment.307
errorMissing a Javadoc comment.314
error'=' is not preceded with whitespace.317
error'=' is not followed by whitespace.317
error'<' is not preceded with whitespace.317
error'<' is not followed by whitespace.317
errorLine has trailing spaces.321
errorLine is longer than 120 characters.325
error'}' should be on the same line.326
error'cast' is not followed by whitespace.346
errorLine has trailing spaces.347
error'}' should be on the same line.351
error'}' should be on the same line.355
errorMissing a Javadoc comment.364
errorMissing a Javadoc comment.371
errorMissing a Javadoc comment.378

org/apache/geronimo/mavenplugins/geronimo/module/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/mavenplugins/geronimo/server/InstallAssemblyMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/module/DeployMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/module/ModuleMojoSupport.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
error'{' should be on the previous line.51
errorMissing a Javadoc comment.52
errorVariable 'modules' must be private and have accessor methods.59
errorExpected @throws tag for 'IOException'.74
errorExpected @throws tag for 'DeploymentManagerCreationException'.74
errorExpected @throws tag for 'InterruptedException'.97
errorComment matches to-do format 'TODO:'.101
errorLine has trailing spaces.103
errorExpected @throws tag for 'Exception'.148
errorLine has trailing spaces.152
errorArray brackets at illegal position.156
errorMissing a Javadoc comment.167
errorArray brackets at illegal position.167
errorComment matches to-do format 'TODO:'.186
errorLine has trailing spaces.188
errorMissing a Javadoc comment.189
error'=' is not preceded with whitespace.196
error'=' is not followed by whitespace.196
error'<' is not preceded with whitespace.196
error'<' is not followed by whitespace.196
errorLine has trailing spaces.198
errorMissing a Javadoc comment.224
error'=' is not preceded with whitespace.231
error'=' is not followed by whitespace.231
error'<' is not preceded with whitespace.231
error'<' is not followed by whitespace.231
errorMissing a Javadoc comment.258
error'=' is not preceded with whitespace.267
error'=' is not followed by whitespace.267
error'<' is not preceded with whitespace.267
error'<' is not followed by whitespace.267
errorMissing a Javadoc comment.289
errorMissing a Javadoc comment.293
error'=' is not preceded with whitespace.297
error'=' is not followed by whitespace.297
error'<' is not preceded with whitespace.297
error'<' is not followed by whitespace.297
errorAvoid inline conditionals.299

org/apache/geronimo/mavenplugins/geronimo/reporting/Reporter.java

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

org/apache/geronimo/mavenplugins/geronimo/ModuleConfig.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.32
errorLine has trailing spaces.41
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.46

org/apache/geronimo/mavenplugins/geronimo/reporting/Reportable.java

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

org/apache/geronimo/mavenplugins/geronimo/server/WaitForServerMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.39
errorMissing a Javadoc comment.47
errorComment matches to-do format 'TODO:'.50
errorMissing a Javadoc comment.53
error'1000' is a magic number.67
error'1000' is a magic number.86
errorMissing a Javadoc comment.96

org/apache/geronimo/mavenplugins/geronimo/AssemblyConfig.java

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

org/apache/geronimo/mavenplugins/geronimo/server/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/mavenplugins/geronimo/module/StartStopUndeployMojoSupport.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.36
errorComment matches to-do format 'TODO:'.38
errorLine has trailing spaces.40
errorVariable 'moduleId' must be private and have accessor methods.46
errorMissing a Javadoc comment.48
error'}' should be on the same line.60
error'}' should be on the same line.66
errorMissing a Javadoc comment.72
errorParameter moduleId should be final.72
error'moduleId' hides a field.72
error'4' is a magic number.78
error'3' is a magic number.84
errorLine has trailing spaces.85

org/apache/geronimo/mavenplugins/geronimo/module/StartModuleMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.26
error'{' should be on the previous line.31
errorComment matches to-do format 'TODO:'.33
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40

org/apache/geronimo/mavenplugins/geronimo/GeronimoMojoSupport.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
error'{' should be on the previous line.36
errorVariable 'hostname' must be private and have accessor methods.54
errorVariable 'port' must be private and have accessor methods.61
errorVariable 'username' must be private and have accessor methods.68
errorVariable 'password' must be private and have accessor methods.75
errorVariable 'project' must be private and have accessor methods.88
errorMissing a Javadoc comment.90
errorVariable 'artifactFactory' must be private and have accessor methods.101
errorMissing a Javadoc comment.103
errorVariable 'artifactResolver' must be private and have accessor methods.114
errorMissing a Javadoc comment.116
errorVariable 'artifactRepository' must be private and have accessor methods.127
errorMissing a Javadoc comment.129

org/apache/geronimo/mavenplugins/geronimo/server/StartMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/module/UndeployMojo.java

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

org/apache/geronimo/mavenplugins/geronimo/module/StopModuleMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.24
errorLine has trailing spaces.26
error'{' should be on the previous line.31
errorComment matches to-do format 'TODO:'.33
errorLine has trailing spaces.35
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40
errorLine has trailing spaces.45

org/apache/geronimo/mavenplugins/geronimo/reporting/ReportingMojoSupport.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.33
error'{' should be on the previous line.38
errorVariable 'logOutput' must be private and have accessor methods.44
errorComment matches to-do format 'TODO:'.47
errorLine has trailing spaces.52
errorVariable 'logOutputDirectory' must be private and have accessor methods.55
errorVariable 'logFile' must be private and have accessor methods.63
errorVariable 'reporters' must be private and have accessor methods.70
errorExpected @throws tag for 'MojoExecutionException'.76
errorExpected @throws tag for 'MojoFailureException'.76
error'}' should be on the same line.82
errorLine has trailing spaces.87
error'}' should be on the same line.92
error'catch' is not followed by whitespace.93
error'}' should be on the same line.98
error'}' should be on the same line.103
error'}' should be on the same line.107
errorMissing a Javadoc comment.113
errorMissing a Javadoc comment.132
errorVariable 'start' must be private and have accessor methods.138
error'=' is not followed by whitespace.153
errorLine has trailing spaces.157
errorMissing a Javadoc comment.158
error'=' is not preceded with whitespace.165
error'=' is not followed by whitespace.165
errorMissing a Javadoc comment.170
error'=' is not preceded with whitespace.175
error'=' is not followed by whitespace.175

org/apache/geronimo/mavenplugins/geronimo/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/mavenplugins/geronimo/module/UndeployModuleMojo.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.23
errorLine has trailing spaces.24
errorLine has trailing spaces.26
error'{' should be on the previous line.31
errorComment matches to-do format 'TODO:'.33
errorLine has trailing spaces.35
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40