Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
3000367

Rules

RulesViolationsSeverity
PackageHtml5error Error
NewlineAtEndOfFile0error Error
Translation0error Error
JavadocMethod
  • allowUndeclaredRTE: "true"
169error Error
JavadocType0error Error
JavadocVariable52error Error
JavadocStyle20error Error
ConstantName1error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName1error Error
TypeName0error Error
RegexpHeader
  • header
    1: /\*\s*
    2:  \*\s*\$Id.*\$
    3:  \*\s*
    4:  \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.
    5:  \*\s*
    6:  \*\s*Licensed under the Apache License, Version 2\.0 \(the .License.\);
    7:  \*\s*you may not use this file except in compliance with the License\.
    8:  \*\s*You may obtain a copy of the License at
    9:  \*\s*
    10:  \*\s*http://www\.apache\.org/licenses/LICENSE\-2\.0
    11:  \*\s*
    12:  \*\s*Unless required by applicable law or agreed to in writing, software
    13:  \*\s*distributed under the License is distributed on an .AS IS. BASIS,
    14:  \*\s*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
    15:  \*\s*See the License for the specific language governing permissions and
    16:  \*\s*limitations under the License\.
    17:  \*/\s*
23error Error
AvoidStarImport3error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • ignorePattern: "^ \* @version .*$"
  • max: "120"
0error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0error Error
NoWhitespaceBefore0error Error
OperatorWrap5error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter1error Error
WhitespaceAround35error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly2error Error
NeedBraces8error Error
RightCurly4error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber24error Error
MissingSwitchDefault0error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier
  • protectedAllowed: "true"
1error Error
ArrayTypeStyle13error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0error Error
TodoComment0error Error
UpperEll0error Error

Files

Filesinfowarningerror
org/apache/struts/webapp/dispatch/LookupDispatchExampleAction.java0010
org/apache/struts/webapp/dispatch/MappingDispatchExampleAction.java009
org/apache/struts/webapp/exercise/SuccessAction.java0010
org/apache/struts/webapp/validator/TypeAction.java001
org/apache/struts/webapp/validator/MultiRegistrationAction.java006
org/apache/struts/webapp/validator/RegistrationForm.java0022
org/apache/struts/webapp/exercise/package.html001
org/apache/struts/webapp/dispatch/DispatchExampleAction.java009
org/apache/struts/webapp/validator/LocaleAction.java007
org/apache/struts/webapp/dispatch/EventDispatchActionExample.java009
org/apache/struts/webapp/exercise/ImageAction.java007
org/apache/struts/webapp/validator/package.html001
org/apache/struts/webapp/upload/UploadAction.java0022
org/apache/struts/webapp/validator/ShowFileAction.java007
org/apache/struts/webapp/validator/CityStateZip.java0011
org/apache/struts/webapp/examples/CustomActionForm.java003
org/apache/struts/webapp/upload/UploadForm.java0030
org/apache/struts/webapp/examples/CustomFormBean.java001
org/apache/struts/webapp/validator/RegistrationAction.java001
org/apache/struts/webapp/dispatch/ActionDispatcherExample.java0011
org/apache/struts/webapp/exercise/HtmlSettersAction.java003
org/apache/struts/webapp/validator/EditTypeAction.java002
org/apache/struts/webapp/dispatch/package.html001
org/apache/struts/webapp/exercise/TestBean.java0092
org/apache/struts/webapp/validator/TypeForm.java0072
org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java0011
org/apache/struts/webapp/examples/CustomActionForward.java003
org/apache/struts/webapp/upload/package.html001
org/apache/struts/webapp/examples/package.html001
org/apache/struts/webapp/examples/CustomActionMapping.java003

Details

org/apache/struts/webapp/dispatch/LookupDispatchExampleAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.43
errorExpected an @return tag.63
error'+' is not preceded with whitespace.72
error'+' is not followed by whitespace.72
errorExpected an @return tag.89
error'+' is not preceded with whitespace.97
error'+' is not followed by whitespace.97

org/apache/struts/webapp/dispatch/MappingDispatchExampleAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorExpected an @return tag.52
error'+' is not preceded with whitespace.61
error'+' is not followed by whitespace.61
errorExpected an @return tag.78
error'+' is not preceded with whitespace.86
error'+' is not followed by whitespace.86

org/apache/struts/webapp/exercise/SuccessAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.42
errorName 'SUCCESS' must match pattern '^[a-z][a-zA-Z0-9]*$'.42
errorVariable 'SUCCESS' must be private and have accessor methods.42
errorExpected an @return tag.47
errorExpected @param tag for 'mapping'.48
errorExpected @param tag for 'form'.49
errorExpected @param tag for 'request'.50
errorExpected @param tag for 'response'.51
errorExpected @throws tag for 'Exception'.52

org/apache/struts/webapp/validator/TypeAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4

org/apache/struts/webapp/validator/MultiRegistrationAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.62
error'if' construct must use '{}'s.90
error'if' construct must use '{}'s.93
error'{' is not preceded with whitespace.99
error'{' is not preceded with whitespace.103

org/apache/struts/webapp/validator/RegistrationForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.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
errorMissing a Javadoc comment.78
errorMissing a Javadoc comment.82
errorMissing a Javadoc comment.86
errorMissing a Javadoc comment.90
errorMissing a Javadoc comment.94
errorMissing a Javadoc comment.98

org/apache/struts/webapp/exercise/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/dispatch/DispatchExampleAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorExpected an @return tag.52
error'+' is not preceded with whitespace.61
error'+' is not followed by whitespace.61
errorExpected an @return tag.78
error'+' is not preceded with whitespace.86
error'+' is not followed by whitespace.86

org/apache/struts/webapp/validator/LocaleAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorUnclosed HTML tag found: <code>ActionForm, including a {@link DynaActionForm}, may be64
error'&&' should be on a new line.105
error'if' construct must use '{}'s.114
error'==' is not preceded with whitespace.114
error'==' is not followed by whitespace.114
error'else' construct must use '{}'s.115

org/apache/struts/webapp/dispatch/EventDispatchActionExample.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorExpected an @return tag.52
error'+' is not preceded with whitespace.61
error'+' is not followed by whitespace.61
errorExpected an @return tag.78
error'+' is not preceded with whitespace.86
error'+' is not followed by whitespace.86

org/apache/struts/webapp/exercise/ImageAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.53
errorExpected @param tag for 'mapping'.54
errorExpected @param tag for 'form'.55
errorExpected @param tag for 'request'.56
errorExpected @param tag for 'response'.57
error'2048' is a magic number.64

org/apache/struts/webapp/validator/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/upload/UploadAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorFirst sentence should end with a period.43
error'{' should be on the previous line.54
errorMissing a Javadoc comment.55
error'{' should be on the previous line.67
error'=' is not preceded with whitespace.83
error'4' is a magic number.101
error'*' is not preceded with whitespace.101
error'*' is not followed by whitespace.101
error'1024000' is a magic number.101
error'8192' is a magic number.103
error'8192' is a magic number.105
error'}' should be on the same line.109
error'+' should be on a new line.111
error'+' should be on a new line.112
error'+' should be on a new line.113
error'+' should be on a new line.114
error'}' should be on the same line.117
error'8192' is a magic number.122
error'8192' is a magic number.123
error'}' should be on the same line.131
error'}' should be on the same line.134

org/apache/struts/webapp/validator/ShowFileAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.45
errorMissing a Javadoc comment.47
error'if' is not followed by whitespace.57
error'+' is not preceded with whitespace.61
error'+' is not followed by whitespace.61
error'1000' is a magic number.64

org/apache/struts/webapp/validator/CityStateZip.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.33
errorMissing a Javadoc comment.34
error'3' is a magic number.34
errorMissing a Javadoc comment.37
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.53
errorMissing a Javadoc comment.57

org/apache/struts/webapp/examples/CustomActionForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorUsing the '.*' form of import should be avoided - org.apache.struts.action.*.25
errorExpected an @return tag.52

org/apache/struts/webapp/upload/UploadForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorFirst sentence should end with a period.45
errorFirst sentence should end with a period.50
errorFirst sentence should end with a period.55
errorFirst sentence should end with a period.60
errorFirst sentence should end with a period.65
errorFirst sentence should end with a period.70
errorExpected an @return tag.73
errorFirst sentence should end with a period.77
errorExpected @param tag for 'theText'.80
errorFirst sentence should end with a period.84
errorExpected an @return tag.87
errorFirst sentence should end with a period.91
errorExpected @param tag for 'queryParam'.94
errorFirst sentence should end with a period.98
errorExpected an @return tag.101
errorFirst sentence should end with a period.105
errorExpected @param tag for 'theFile'.108
errorFirst sentence should end with a period.112
errorExpected @param tag for 'writeFile'.115
errorFirst sentence should end with a period.119
errorExpected an @return tag.122
errorFirst sentence should end with a period.126
errorExpected @param tag for 'filePath'.129
errorFirst sentence should end with a period.133
errorExpected an @return tag.136
errorMissing a Javadoc comment.140
errorExpected an @return tag.148
errorExpected @param tag for 'mapping'.149
errorExpected @param tag for 'request'.150

org/apache/struts/webapp/examples/CustomFormBean.java

ViolationMessageLine
errorExpected an @return tag.47

org/apache/struts/webapp/validator/RegistrationAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4

org/apache/struts/webapp/dispatch/ActionDispatcherExample.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorExpected an @return tag.57
errorExpected an @return tag.77
error'+' is not preceded with whitespace.86
error'+' is not followed by whitespace.86
errorExpected an @return tag.103
error'+' is not preceded with whitespace.111
error'+' is not followed by whitespace.111

org/apache/struts/webapp/exercise/HtmlSettersAction.java

ViolationMessageLine
errorExpected an @return tag.53
error'if' construct must use '{}'s.59
error'else' construct must use '{}'s.61

org/apache/struts/webapp/validator/EditTypeAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected @param tag for 'form'.82

org/apache/struts/webapp/dispatch/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/exercise/TestBean.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.56
error'10' is a magic number.58
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.88
errorMissing a Javadoc comment.92
errorArray brackets at illegal position.92
errorMissing a Javadoc comment.102
errorMissing a Javadoc comment.106
errorMissing a Javadoc comment.117
errorMissing a Javadoc comment.121
errorArray brackets at illegal position.121
error'321.0' is a magic number.129
errorMissing a Javadoc comment.131
errorMissing a Javadoc comment.135
errorFirst sentence should end with a period.140
errorMissing a Javadoc comment.145
errorMissing a Javadoc comment.149
error'123.0' is a magic number.157
errorMissing a Javadoc comment.159
errorMissing a Javadoc comment.163
errorArray brackets at illegal position.171
error'10' is a magic number.171
error'20' is a magic number.171
error'30' is a magic number.171
error'40' is a magic number.171
errorMissing a Javadoc comment.173
errorMissing a Javadoc comment.177
errorArray brackets at illegal position.177
errorMissing a Javadoc comment.181
errorArray brackets at illegal position.181
error'10' is a magic number.181
error'20' is a magic number.181
error'30' is a magic number.181
error'40' is a magic number.181
errorMissing a Javadoc comment.183
errorMissing a Javadoc comment.187
errorMissing a Javadoc comment.192
errorArray brackets at illegal position.192
errorMissing a Javadoc comment.194
errorMissing a Javadoc comment.198
errorArray brackets at illegal position.198
error'123' is a magic number.205
errorMissing a Javadoc comment.207
errorMissing a Javadoc comment.211
error'321' is a magic number.219
errorMissing a Javadoc comment.221
errorMissing a Javadoc comment.225
errorMissing a Javadoc comment.236
errorMissing a Javadoc comment.240
errorArray brackets at illegal position.240
errorMissing a Javadoc comment.250
error'if' construct must use '{}'s.251
errorMissing a Javadoc comment.262
errorMissing a Javadoc comment.266
error'987' is a magic number.274
errorMissing a Javadoc comment.276
errorMissing a Javadoc comment.280
errorMissing a Javadoc comment.290
errorMissing a Javadoc comment.294
errorArray brackets at illegal position.302
errorMissing a Javadoc comment.305
errorMissing a Javadoc comment.309
errorArray brackets at illegal position.309
errorMissing a Javadoc comment.313
errorArray brackets at illegal position.313
errorMissing a Javadoc comment.316
errorMissing a Javadoc comment.320
errorMissing a Javadoc comment.325
errorArray brackets at illegal position.325
errorMissing a Javadoc comment.327
errorMissing a Javadoc comment.331
errorArray brackets at illegal position.331
errorMissing a Javadoc comment.340
errorMissing a Javadoc comment.344
errorMissing a Javadoc comment.353
errorMissing a Javadoc comment.357
errorMissing a Javadoc comment.367
errorMissing a Javadoc comment.371
errorMissing a Javadoc comment.381
errorMissing a Javadoc comment.385
errorMissing a Javadoc comment.395
errorMissing a Javadoc comment.403
errorMissing a Javadoc comment.412
errorMissing a Javadoc comment.419
errorMissing a Javadoc comment.429
errorMissing a Javadoc comment.437
errorMissing a Javadoc comment.446
errorMissing a Javadoc comment.453
errorExpected @param tag for 'mapping'.464
errorExpected @param tag for 'request'.464
error'if' construct must use '{}'s.471

org/apache/struts/webapp/validator/TypeForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.47
errorMissing a Javadoc comment.48
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.50
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.53
errorMissing a Javadoc comment.54
errorMissing a Javadoc comment.55
errorMissing a Javadoc comment.56
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.58
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.67
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
errorFirst sentence should end with a period.127
errorExpected an @return tag.131
errorFirst sentence should end with a period.135
errorExpected @param tag for 'sFloatRange'.139
errorMissing a Javadoc comment.143
errorMissing a Javadoc comment.147
errorMissing a Javadoc comment.151
errorMissing a Javadoc comment.155
errorMissing a Javadoc comment.159
errorMissing a Javadoc comment.163
errorMissing a Javadoc comment.166
errorMissing a Javadoc comment.170
errorMissing a Javadoc comment.174
errorMissing a Javadoc comment.178
errorMissing a Javadoc comment.182
errorMissing a Javadoc comment.186
errorMissing a Javadoc comment.190
errorMissing a Javadoc comment.194
errorMissing a Javadoc comment.198
errorMissing a Javadoc comment.202
errorMissing a Javadoc comment.206
errorMissing a Javadoc comment.210
errorMissing a Javadoc comment.214
errorMissing a Javadoc comment.218
errorMissing a Javadoc comment.222
errorMissing a Javadoc comment.226
errorMissing a Javadoc comment.230
errorMissing a Javadoc comment.234
errorMissing a Javadoc comment.238
errorMissing a Javadoc comment.242
error'cast' is not followed by whitespace.253
error'||' is not preceded with whitespace.254
error'3' is a magic number.285

org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorExpected an @return tag.57
errorExpected an @return tag.77
error'+' is not preceded with whitespace.86
error'+' is not followed by whitespace.86
errorExpected an @return tag.103
error'+' is not preceded with whitespace.111
error'+' is not followed by whitespace.111

org/apache/struts/webapp/examples/CustomActionForward.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorUsing the '.*' form of import should be avoided - org.apache.struts.action.*.25
errorExpected an @return tag.52

org/apache/struts/webapp/upload/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/examples/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/examples/CustomActionMapping.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorUsing the '.*' form of import should be avoided - org.apache.struts.action.*.25
errorExpected an @return tag.52