Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
86 20 88 0

Files

Files Infos Warnings Errors
pl/edu/agh/cast/Activator.java 1 4 0
pl/edu/agh/cast/CoreServiceLocator.java 0 1 0
pl/edu/agh/cast/command/project/CreateProjectCommand.java 1 0 0
pl/edu/agh/cast/data/converter/ConverterReference.java 0 1 0
pl/edu/agh/cast/data/model/resource/DataModelVisualResourcesProvider.java 0 3 0
pl/edu/agh/cast/data/persistence/AbstractPersistenceProvider.java 0 1 0
pl/edu/agh/cast/data/persistence/PersistenceProviderLocator.java 0 1 0
pl/edu/agh/cast/data/persistence/TransparentPersistenceProvider.java 0 1 0
pl/edu/agh/cast/data/persistence/serialize/SerializationPersistenceProvider.java 4 0 0
pl/edu/agh/cast/preferences/ApplicationPreferences.java 0 1 0
pl/edu/agh/cast/project/ActiveProjectState.java 0 6 0
pl/edu/agh/cast/resource/AbstractVisualResourcesProvider.java 0 1 0
pl/edu/agh/cast/resource/VisualResource.java 0 1 0
pl/edu/agh/cast/resource/VisualResourceEntry.java 0 3 0
pl/edu/agh/cast/ui/AdaptedProgressMonitor.java 0 1 0
pl/edu/agh/cast/ui/advisor/ApplicationActionBarAdvisor.java 0 19 0
pl/edu/agh/cast/ui/advisor/ApplicationWorkbenchAdvisor.java 1 0 0
pl/edu/agh/cast/ui/dialogs/CreateProjectDialog.java 1 0 0
pl/edu/agh/cast/ui/dialogs/GetNewNameDialog.java 1 0 0
pl/edu/agh/cast/ui/dialogs/IDirectoryDialogAdapter.java 0 9 0
pl/edu/agh/cast/ui/dialogs/IFileDialogAdapter.java 0 18 0
pl/edu/agh/cast/ui/dialogs/PrintModeDialog.java 1 0 0
pl/edu/agh/cast/ui/dialogs/ProjectStartupDialog.java 1 4 0
pl/edu/agh/cast/ui/dialogs/TransientDirectoryDialogAdapter.java 0 1 0
pl/edu/agh/cast/ui/dialogs/TransientFileDialogAdapter.java 0 1 0
pl/edu/agh/cast/ui/util/ApplicationUtil.java 7 0 0
pl/edu/agh/cast/ui/util/IMsgBoxHelper.java 0 1 0
pl/edu/agh/cast/util/Configuration.java 1 7 0
pl/edu/agh/cast/util/Images.java 1 3 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 2 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 5 Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,pl.edu.agh.cast"
1 Warnings Warning
LineLength
  • max: "120"
  • tabWidth: "4"
9 Warnings Warning
MethodLength
  • tokens: "CTOR_DEF,METHOD_DEF"
1 Warnings Warning
AnonInnerLength
  • max: "50"
0 Warnings Warning
ParameterNumber
  • tokens: "CTOR_DEF,METHOD_DEF"
1 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"
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"
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 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 20 Infos Info
IllegalThrows 0 Infos Info
PackageDeclaration 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0 Warnings Warning
MultipleStringLiterals 3 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 5 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"
28 Warnings Warning
JavadocVariable
  • scope: "package"
29 Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
1 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$"
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"
1 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/Activator.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.resource.IVisualResource. 42
Infos Catching 'Exception' is not allowed. 162
Warnings Line is longer than 120 characters. 254
Warnings Line is longer than 120 characters. 284
Warnings The String "Failed to instantiate ConverterSpecification provided by extension: %1$s " appears 2 times in the file. 284

pl/edu/agh/cast/CoreServiceLocator.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.persistence.IObservablePersistenceProvider. 21

pl/edu/agh/cast/command/project/CreateProjectCommand.java

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

pl/edu/agh/cast/data/converter/ConverterReference.java

Violation Message Line
Warnings Missing package-info.java file. 0

pl/edu/agh/cast/data/model/resource/DataModelVisualResourcesProvider.java

Violation Message Line
Warnings Line is longer than 120 characters. 58
Warnings Line is longer than 120 characters. 63
Warnings Line is longer than 120 characters. 74

pl/edu/agh/cast/data/persistence/AbstractPersistenceProvider.java

Violation Message Line
Warnings The String "Reading Data Set" appears 4 times in the file. 296

pl/edu/agh/cast/data/persistence/PersistenceProviderLocator.java

Violation Message Line
Warnings method def throws at indentation level 12 not at correct indentation, 8 149

pl/edu/agh/cast/data/persistence/TransparentPersistenceProvider.java

Violation Message Line
Warnings Assignment of parameter 'provider' is not allowed. 63

pl/edu/agh/cast/data/persistence/serialize/SerializationPersistenceProvider.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 91
Infos Catching 'Exception' is not allowed. 98
Infos Catching 'Exception' is not allowed. 124
Infos Catching 'Exception' is not allowed. 131

pl/edu/agh/cast/preferences/ApplicationPreferences.java

Violation Message Line
Warnings Line is longer than 120 characters. 32

pl/edu/agh/cast/project/ActiveProjectState.java

Violation Message Line
Warnings Missing a Javadoc comment. 26
Warnings Missing a Javadoc comment. 26
Warnings Missing a Javadoc comment. 26
Warnings Missing a Javadoc comment. 26
Warnings Missing a Javadoc comment. 26
Warnings Missing a Javadoc comment. 26

pl/edu/agh/cast/resource/AbstractVisualResourcesProvider.java

Violation Message Line
Warnings Line is longer than 120 characters. 41

pl/edu/agh/cast/resource/VisualResource.java

Violation Message Line
Warnings Unused import - org.eclipse.gmf.internal.runtime.lite.svg.SVGUtil. 29

pl/edu/agh/cast/resource/VisualResourceEntry.java

Violation Message Line
Warnings Unused import - org.eclipse.jface.resource.ResourceRegistry. 22
Warnings More than 7 parameters. 128
Warnings Line is longer than 120 characters. 129

pl/edu/agh/cast/ui/AdaptedProgressMonitor.java

Violation Message Line
Warnings Unused import - org.eclipse.core.runtime.NullProgressMonitor. 21

pl/edu/agh/cast/ui/advisor/ApplicationActionBarAdvisor.java

Violation Message Line
Warnings Javadoc has empty description section. 44
Warnings Missing a Javadoc comment. 49
Warnings Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 53
Warnings Missing a Javadoc comment. 55
Warnings Missing a Javadoc comment. 57
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 65
Warnings Missing a Javadoc comment. 67
Warnings Missing a Javadoc comment. 69
Warnings Missing a Javadoc comment. 71
Warnings Missing a Javadoc comment. 78
Warnings Missing a Javadoc comment. 80
Warnings Missing a Javadoc comment. 82
Warnings Missing a Javadoc comment. 84
Warnings Missing a Javadoc comment. 90
Warnings Missing a Javadoc comment. 92
Warnings Missing a Javadoc comment. 94
Warnings Missing a Javadoc comment. 96

pl/edu/agh/cast/ui/advisor/ApplicationWorkbenchAdvisor.java

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

pl/edu/agh/cast/ui/dialogs/CreateProjectDialog.java

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

pl/edu/agh/cast/ui/dialogs/GetNewNameDialog.java

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

pl/edu/agh/cast/ui/dialogs/IDirectoryDialogAdapter.java

Violation Message Line
Warnings Expected an @return tag. 37
Warnings Expected an @return tag. 42
Warnings Expected an @return tag. 47
Warnings Expected @param tag for 'string'. 52
Warnings Expected an @return tag. 61
Warnings Expected an @return tag. 66
Warnings Expected an @return tag. 71
Warnings Expected @param tag for 'string'. 76
Warnings Expected @param tag for 'string'. 81

pl/edu/agh/cast/ui/dialogs/IFileDialogAdapter.java

Violation Message Line
Warnings Expected an @return tag. 37
Warnings Expected an @return tag. 42
Warnings Expected an @return tag. 47
Warnings Expected @param tag for 'string'. 52
Warnings Expected an @return tag. 61
Warnings Expected an @return tag. 66
Warnings Expected an @return tag. 71
Warnings Expected an @return tag. 76
Warnings Expected an @return tag. 81
Warnings Expected an @return tag. 86
Warnings Expected an @return tag. 91
Warnings Expected an @return tag. 96
Warnings Expected @param tag for 'string'. 101
Warnings Expected @param tag for 'extensions'. 106
Warnings Expected @param tag for 'index'. 111
Warnings Expected @param tag for 'names'. 116
Warnings Expected @param tag for 'string'. 121
Warnings Expected @param tag for 'overwrite'. 126

pl/edu/agh/cast/ui/dialogs/PrintModeDialog.java

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

pl/edu/agh/cast/ui/dialogs/ProjectStartupDialog.java

Violation Message Line
Warnings Wrong order for 'pl.edu.agh.cast.project.IProjectService.ProjectOpenStatus' import. 69
Warnings Expected @param tag for 'projectService'. 140
Warnings Method length is 196 lines (max allowed is 150). 152
Infos Catching 'Exception' is not allowed. 344
Warnings The String "'%s' command not found" appears 2 times in the file. 356

pl/edu/agh/cast/ui/dialogs/TransientDirectoryDialogAdapter.java

Violation Message Line
Warnings Import from illegal package - sun.reflect.Reflection. 26

pl/edu/agh/cast/ui/dialogs/TransientFileDialogAdapter.java

Violation Message Line
Warnings Import from illegal package - sun.reflect.Reflection. 26

pl/edu/agh/cast/ui/util/ApplicationUtil.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 45
Infos Catching 'Exception' is not allowed. 69
Infos Catching 'Exception' is not allowed. 77
Infos Catching 'Exception' is not allowed. 131
Infos Catching 'Exception' is not allowed. 141
Infos Catching 'Exception' is not allowed. 171
Infos Catching 'Exception' is not allowed. 200

pl/edu/agh/cast/ui/util/IMsgBoxHelper.java

Violation Message Line
Warnings Line does not match expected header line of '^/\*$'. 1

pl/edu/agh/cast/util/Configuration.java

Violation Message Line
Warnings Missing a Javadoc comment. 61
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 65
Warnings Missing a Javadoc comment. 67
Warnings Missing a Javadoc comment. 79
Warnings array initialization child at indentation level 20 not at correct indentation, [16, 70] 143
Warnings array initialization child at indentation level 20 not at correct indentation, [16, 79] 147
Infos Catching 'Throwable' is not allowed. 151

pl/edu/agh/cast/util/Images.java

Violation Message Line
Warnings Line is longer than 120 characters. 43
Warnings array initialization child at indentation level 16 not at correct indentation, [12, 42] 157
Warnings array initialization child at indentation level 16 not at correct indentation, [12, 42] 158
Infos Catching 'Exception' is not allowed. 237