Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
74 44 33 0

Files

Files Infos Warnings Errors
pl/edu/agh/cast/data/importer/data/AbstractDataImporterBase.java 0 1 0
pl/edu/agh/cast/data/importer/data/ack/AckDataImporter.java 2 1 0
pl/edu/agh/cast/data/importer/data/csv/CsvDataImporter.java 0 1 0
pl/edu/agh/cast/data/importer/data/txt/TxtDataImporter.java 2 0 0
pl/edu/agh/cast/data/importer/data/util/AbstractEncodingRecognizer.java 1 0 0
pl/edu/agh/cast/data/importer/data/xls/JxlXlsDataImporter.java 1 1 0
pl/edu/agh/cast/data/importer/data/xls/PoiXlsDataImporter.java 1 2 0
pl/edu/agh/cast/data/template/AbstractTemplateUtil.java 4 1 0
pl/edu/agh/cast/data/template/Template.java 2 2 0
pl/edu/agh/cast/data/template/export/ExportTemplateActionNavigator.java 1 0 0
pl/edu/agh/cast/data/template/export/ExportTemplateButtonAction.java 1 0 0
pl/edu/agh/cast/data/template/xml/TemplateXmlException.java 3 0 0
pl/edu/agh/cast/data/template/xml/TemplateXmlImporter.java 1 0 0
pl/edu/agh/cast/data/ui/importer/action/ImportWizardActionGlobal.java 0 1 0
pl/edu/agh/cast/data/ui/importer/action/ImportWizardActionNavigator.java 0 1 0
pl/edu/agh/cast/data/ui/importer/wizard/ConversionWithProgressMonitor.java 2 0 0
pl/edu/agh/cast/data/ui/importer/wizard/ErrorTypesDialog.java 3 1 0
pl/edu/agh/cast/data/ui/importer/wizard/ImportPage.java 2 0 0
pl/edu/agh/cast/data/ui/importer/wizard/ImportPageComposite.java 1 2 0
pl/edu/agh/cast/data/ui/importer/wizard/ImportWizard.java 4 3 0
pl/edu/agh/cast/data/ui/importer/wizard/MainEntityComposite.java 0 1 0
pl/edu/agh/cast/data/ui/importer/wizard/PreprocessingPage.java 1 1 0
pl/edu/agh/cast/data/ui/importer/wizard/PreprocessingPageComposite.java 1 1 0
pl/edu/agh/cast/data/ui/importer/wizard/ValidationPageComposite.java 1 4 0
pl/edu/agh/cast/data/ui/importer/wizard/provider/ColumnNumberColumnLabelProvider.java 0 1 0
pl/edu/agh/cast/data/ui/logging/ImportLogFileDialog.java 1 1 0
pl/edu/agh/cast/data/ui/template/ComboBoxTableCreator.java 0 1 0
pl/edu/agh/cast/data/ui/template/NewTemplateComposite.java 1 2 0
pl/edu/agh/cast/data/ui/template/NewTemplateWizard.java 1 0 0
pl/edu/agh/cast/data/ui/template/NewTemplateWizardPage.java 7 2 0
pl/edu/agh/cast/data/ui/template/ParametersComposite.java 0 1 0
pl/edu/agh/cast/data/ui/utils/TableViewerHelper.java 0 1 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 0 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"
2 Warnings Warning
LineLength
  • max: "120"
  • tabWidth: "4"
2 Warnings Warning
MethodLength
  • tokens: "CTOR_DEF,METHOD_DEF"
3 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"
0 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"
0 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"
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 1 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 26 Infos Info
IllegalThrows 0 Infos Info
PackageDeclaration 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0 Warnings Warning
MultipleStringLiterals 1 Warnings Warning
UnnecessaryParentheses 0 Warnings Warning
DeclarationOrder 0  Ignore
FinalClass 0 Warnings Warning
HideUtilityClassConstructor 0  Ignore
VisibilityModifier 0  Ignore
ThrowsCount
  • max: "3"
2 Infos Info
ArrayTypeStyle 0 Warnings Warning
RegexpSinglelineJava
  • message: "Line has trailing spaces."
  • ignoreComments: "true"
  • format: "\s+$"
1 Warnings Warning
TodoComment 0  Ignore
UncommentedMain 7 Warnings Warning
UpperEll 0 Warnings Warning
Indentation 2 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"
16 Warnings Warning
JavadocVariable
  • scope: "package"
0 Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
2 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$"
6 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"
16 Infos Info
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
1 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/data/importer/data/AbstractDataImporterBase.java

Violation Message Line
Warnings Return count is 4 (max allowed is 3). 97

pl/edu/agh/cast/data/importer/data/ack/AckDataImporter.java

Violation Message Line
Warnings Control variable 'i' is modified. 130
Infos Missing a Javadoc comment. 141
Infos Missing a Javadoc comment. 145

pl/edu/agh/cast/data/importer/data/csv/CsvDataImporter.java

Violation Message Line
Warnings Return count is 4 (max allowed is 3). 128

pl/edu/agh/cast/data/importer/data/txt/TxtDataImporter.java

Violation Message Line
Infos Missing a Javadoc comment. 106
Infos Missing a Javadoc comment. 182

pl/edu/agh/cast/data/importer/data/util/AbstractEncodingRecognizer.java

Violation Message Line
Infos Missing a Javadoc comment. 141

pl/edu/agh/cast/data/importer/data/xls/JxlXlsDataImporter.java

Violation Message Line
Warnings Return count is 13 (max allowed is 3). 145
Infos Catching 'Exception' is not allowed. 229

pl/edu/agh/cast/data/importer/data/xls/PoiXlsDataImporter.java

Violation Message Line
Warnings Return count is 10 (max allowed is 3). 116
Infos Catching 'Exception' is not allowed. 134
Warnings Return count is 4 (max allowed is 3). 149

pl/edu/agh/cast/data/template/AbstractTemplateUtil.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 87
Infos Catching 'Exception' is not allowed. 112
Infos Throws count is 4 (max allowed is 3). 118
Warnings The String "Template " appears 2 times in the file. 129
Infos Throws count is 5 (max allowed is 3). 176

pl/edu/agh/cast/data/template/Template.java

Violation Message Line
Warnings Wrong order for 'pl.edu.agh.cast.model.ModelColumn' import. 30
Warnings More than 7 parameters. 185
Infos Missing a Javadoc comment. 368
Infos Missing a Javadoc comment. 458

pl/edu/agh/cast/data/template/export/ExportTemplateActionNavigator.java

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

pl/edu/agh/cast/data/template/export/ExportTemplateButtonAction.java

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

pl/edu/agh/cast/data/template/xml/TemplateXmlException.java

Violation Message Line
Infos Missing a Javadoc comment. 28
Infos Missing a Javadoc comment. 32
Infos Missing a Javadoc comment. 36

pl/edu/agh/cast/data/template/xml/TemplateXmlImporter.java

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

pl/edu/agh/cast/data/ui/importer/action/ImportWizardActionGlobal.java

Violation Message Line
Warnings Javadoc has empty description section. 27

pl/edu/agh/cast/data/ui/importer/action/ImportWizardActionNavigator.java

Violation Message Line
Warnings Javadoc has empty description section. 34

pl/edu/agh/cast/data/ui/importer/wizard/ConversionWithProgressMonitor.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 160
Infos Catching 'Exception' is not allowed. 224

pl/edu/agh/cast/data/ui/importer/wizard/ErrorTypesDialog.java

Violation Message Line
Warnings Uncommented main method found. 105
Infos Catching 'Exception' is not allowed. 111
Infos Catching 'Exception' is not allowed. 273
Infos Catching 'Exception' is not allowed. 433

pl/edu/agh/cast/data/ui/importer/wizard/ImportPage.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 297
Infos Catching 'Exception' is not allowed. 490

pl/edu/agh/cast/data/ui/importer/wizard/ImportPageComposite.java

Violation Message Line
Warnings Uncommented main method found. 152
Warnings Method length is 239 lines (max allowed is 150). 213
Infos Catching 'Exception' is not allowed. 448

pl/edu/agh/cast/data/ui/importer/wizard/ImportWizard.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 180
Infos Catching 'Exception' is not allowed. 206
Warnings Must have at least one statement. 352
Warnings Return count is 4 (max allowed is 3). 451
Warnings Line is longer than 120 characters. 497
Infos Catching 'Exception' is not allowed. 506
Infos Catching 'Exception' is not allowed. 643

pl/edu/agh/cast/data/ui/importer/wizard/MainEntityComposite.java

Violation Message Line
Warnings Uncommented main method found. 74

pl/edu/agh/cast/data/ui/importer/wizard/PreprocessingPage.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 182
Warnings Line has trailing spaces. 205

pl/edu/agh/cast/data/ui/importer/wizard/PreprocessingPageComposite.java

Violation Message Line
Warnings Uncommented main method found. 97
Infos Catching 'Exception' is not allowed. 252

pl/edu/agh/cast/data/ui/importer/wizard/ValidationPageComposite.java

Violation Message Line
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 71] 75
Warnings array initialization child at indentation level 12 not at correct indentation, [8, 71] 76
Warnings Method length is 200 lines (max allowed is 150). 149
Infos Catching 'Exception' is not allowed. 345
Warnings Line is longer than 120 characters. 432

pl/edu/agh/cast/data/ui/importer/wizard/provider/ColumnNumberColumnLabelProvider.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.rawdata.stat.BrokenRowInfo. 24

pl/edu/agh/cast/data/ui/logging/ImportLogFileDialog.java

Violation Message Line
Warnings Uncommented main method found. 164
Infos Catching 'Exception' is not allowed. 171

pl/edu/agh/cast/data/ui/template/ComboBoxTableCreator.java

Violation Message Line
Warnings Assignment of parameter 'tableItem' is not allowed. 137

pl/edu/agh/cast/data/ui/template/NewTemplateComposite.java

Violation Message Line
Warnings Uncommented main method found. 106
Warnings Method length is 282 lines (max allowed is 150). 151
Infos Catching 'Exception' is not allowed. 429

pl/edu/agh/cast/data/ui/template/NewTemplateWizard.java

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

pl/edu/agh/cast/data/ui/template/NewTemplateWizardPage.java

Violation Message Line
Warnings Line does not match expected header line of '^ \* Author: ([A-Za-z]+)(,\s*[A-Za-z]+)*$'. 14
Warnings Wrong order for 'pl.edu.agh.cast.model.ModelColumn' import. 47
Infos Missing a Javadoc comment. 155
Infos Missing a Javadoc comment. 169
Infos Missing a Javadoc comment. 188
Infos Missing a Javadoc comment. 223
Infos Missing a Javadoc comment. 234
Infos Missing a Javadoc comment. 239
Infos Catching 'Exception' is not allowed. 401

pl/edu/agh/cast/data/ui/template/ParametersComposite.java

Violation Message Line
Warnings Uncommented main method found. 73

pl/edu/agh/cast/data/ui/utils/TableViewerHelper.java

Violation Message Line
Warnings More than 7 parameters. 92