Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
28 0 0 224

Files

Files Infos Warnings Errors
org/apache/struts/webapp/example/AbstractBacking.java 0 0 6
org/apache/struts/webapp/example/ApplicationMapping.java 0 0 3
org/apache/struts/webapp/example/CheckLogonTag.java 0 0 7
org/apache/struts/webapp/example/Constants.java 0 0 3
org/apache/struts/webapp/example/EditRegistrationAction.java 0 0 7
org/apache/struts/webapp/example/EditSubscriptionAction.java 0 0 5
org/apache/struts/webapp/example/ExpiredPasswordException.java 0 0 1
org/apache/struts/webapp/example/IndexBacking.java 0 0 8
org/apache/struts/webapp/example/LinkSubscriptionTag.java 0 0 6
org/apache/struts/webapp/example/LinkUserTag.java 0 0 8
org/apache/struts/webapp/example/LogoffAction.java 0 0 4
org/apache/struts/webapp/example/LogonAction.java 0 0 9
org/apache/struts/webapp/example/LogonForm.java 0 0 6
org/apache/struts/webapp/example/MainMenuBacking.java 0 0 5
org/apache/struts/webapp/example/RegistrationBacking.java 0 0 9
org/apache/struts/webapp/example/RegistrationForm.java 0 0 12
org/apache/struts/webapp/example/SaveRegistrationAction.java 0 0 10
org/apache/struts/webapp/example/SaveSubscriptionAction.java 0 0 11
org/apache/struts/webapp/example/Subscription.java 0 0 17
org/apache/struts/webapp/example/SubscriptionForm.java 0 0 14
org/apache/struts/webapp/example/User.java 0 0 24
org/apache/struts/webapp/example/UserDatabase.java 0 0 2
org/apache/struts/webapp/example/memory/MemoryDatabasePlugIn.java 0 0 10
org/apache/struts/webapp/example/memory/MemorySubscription.java 0 0 12
org/apache/struts/webapp/example/memory/MemoryUser.java 0 0 17
org/apache/struts/webapp/example/memory/MemoryUserDatabase.java 0 0 6
org/apache/struts/webapp/example/memory/package.html 0 0 1
org/apache/struts/webapp/example/package.html 0 0 1

Rules

Rules Violations Severity
PackageHtml 2 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
JavadocMethod
  • allowUndeclaredRTE: "true"
99 Errors Error
JavadocType 0 Errors Error
JavadocVariable 6 Errors Error
JavadocStyle 2 Errors Error
ConstantName 4 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors 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*
26 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "^ \* @version .*$"
0 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 23 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
TabCharacter 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 2 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 24 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 0 Errors Error
NeedBraces 27 Errors Error
RightCurly 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 3 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
FinalClass 0 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • protectedAllowed: "true"
0 Errors Error
ArrayTypeStyle 2 Errors Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

org/apache/struts/webapp/example/AbstractBacking.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 47
Errors Expected an @return tag. 85
Errors Expected an @return tag. 98
Errors Expected an @return tag. 111
Errors Expected an @return tag. 124

org/apache/struts/webapp/example/ApplicationMapping.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 69
Errors Expected an @return tag. 91

org/apache/struts/webapp/example/CheckLogonTag.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 64
Errors Expected an @return tag. 86
Errors Expected an @return tag. 113
Errors Expected an @return tag. 127
Errors 'if' construct must use '{}'s. 132
Errors 'if' construct must use '{}'s. 136

org/apache/struts/webapp/example/Constants.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Utility classes should not have a public or default constructor. 33
Errors Name 'Package' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39

org/apache/struts/webapp/example/EditRegistrationAction.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 80
Errors 'if' construct must use '{}'s. 89
Errors '+' should be on a new line. 92
Errors 'if' construct must use '{}'s. 116
Errors 'else' construct must use '{}'s. 118
Errors 'if' construct must use '{}'s. 133

org/apache/struts/webapp/example/EditSubscriptionAction.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 79
Errors '+' should be on a new line. 93
Errors '+' should be on a new line. 112
Errors 'if' construct must use '{}'s. 145

org/apache/struts/webapp/example/ExpiredPasswordException.java

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

org/apache/struts/webapp/example/IndexBacking.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 43
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 43
Errors Expected an @return tag. 52
Errors First sentence should end with a period. 64
Errors Expected @param tag for 'actionEvent'. 68
Errors '{' is not preceded with whitespace. 68
Errors Expected an @return tag. 75

org/apache/struts/webapp/example/LinkSubscriptionTag.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 51
Errors Missing a Javadoc comment. 61
Errors Extra HTML tag found: </p> 70
Errors Expected an @return tag. 72
Errors Expected an @return tag. 82

org/apache/struts/webapp/example/LinkUserTag.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 78
Errors Expected an @return tag. 100
Errors Expected an @return tag. 127
Errors 'if' construct must use '{}'s. 140
Errors 'if' construct must use '{}'s. 143
Errors 'else' construct must use '{}'s. 145
Errors Expected an @return tag. 178

org/apache/struts/webapp/example/LogoffAction.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 75
Errors '+' should be on a new line. 88
Errors '+' should be on a new line. 93

org/apache/struts/webapp/example/LogonAction.java

Violation Message Line
Errors Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'AppException'. 0
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 79
Errors 'if' construct must use '{}'s. 96
Errors 'if' construct must use '{}'s. 101
Errors 'if' construct must use '{}'s. 103
Errors '+' should be on a new line. 118
Errors 'if' construct must use '{}'s. 124
Errors 'else' construct must use '{}'s. 126

org/apache/struts/webapp/example/LogonForm.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 69
Errors Expected an @return tag. 91
Errors Expected an @return tag. 137
Errors 'if' construct must use '{}'s. 141
Errors 'if' construct must use '{}'s. 143

org/apache/struts/webapp/example/MainMenuBacking.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 41
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 41
Errors Expected an @return tag. 50
Errors Expected an @return tag. 67

org/apache/struts/webapp/example/RegistrationBacking.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 42
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 42
Errors Missing a Javadoc comment. 48
Errors Expected an @return tag. 54
Errors Expected an @return tag. 80
Errors Expected an @return tag. 101
Errors Expected an @return tag. 126
Errors Expected an @return tag. 152

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

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 112
Errors Expected an @return tag. 134
Errors Expected an @return tag. 156
Errors Expected an @return tag. 178
Errors Expected an @return tag. 200
Errors Expected an @return tag. 222
Errors Expected an @return tag. 244
Errors Expected an @return tag. 295
Errors '||' should be on a new line. 302
Errors '||' should be on a new line. 303
Errors '&&' should be on a new line. 304

org/apache/struts/webapp/example/SaveRegistrationAction.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 84
Errors '+' should be on a new line. 100
Errors '+' should be on a new line. 117
Errors '&&' should be on a new line. 141
Errors '<' is not followed by whitespace. 149
Errors '||' should be on a new line. 174
Errors '+' should be on a new line. 200
Errors 'if' construct must use '{}'s. 207
Errors 'else' construct must use '{}'s. 209

org/apache/struts/webapp/example/SaveSubscriptionAction.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 82
Errors '+' should be on a new line. 97
Errors '+' should be on a new line. 114
Errors '+' should be on a new line. 126
Errors '+' should be on a new line. 134
Errors '+' should be on a new line. 145
Errors '+' should be on a new line. 146
Errors 'if' construct must use '{}'s. 172
Errors 'if' construct must use '{}'s. 192
Errors 'else' construct must use '{}'s. 194

org/apache/struts/webapp/example/Subscription.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 43
Errors Redundant 'public' modifier. 43
Errors Redundant 'public' modifier. 51
Errors Expected an @return tag. 57
Errors Redundant 'public' modifier. 57
Errors Expected an @return tag. 63
Errors Redundant 'public' modifier. 63
Errors Redundant 'public' modifier. 71
Errors Expected an @return tag. 77
Errors Redundant 'public' modifier. 77
Errors Redundant 'public' modifier. 85
Errors Expected an @return tag. 91
Errors Redundant 'public' modifier. 91
Errors Expected an @return tag. 97
Errors Redundant 'public' modifier. 97
Errors Redundant 'public' modifier. 105

org/apache/struts/webapp/example/SubscriptionForm.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 98
Errors Expected an @return tag. 120
Errors Expected an @return tag. 141
Errors Expected an @return tag. 163
Errors Expected an @return tag. 185
Errors Expected an @return tag. 207
Errors Expected an @return tag. 257
Errors 'if' construct must use '{}'s. 262
Errors 'if' construct must use '{}'s. 265
Errors 'if' construct must use '{}'s. 268
Errors 'if' construct must use '{}'s. 271
Errors 'if' construct must use '{}'s. 274
Errors Expected an @return tag. 286

org/apache/struts/webapp/example/User.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 44
Errors Redundant 'public' modifier. 44
Errors Expected an @return tag. 50
Errors Redundant 'public' modifier. 50
Errors Redundant 'public' modifier. 58
Errors Expected an @return tag. 64
Errors Redundant 'public' modifier. 64
Errors Redundant 'public' modifier. 72
Errors Expected an @return tag. 78
Errors Redundant 'public' modifier. 78
Errors Redundant 'public' modifier. 86
Errors Expected an @return tag. 92
Errors Redundant 'public' modifier. 92
Errors Redundant 'public' modifier. 100
Errors Expected an @return tag. 107
Errors Redundant 'public' modifier. 107
Errors Expected an @return tag. 113
Errors Redundant 'public' modifier. 113
Errors Expected an @return tag. 128
Errors Redundant 'public' modifier. 128
Errors Expected an @return tag. 137
Errors Redundant 'public' modifier. 137
Errors Redundant 'public' modifier. 149

org/apache/struts/webapp/example/UserDatabase.java

Violation Message Line
Errors Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'IllegalArgumentExceptionif'. 0
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4

org/apache/struts/webapp/example/memory/MemoryDatabasePlugIn.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 92
Errors Missing a Javadoc comment. 96
Errors '+' should be on a new line. 139
Errors '+' should be on a new line. 156
Errors Expected an @return tag. 205
Errors '1024' is a magic number. 225
Errors '1024' is a magic number. 228
Errors Array brackets at illegal position. 229
Errors '1024' is a magic number. 229

org/apache/struts/webapp/example/memory/MemorySubscription.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 84
Errors Missing a Javadoc comment. 88
Errors Expected an @return tag. 96
Errors Missing a Javadoc comment. 106
Errors Missing a Javadoc comment. 110
Errors Missing a Javadoc comment. 120
Errors Missing a Javadoc comment. 124
Errors Expected an @return tag. 132
Errors Missing a Javadoc comment. 142
Errors Missing a Javadoc comment. 146
Errors Expected an @return tag. 157

org/apache/struts/webapp/example/memory/MemoryUser.java

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Expected an @return tag. 90
Errors Missing a Javadoc comment. 100
Errors Missing a Javadoc comment. 104
Errors Missing a Javadoc comment. 114
Errors Missing a Javadoc comment. 118
Errors Missing a Javadoc comment. 128
Errors Missing a Javadoc comment. 132
Errors Missing a Javadoc comment. 142
Errors Missing a Javadoc comment. 146
Errors Expected an @return tag. 155
Errors Array brackets at illegal position. 158
Errors Expected an @return tag. 168
Errors Expected an @return tag. 185
Errors '+' should be on a new line. 190
Errors Expected an @return tag. 210
Errors Expected an @return tag. 244

org/apache/struts/webapp/example/memory/MemoryUserDatabase.java

Violation Message Line
Errors Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'IllegalArgumentExceptionif'. 0
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 83
Errors Missing a Javadoc comment. 85
Errors Missing a Javadoc comment. 87
Errors Missing a Javadoc comment. 91

org/apache/struts/webapp/example/memory/package.html

Violation Message Line
Errors Missing package documentation file. 0

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

Violation Message Line
Errors Missing package documentation file. 0