Rules |
Violations |
Severity |
AbstractClassName |
9 |
Info |
ConstantName |
0 |
Warning |
LocalFinalVariableName |
0 |
Warning |
LocalVariableName- tokens: "PARAMETER_DEF,VARIABLE_DEF"
|
0 |
Warning |
MemberName |
0 |
Warning |
MethodName |
0 |
Warning |
PackageName- format: "^pl\.edu\.agh\.cast(\.[a-z][a-z0-9]*)*$"
|
0 |
Warning |
ParameterName |
0 |
Warning |
StaticVariableName |
0 |
Warning |
TypeName |
0 |
Warning |
AvoidStarImport |
0 |
Warning |
IllegalImport |
0 |
Warning |
RedundantImport |
0 |
Warning |
UnusedImports |
17 |
Warning |
ImportOrder- separated: "true"
- groups: "java,javax,org,pl.edu.agh.cast"
|
3 |
Warning |
LineLength
|
25 |
Warning |
MethodLength- tokens: "CTOR_DEF,METHOD_DEF"
|
0 |
Warning |
AnonInnerLength
|
0 |
Warning |
ParameterNumber- tokens: "CTOR_DEF,METHOD_DEF"
|
0 |
Warning |
MethodParamPad |
0 |
Warning |
NoWhitespaceAfter- tokens: "LNOT,DOT,BNOT,DEC,UNARY_MINUS,UNARY_PLUS,INC,TYPECAST"
|
0 |
Warning |
NoWhitespaceBefore- allowLineBreaks: "true"
- tokens: "SEMI,DOT,POST_DEC,POST_INC"
|
0 |
Warning |
OperatorWrap- tokens: "COLON,NOT_EQUAL,QUESTION,DIV,BXOR,MINUS,STAR,BAND,LAND,MOD,PLUS,LT,SL,LE,EQUAL,GT,GE,SR,BSR,BOR,LOR,LITERAL_INSTANCEOF"
|
0 |
Warning |
ParenPad- tokens: "LPAREN,RPAREN,CTOR_CALL,METHOD_CALL,SUPER_CTOR_CALL"
|
1 |
Warning |
TypecastParenPad- tokens: "RPAREN,TYPECAST"
|
0 |
Warning |
WhitespaceAfter
|
0 |
Warning |
ModifierOrder |
0 |
Warning |
AvoidNestedBlocks- allowInSwitchCase: "true"
|
0 |
Warning |
EmptyBlock- tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,STATIC_INIT,LITERAL_TRY,LITERAL_WHILE"
|
0 |
Warning |
LeftCurly- maxLineLength: "120"
- tokens: "LITERAL_CATCH,CLASS_DEF,CTOR_DEF,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,INTERFACE_DEF,METHOD_DEF,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE"
|
0 |
Warning |
NeedBraces- tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE"
|
0 |
Warning |
RightCurly- tokens: "LITERAL_CATCH,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY"
|
0 |
Warning |
AvoidInlineConditionals |
0 |
Ignore |
DoubleCheckedLocking |
0 |
Error |
EmptyStatement |
0 |
Error |
EqualsHashCode |
0 |
Error |
HiddenField- ignoreAbstractMethods: "true"
- ignoreConstructorParameter: "true"
- ignoreSetter: "true"
|
0 |
Warning |
InnerAssignment- tokens: "DIV_ASSIGN,BXOR_ASSIGN,STAR_ASSIGN,BAND_ASSIGN,MOD_ASSIGN,PLUS_ASSIGN,SL_ASSIGN,ASSIGN,MINUS_ASSIGN,SR_ASSIGN,BSR_ASSIGN,BOR_ASSIGN"
|
0 |
Warning |
MagicNumber |
0 |
Ignore |
MissingSwitchDefault |
0 |
Warning |
ModifiedControlVariable |
0 |
Warning |
RedundantThrows
|
0 |
Warning |
SimplifyBooleanExpression |
0 |
Warning |
SimplifyBooleanReturn |
0 |
Warning |
StringLiteralEquality |
0 |
Error |
NestedIfDepth
|
0 |
Warning |
NestedTryDepth
|
0 |
Warning |
SuperClone |
0 |
Ignore |
SuperFinalize |
0 |
Warning |
IllegalCatch |
11 |
Info |
IllegalThrows |
1 |
Info |
PackageDeclaration |
0 |
Warning |
DefaultComesLast |
0 |
Warning |
FallThrough- checkLastCaseGroup: "true"
|
0 |
Warning |
MultipleStringLiterals |
4 |
Warning |
UnnecessaryParentheses |
0 |
Warning |
DeclarationOrder |
0 |
Ignore |
FinalClass |
0 |
Warning |
HideUtilityClassConstructor |
0 |
Ignore |
VisibilityModifier |
0 |
Ignore |
ThrowsCount
|
0 |
Info |
ArrayTypeStyle |
0 |
Warning |
RegexpSinglelineJava- message: "Line has trailing spaces."
- ignoreComments: "true"
- format: "\s+$"
|
0 |
Warning |
TodoComment |
0 |
Ignore |
UncommentedMain |
0 |
Warning |
UpperEll |
0 |
Warning |
Indentation |
5 |
Warning |
JavadocType
|
0 |
Error |
JavadocType |
0 |
Warning |
JavadocMethod- allowMissingPropertyJavadoc: "true"
- allowThrowsTagsForSubclasses: "true"
- scope: "public"
- allowUndeclaredRTE: "true"
- tokens: "CTOR_DEF,METHOD_DEF"
- allowMissingThrowsTags: "true"
|
7 |
Warning |
JavadocVariable
|
3 |
Warning |
JavadocStyle- scope: "public"
- checkEmptyJavadoc: "true"
|
0 |
Warning |
JavadocType- authorFormat: "AGH CAST Team"
|
0 |
Warning |
EmptyForInitializerPad
|
0 |
Info |
EmptyForIteratorPad |
0 |
Info |
MethodParamPad- tokens: "CTOR_DEF,METHOD_CALL,METHOD_DEF,LITERAL_NEW,SUPER_CTOR_CALL"
|
0 |
Warning |
CovariantEquals |
0 |
Warning |
IllegalType- tokens: "METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"
|
0 |
Ignore |
MultipleVariableDeclarations |
0 |
Warning |
ParameterAssignment |
0 |
Warning |
ReturnCount- max: "3"
- format: "^equals$"
|
0 |
Warning |
TrailingComment |
0 |
Ignore |
JavadocMethod- allowMissingParamTags: "true"
- allowMissingPropertyJavadoc: "true"
- allowThrowsTagsForSubclasses: "true"
- excludeScope: "protected"
- scope: "package"
- allowUndeclaredRTE: "true"
- tokens: "CTOR_DEF,METHOD_DEF"
- allowMissingReturnTag: "true"
- allowMissingThrowsTags: "true"
|
0 |
Info |
RegexpHeader- headerFile: "target/checkstyle-header.txt"
|
1 |
Warning |
NewlineAtEndOfFile- lineSeparator: "lf"
- fileExtensions: "java,properties,xml"
|
0 |
Warning |
Translation |
0 |
Error |
JavadocPackage
|
3 |
Warning |
FileLength |
0 |
Warning |