Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
74 14 68 0

Rules

Rules Violations Severity
AbstractClassName 0 Infos Info
ConstantName 0 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName
  • tokens: "PARAMETER_DEF,VARIABLE_DEF"
0 Warnings Warning
MemberName 1 Warnings Warning
MethodName 0 Warnings Warning
PackageName
  • format: "^pl\.edu\.agh\.cast(\.[a-z][a-z0-9]*)*$"
0 Warnings Warning
ParameterName 0 Warnings Warning
StaticVariableName 0 Warnings Warning
TypeName 0 Warnings Warning
AvoidStarImport 0 Warnings Warning
IllegalImport 0 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 1 Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,pl.edu.agh.cast"
0 Warnings Warning
LineLength
  • max: "120"
  • tabWidth: "4"
4 Warnings Warning
MethodLength
  • tokens: "CTOR_DEF,METHOD_DEF"
0 Warnings Warning
AnonInnerLength
  • max: "50"
0 Warnings Warning
ParameterNumber
  • tokens: "CTOR_DEF,METHOD_DEF"
2 Warnings Warning
MethodParamPad 0 Warnings Warning
NoWhitespaceAfter
  • tokens: "LNOT,DOT,BNOT,DEC,UNARY_MINUS,UNARY_PLUS,INC,TYPECAST"
1 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"
1 Warnings Warning
ModifierOrder 0 Warnings Warning
AvoidNestedBlocks
  • allowInSwitchCase: "true"
0 Warnings Warning
EmptyBlock
  • tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,STATIC_INIT,LITERAL_TRY,LITERAL_WHILE"
1 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"
0 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"
1 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 10 Infos Info
IllegalThrows 0 Infos Info
PackageDeclaration 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0 Warnings Warning
MultipleStringLiterals 33 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+$"
0 Warnings Warning
TodoComment 0  Ignore
UncommentedMain 0 Warnings Warning
UpperEll 0 Warnings Warning
Indentation 7 Warnings Warning
JavadocType
  • scope: "package"
0 Errors Error
JavadocType 0 Warnings Warning
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowUndeclaredRTE: "true"
  • tokens: "CTOR_DEF,METHOD_DEF"
  • allowMissingThrowsTags: "true"
11 Warnings Warning
JavadocVariable
  • scope: "package"
0 Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
4 Warnings Warning
JavadocType
  • authorFormat: "AGH CAST Team"
0 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 0 Warnings Warning
ParameterAssignment 1 Warnings Warning
ReturnCount
  • max: "3"
  • format: "^equals$"
5 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"
4 Infos Info
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
0 Warnings Warning
NewlineAtEndOfFile
  • lineSeparator: "lf"
  • fileExtensions: "java,properties,xml"
0 Warnings Warning
Translation 0 Errors Error
JavadocPackage
  • allowLegacy: "true"
0 Warnings Warning
FileLength 0 Warnings Warning

Details

pl/edu/agh/cast/model/IModelPluginRegistryProvider.java

Violation Message Line
Warnings Javadoc has empty description section. 24

pl/edu/agh/cast/model/ModelColumnParameter.java

Violation Message Line
Warnings Javadoc has empty description section. 23
Warnings Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 112
Warnings Missing a Javadoc comment. 116

pl/edu/agh/cast/model/base/AbstractDataLoaderWithStatistics.java

Violation Message Line
Warnings Javadoc has empty description section. 27

pl/edu/agh/cast/model/base/AbstractModelDataLoader.java

Violation Message Line
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 60] 51
Warnings Line is longer than 120 characters. 76

pl/edu/agh/cast/model/base/BasePlugin.java

Violation Message Line
Warnings The String "name" appears 4 times in the file. 70
Warnings The String "id" appears 5 times in the file. 80
Warnings The String "type" appears 2 times in the file. 85
Warnings The String "Date" appears 2 times in the file. 145
Warnings Line is longer than 120 characters. 250

pl/edu/agh/cast/model/base/DataImporter.java

Violation Message Line
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 60] 45
Warnings Line is longer than 120 characters. 47

pl/edu/agh/cast/model/base/Entity.java

Violation Message Line
Warnings The String "The source or the target of the relation " appears 2 times in the file. 90
Warnings The String "must be set to this entity" appears 2 times in the file. 91

pl/edu/agh/cast/model/base/TimedRelation.java

Violation Message Line
Warnings Return count is 5 (max allowed is 3). 158

pl/edu/agh/cast/model/mapper/AbstractMappable.java

Violation Message Line
Warnings Name '__id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 44
Infos Catching 'Exception' is not allowed. 105
Infos Catching 'Exception' is not allowed. 125

pl/edu/agh/cast/model/mapper/Link.java

Violation Message Line
Warnings Missing a Javadoc comment. 143
Warnings Missing a Javadoc comment. 147
Warnings Missing a Javadoc comment. 151
Warnings More than 7 parameters. 151
Warnings More than 7 parameters. 156
Warnings Return count is 6 (max allowed is 3). 212
Warnings The String "Node id is 0: " appears 2 times in the file. 247
Warnings The String " [" appears 3 times in the file. 420
Warnings Return count is 4 (max allowed is 3). 523
Infos Missing a Javadoc comment. 757

pl/edu/agh/cast/model/mapper/Mapper.java

Violation Message Line
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 54] 64
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 54] 65
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 54] 66
Infos Catching 'Throwable' is not allowed. 202

pl/edu/agh/cast/model/mapper/Node.java

Violation Message Line
Warnings Extra HTML tag found: </ref> class 48
Warnings The String "SELECT id, type_name, int_value, float_value, " appears 2 times in the file. 501
Warnings The String "SELECT n1.id, n1.type_name, null, null, " appears 2 times in the file. 505
Warnings The String "null, null, null, " appears 2 times in the file. 506
Warnings The String "l1.id, l1.src_id, l1.dst_id, l1.priority, l1.name, " appears 4 times in the file. 507
Warnings The String "l1.src_accessor, l1.dst_accessor, l1.src_position, l1.dst_position " appears 4 times in the file. 508
Warnings The String "FROM nodes n1 INNER JOIN links l1 ON (n1.id = l1.src_id OR n1.id = l1.dst_id) " appears 2 times in the file. 509
Warnings The String "SELECT n1.id, n1.type_name, n1.int_value, n1.float_value, " appears 3 times in the file. 514
Warnings The String "n1.string_value, n1.date_value, n1.boolean_value, " appears 2 times in the file. 515
Warnings The String "n2.id, n2.type_name, n2.int_value, n2.float_value, " appears 2 times in the file. 525
Warnings The String "n2.string_value, n2.date_value, n2.boolean_value " appears 2 times in the file. 526
Warnings The String "ORDER BY n1.id" appears 2 times in the file. 556
Warnings The String "SELECT n1.id, n1.type_name, int_value, float_value, " appears 2 times in the file. 560
Warnings The String "string_value, date_value, boolean_value " appears 2 times in the file. 561
Warnings The String "FROM nodes n1 " appears 3 times in the file. 562
Warnings The String "int_value = ?, float_value = ?, string_value = ?, date_value = ?, " appears 2 times in the file. 576
Warnings Return count is 4 (max allowed is 3). 601
Warnings The String "Node with id = " appears 2 times in the file. 698
Warnings The String " not found" appears 2 times in the file. 699
Warnings The String "get" appears 2 times in the file. 835
Warnings The String "'" appears 2 times in the file. 851
Warnings 'eager' hides a field. 901
Warnings Assignment of parameter 'resultSet' is not allowed. 1053
Infos Missing a Javadoc comment. 1328

pl/edu/agh/cast/model/mapper/internal/DBLoader.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 108
Warnings Must have at least one statement. 186
Warnings The String " for " appears 5 times in the file. 200
Warnings The String " [" appears 2 times in the file. 200
Warnings The String "]" appears 4 times in the file. 201
Warnings The String "[" appears 2 times in the file. 259

pl/edu/agh/cast/model/mapper/internal/DBSaver.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 23
Infos Catching 'Exception' is not allowed. 79
Warnings method def throws at indentation level 12 not at correct indentation, 8 160

pl/edu/agh/cast/model/mapper/internal/Helper.java

Violation Message Line
Warnings Line is longer than 120 characters. 45
Warnings Return count is 4 (max allowed is 3). 228
Warnings method def throws at indentation level 12 not at correct indentation, 8 337

pl/edu/agh/cast/model/mapper/internal/ModelParser.java

Violation Message Line
Infos Missing a Javadoc comment. 75
Warnings The String "Relation references entity which was not yet " appears 2 times in the file. 111
Warnings The String "parsed. Data set: " appears 2 times in the file. 112
Infos Catching 'Exception' is not allowed. 150
Infos Catching 'Exception' is not allowed. 208

pl/edu/agh/cast/model/mapper/internal/XMLLoader.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 100

pl/edu/agh/cast/model/mapper/internal/XMLRemover.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 67

pl/edu/agh/cast/model/mapper/internal/XMLSaver.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 178

pl/edu/agh/cast/rawdata/stat/BrokenCellInfo.java

Violation Message Line
Infos Missing a Javadoc comment. 43

pl/edu/agh/cast/rawdata/stat/ErrorType.java

Violation Message Line
Warnings ')' is followed by whitespace. 98