Checkstyle Results
The following document contains the results of Checkstyle .
Summary
Files | Infos | Warnings | Errors |
---|---|---|---|
3 | 0 | 0 | 39 |
Files
Files | I | W | E |
---|---|---|---|
org/apache/myfaces/commons/util/ClassUtils.java | 0 | 0 | 10 |
org/apache/myfaces/commons/util/MessageUtils.java | 0 | 0 | 24 |
org/apache/myfaces/commons/util/TagUtils.java | 0 | 0 | 5 |
Rules
Rules | Violations | Severity |
---|---|---|
ConstantName
|
0 | Error |
LocalVariableName | 0 | Error |
MethodName
|
0 | Error |
PackageName | 0 | Error |
LocalFinalVariableName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName
|
0 | Error |
Header
|
3 | Error |
AvoidStarImport | 1 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 1 | Error |
FileLength | 0 | Error |
LineLength
|
4 | Error |
MethodLength
|
0 | Error |
ParameterNumber
|
0 | Error |
TabCharacter | 0 | Error |
NeedBraces | 14 | Error |
LeftCurly
|
11 | Error |
RightCurly
|
4 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
InnerAssignment | 0 | Error |
DefaultComesLast | 0 | Error |
MissingSwitchDefault | 0 | Error |
FallThrough | 0 | Error |
MultipleVariableDeclarations | 1 | Error |
UpperEll | 0 | Error |
Details
org/apache/myfaces/commons/util/ClassUtils.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.context.FacesContext. | 25 | |
Using the '.*' form of import should be avoided - java.util.*. | 29 | |
'if' construct must use '{}'s. | 127 | |
'if' construct must use '{}'s. | 180 | |
Line is longer than 120 characters. | 237 | |
'if' construct must use '{}'s. | 263 | |
'if' construct must use '{}'s. | 274 | |
Each variable declaration must be in its own statement. | 281 | |
Line is longer than 120 characters. | 340 |
org/apache/myfaces/commons/util/MessageUtils.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 140 | |
'if' construct must use '{}'s. | 158 | |
'if' construct must use '{}'s. | 178 | |
'}' should be alone on a line. | 180 | |
'{' should be on a new line. | 201 | |
'{' should be on a new line. | 217 | |
'{' should be on a new line. | 239 | |
'{' should be on a new line. | 261 | |
'{' should be on a new line. | 265 | |
'if' construct must use '{}'s. | 267 | |
'}' should be alone on a line. | 269 | |
'{' should be on a new line. | 269 | |
Line is longer than 120 characters. | 283 | |
'{' should be on a new line. | 326 | |
'{' should be on a new line. | 343 | |
'if' construct must use '{}'s. | 370 | |
'if' construct must use '{}'s. | 373 | |
'}' should be alone on a line. | 379 | |
'}' should be alone on a line. | 394 | |
Line is longer than 120 characters. | 396 | |
'{' should be on a new line. | 410 | |
'if' construct must use '{}'s. | 412 | |
'if' construct must use '{}'s. | 416 |
org/apache/myfaces/commons/util/TagUtils.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'if' construct must use '{}'s. | 61 | |
'if' construct must use '{}'s. | 189 | |
'{' should be on a new line. | 229 | |
'if' construct must use '{}'s. | 256 |