Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
4 3 80 0

Rules

Rules Violations Severity
AbstractClassName 0 Infos Info
ConstantName 0 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName
  • tokens: "PARAMETER_DEF,VARIABLE_DEF"
1 Warnings Warning
MemberName 10 Warnings Warning
MethodName 1 Warnings Warning
PackageName
  • format: "^pl\.edu\.agh\.cast(\.[a-z][a-z0-9]*)*$"
0 Warnings Warning
ParameterName 0 Warnings Warning
StaticVariableName 1 Warnings Warning
TypeName 0 Warnings Warning
AvoidStarImport 0 Warnings Warning
IllegalImport 0 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 0 Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,pl.edu.agh.cast"
0 Warnings Warning
LineLength
  • max: "120"
  • tabWidth: "4"
0 Warnings Warning
MethodLength
  • tokens: "CTOR_DEF,METHOD_DEF"
0 Warnings Warning
AnonInnerLength
  • max: "50"
0 Warnings Warning
ParameterNumber
  • tokens: "CTOR_DEF,METHOD_DEF"
0 Warnings Warning
MethodParamPad 0 Warnings Warning
NoWhitespaceAfter
  • tokens: "LNOT,DOT,BNOT,DEC,UNARY_MINUS,UNARY_PLUS,INC,TYPECAST"
8 Warnings Warning
NoWhitespaceBefore
  • allowLineBreaks: "true"
  • tokens: "SEMI,DOT,POST_DEC,POST_INC"
0 Warnings 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 Warnings Warning
ParenPad
  • tokens: "LPAREN,RPAREN,CTOR_CALL,METHOD_CALL,SUPER_CTOR_CALL"
0 Warnings Warning
TypecastParenPad
  • tokens: "RPAREN,TYPECAST"
0 Warnings Warning
WhitespaceAfter
  • tokens: "COMMA,SEMI"
9 Warnings Warning
ModifierOrder 0 Warnings Warning
AvoidNestedBlocks
  • allowInSwitchCase: "true"
6 Warnings Warning
EmptyBlock
  • tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,STATIC_INIT,LITERAL_TRY,LITERAL_WHILE"
0 Warnings 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 Warnings Warning
NeedBraces
  • tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE"
2 Warnings Warning
RightCurly
  • tokens: "LITERAL_CATCH,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY"
0 Warnings Warning
AvoidInlineConditionals 0  Ignore
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreAbstractMethods: "true"
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0 Warnings 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 Warnings Warning
MagicNumber 0  Ignore
MissingSwitchDefault 0 Warnings Warning
ModifiedControlVariable 0 Warnings Warning
RedundantThrows
  • allowUnchecked: "true"
0 Warnings Warning
SimplifyBooleanExpression 0 Warnings Warning
SimplifyBooleanReturn 0 Warnings Warning
StringLiteralEquality 0 Errors Error
NestedIfDepth
  • max: "3"
0 Warnings Warning
NestedTryDepth
  • max: "2"
0 Warnings Warning
SuperClone 0  Ignore
SuperFinalize 0 Warnings Warning
IllegalCatch 3 Infos Info
IllegalThrows 0 Infos Info
PackageDeclaration 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
3 Warnings Warning
MultipleStringLiterals 0 Warnings Warning
UnnecessaryParentheses 0 Warnings Warning
DeclarationOrder 0  Ignore
FinalClass 0 Warnings Warning
HideUtilityClassConstructor 0  Ignore
VisibilityModifier 0  Ignore
ThrowsCount
  • max: "3"
0 Infos Info
ArrayTypeStyle 0 Warnings Warning
RegexpSinglelineJava
  • message: "Line has trailing spaces."
  • ignoreComments: "true"
  • format: "\s+$"
8 Warnings Warning
TodoComment 0  Ignore
UncommentedMain 1 Warnings Warning
UpperEll 0 Warnings Warning
Indentation 8 Warnings Warning
JavadocType
  • scope: "package"
0 Errors Error
JavadocType 4 Warnings Warning
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowUndeclaredRTE: "true"
  • tokens: "CTOR_DEF,METHOD_DEF"
  • allowMissingThrowsTags: "true"
10 Warnings Warning
JavadocVariable
  • scope: "package"
1 Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
8 Warnings Warning
JavadocType
  • authorFormat: "AGH CAST Team"
4 Warnings Warning
EmptyForInitializerPad
  • option: "space"
0 Infos Info
EmptyForIteratorPad 0 Infos Info
MethodParamPad
  • tokens: "CTOR_DEF,METHOD_CALL,METHOD_DEF,LITERAL_NEW,SUPER_CTOR_CALL"
0 Warnings Warning
CovariantEquals 0 Warnings Warning
IllegalType
  • tokens: "METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"
0  Ignore
MultipleVariableDeclarations 1 Warnings Warning
ParameterAssignment 1 Warnings Warning
ReturnCount
  • max: "3"
  • format: "^equals$"
0 Warnings 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 Infos Info
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
4 Warnings Warning
NewlineAtEndOfFile
  • lineSeparator: "lf"
  • fileExtensions: "java,properties,xml"
0 Warnings Warning
Translation 0 Errors Error
JavadocPackage
  • allowLegacy: "true"
1 Warnings Warning
FileLength 0 Warnings Warning

Details

pl/edu/agh/cast/path2/Activator.java

Violation Message Line
Warnings Line does not match expected header line of '^/\*$'. 1
Warnings First sentence should end with a period. 6
Warnings Type Javadoc comment is missing an @author tag. 9
Warnings Missing a Javadoc comment. 12
Warnings Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 15
Warnings First sentence should end with a period. 17
Warnings Missing a Javadoc comment. 29
Warnings Missing a Javadoc comment. 38
Warnings First sentence should end with a period. 43

pl/edu/agh/cast/path2/Path2SearchAction.java

Violation Message Line
Warnings Line does not match expected header line of '^/\*$'. 1
Warnings First sentence should end with a period. 17
Warnings Type Javadoc tag @author must match pattern 'AGH CAST Team'. 25
Warnings Name '_editor' must match pattern '^[a-z][a-zA-Z0-9]*$'. 27
Warnings Line has trailing spaces. 28
Warnings Missing a Javadoc comment. 34
Warnings ')' is followed by whitespace. 41
Warnings ')' is followed by whitespace. 46
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 67

pl/edu/agh/cast/path2/SearchDialog.java

Violation Message Line
Warnings Missing package-info.java file. 0
Warnings Line does not match expected header line of '^/\*$'. 1
Warnings Type Javadoc comment is missing an @author tag. 43
Warnings Name '_dialogShell' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Warnings Name '_diagram' must match pattern '^[a-z][a-zA-Z0-9]*$'. 47
Warnings Line has trailing spaces. 48
Warnings Name '_endNodeInput' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
Warnings Name '_endNodeLabel' must match pattern '^[a-z][a-zA-Z0-9]*$'. 60
Warnings Name '_firstNodeLabel' must match pattern '^[a-z][a-zA-Z0-9]*$'. 62
Warnings Name '_firstNodeInput' must match pattern '^[a-z][a-zA-Z0-9]*$'. 64
Warnings Name '_okButton' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Warnings Name '_cancelButton' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68
Warnings Name '_editor' must match pattern '^[a-z][a-zA-Z0-9]*$'. 70
Warnings Avoid nested blocks. 81
Warnings Avoid nested blocks. 89
Warnings Avoid nested blocks. 97
Warnings Avoid nested blocks. 105
Warnings Line has trailing spaces. 150
Warnings Avoid nested blocks. 151
Warnings Avoid nested blocks. 166
Warnings Line has trailing spaces. 181
Warnings 'if' construct must use '{}'s. 187
Infos Catching 'Exception' is not allowed. 190
Warnings Line has trailing spaces. 210
Warnings Line has trailing spaces. 220
Warnings Line has trailing spaces. 235
Warnings Line has trailing spaces. 237
Warnings case child at indentation level 8 not at correct indentation, 12 257
Warnings block child at indentation level 12 not at correct indentation, 16 258
Warnings block rcurly at indentation level 8 not at correct indentation, 12 260
Warnings case child at indentation level 8 not at correct indentation, 12 261
Warnings Fall through from previous branch of the switch statement. 261
Warnings block rcurly at indentation level 8 not at correct indentation, 12 263
Warnings case child at indentation level 8 not at correct indentation, 12 264
Warnings Fall through from previous branch of the switch statement. 264
Warnings Fall through from the last branch of the switch statement. 264
Warnings block child at indentation level 12 not at correct indentation, 16 265
Warnings block rcurly at indentation level 8 not at correct indentation, 12 267
Warnings ')' is followed by whitespace. 287
Warnings First sentence should end with a period. 316
Warnings Expected @param tag for 'parent'. 322
Warnings Expected @param tag for 'style'. 322
Warnings Expected @param tag for 'diagram'. 322
Warnings Expected @param tag for 'editor'. 322
Warnings First sentence should end with a period. 329
Warnings Uncommented main method found. 334
Warnings Expected @param tag for 'args'. 334
Warnings Name '_display' must match pattern '^[a-z][a-zA-Z0-9]*$'. 336
Warnings ',' is not followed by whitespace. 338
Infos Catching 'Exception' is not allowed. 339

pl/edu/agh/cast/path2/SearchEngine.java

Violation Message Line
Warnings Line does not match expected header line of '^/\*$'. 1
Warnings First sentence should end with a period. 12
Warnings Type Javadoc tag @author must match pattern 'AGH CAST Team'. 20
Warnings First sentence should end with a period. 22
Warnings Each variable declaration must be in its own statement. 55
Warnings ')' is followed by whitespace. 73
Warnings Assignment of parameter 'node' is not allowed. 97
Warnings ')' is followed by whitespace. 121
Warnings 'else' construct must use '{}'s. 130
Warnings ')' is followed by whitespace. 154
Infos Catching 'RuntimeException' is not allowed. 156
Warnings ')' is followed by whitespace. 163
Warnings Name 'extract_min' must match pattern '^[a-z][a-zA-Z0-9]*$'. 173
Warnings ')' is followed by whitespace. 182