Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
110 21 69 0

Files

Files Infos Warnings Errors
pl/edu/agh/cast/data/converter/ConverterSpecification.java 1 2 0
pl/edu/agh/cast/data/model/AbstractDataSet.java 1 4 0
pl/edu/agh/cast/data/model/AbstractElement.java 1 3 0
pl/edu/agh/cast/data/model/IDataSet.java 0 1 0
pl/edu/agh/cast/data/model/Type.java 1 0 0
pl/edu/agh/cast/data/model/common/SupportedDateAndTimeFormat.java 0 1 0
pl/edu/agh/cast/data/model/copier/AbstractElementPasteStrategy.java 2 0 0
pl/edu/agh/cast/data/model/copier/PasteReport.java 0 3 0
pl/edu/agh/cast/data/model/domain/DomainDataSet.java 1 0 0
pl/edu/agh/cast/data/model/domain/DomainDataSetDescriptor.java 0 1 0
pl/edu/agh/cast/data/model/domain/IDomainDataSet.java 0 1 0
pl/edu/agh/cast/data/model/metadata/MetadataProcessor.java 0 3 0
pl/edu/agh/cast/data/model/metadata/ObjectInfo.java 0 2 0
pl/edu/agh/cast/data/model/metadata/PropertyInfo.java 0 2 0
pl/edu/agh/cast/data/model/metadata/annotations/Id.java 0 1 0
pl/edu/agh/cast/data/model/presentation/IPresentationDataSet.java 0 1 0
pl/edu/agh/cast/data/model/presentation/IPresentationElement.java 0 2 0
pl/edu/agh/cast/data/model/presentation/PresentationDataSet.java 1 2 0
pl/edu/agh/cast/data/model/presentation/PresentationElement.java 1 0 0
pl/edu/agh/cast/data/model/property/MetaPermanentProperty.java 0 1 0
pl/edu/agh/cast/data/model/property/PermanentProperty.java 2 1 0
pl/edu/agh/cast/data/model/property/Property.java 1 0 0
pl/edu/agh/cast/data/model/property/PropertyHelper.java 0 17 0
pl/edu/agh/cast/data/model/property/TransientProperty.java 1 0 0
pl/edu/agh/cast/data/model/property/annotation/PropertyGetter.java 0 1 0
pl/edu/agh/cast/data/model/property/validator/ColorPropertyValidator.java 2 0 0
pl/edu/agh/cast/data/model/property/validator/PropertyValidator.java 1 0 0
pl/edu/agh/cast/data/model/property/validator/ReferenceCollectionPropertyValidator.java 0 1 0
pl/edu/agh/cast/data/model/property/validator/ReferencePropertyValidator.java 0 1 0
pl/edu/agh/cast/data/model/visual/IVisualDataSet.java 0 1 0
pl/edu/agh/cast/data/model/visual/IVisualDecoratorElement.java 0 2 0
pl/edu/agh/cast/data/model/visual/VisualDataSet.java 3 3 0
pl/edu/agh/cast/data/model/visual/VisualDecoratorElement.java 1 3 0
pl/edu/agh/cast/data/model/visual/VisualElement.java 1 0 0
pl/edu/agh/cast/data/model/workflow/Argument.java 0 3 0
pl/edu/agh/cast/data/model/workflow/OperatorSpecification.java 0 6 0

Rules

Rules Violations Severity
AbstractClassName 9 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 17 Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,pl.edu.agh.cast"
3 Warnings Warning
LineLength
  • max: "120"
  • tabWidth: "4"
25 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"
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"
1 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 11 Infos Info
IllegalThrows 1 Infos Info
PackageDeclaration 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0 Warnings Warning
MultipleStringLiterals 4 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"
7 Warnings Warning
JavadocVariable
  • scope: "package"
3 Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
0 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 0 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"
3 Warnings Warning
FileLength 0 Warnings Warning

Details

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

Violation Message Line
Infos Name 'ConverterSpecification' must match pattern '^Abstract.*$|^.*Factory$'. 34
Warnings Line is longer than 120 characters. 120
Warnings The String "Data set of type '%s' is not legal for this converter" appears 2 times in the file. 124

pl/edu/agh/cast/data/model/AbstractDataSet.java

Violation Message Line
Warnings Wrong order for 'java.util.Map.Entry' import. 29
Warnings Unused import - pl.edu.agh.cast.data.model.property.IPropertyContainer. 32
Warnings Unused import - pl.edu.agh.cast.data.model.property.PermanentProperty. 34
Warnings Unused import - pl.edu.agh.cast.data.model.property.TransientProperty. 37
Infos Catching 'RuntimeException' is not allowed. 310

pl/edu/agh/cast/data/model/AbstractElement.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.IPropertyContainer. 23
Warnings Unused import - pl.edu.agh.cast.data.model.property.PermanentProperty. 24
Warnings Unused import - pl.edu.agh.cast.data.model.property.TransientProperty. 27
Infos Throwing 'Throwable' is not allowed. 304

pl/edu/agh/cast/data/model/IDataSet.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.PropertyType. 31

pl/edu/agh/cast/data/model/Type.java

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

pl/edu/agh/cast/data/model/common/SupportedDateAndTimeFormat.java

Violation Message Line
Warnings Missing a Javadoc comment. 91

pl/edu/agh/cast/data/model/copier/AbstractElementPasteStrategy.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 143
Infos Catching 'RuntimeException' is not allowed. 183

pl/edu/agh/cast/data/model/copier/PasteReport.java

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

pl/edu/agh/cast/data/model/domain/DomainDataSet.java

Violation Message Line
Infos Name 'DomainDataSet' must match pattern '^Abstract.*$|^.*Factory$'. 37

pl/edu/agh/cast/data/model/domain/DomainDataSetDescriptor.java

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

pl/edu/agh/cast/data/model/domain/IDomainDataSet.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.PropertyType. 28

pl/edu/agh/cast/data/model/metadata/MetadataProcessor.java

Violation Message Line
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 62

pl/edu/agh/cast/data/model/metadata/ObjectInfo.java

Violation Message Line
Warnings Missing package-info.java file. 0
Warnings Line is longer than 120 characters. 41

pl/edu/agh/cast/data/model/metadata/PropertyInfo.java

Violation Message Line
Warnings Line is longer than 120 characters. 47
Warnings Line is longer than 120 characters. 49

pl/edu/agh/cast/data/model/metadata/annotations/Id.java

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

pl/edu/agh/cast/data/model/presentation/IPresentationDataSet.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.PropertyType. 30

pl/edu/agh/cast/data/model/presentation/IPresentationElement.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.PropertyType. 28
Warnings Unused import - pl.edu.agh.cast.data.model.visual.IVisualElement. 34

pl/edu/agh/cast/data/model/presentation/PresentationDataSet.java

Violation Message Line
Infos Name 'PresentationDataSet' must match pattern '^Abstract.*$|^.*Factory$'. 45
Warnings Line is longer than 120 characters. 227
Warnings Line is longer than 120 characters. 293

pl/edu/agh/cast/data/model/presentation/PresentationElement.java

Violation Message Line
Infos Name 'PresentationElement' must match pattern '^Abstract.*$|^.*Factory$'. 46

pl/edu/agh/cast/data/model/property/MetaPermanentProperty.java

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

pl/edu/agh/cast/data/model/property/PermanentProperty.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 60
Warnings Line is longer than 120 characters. 73
Infos Catching 'Exception' is not allowed. 81

pl/edu/agh/cast/data/model/property/Property.java

Violation Message Line
Infos Name 'Property' must match pattern '^Abstract.*$|^.*Factory$'. 30

pl/edu/agh/cast/data/model/property/PropertyHelper.java

Violation Message Line
Warnings Line is longer than 120 characters. 50
Warnings Line is longer than 120 characters. 54
Warnings method def throws at indentation level 12 not at correct indentation, 8 115
Warnings Line is longer than 120 characters. 117
Warnings The String "A property %s has no annotation annotated by @PropertyType. One and only one is required." appears 2 times in the file. 142
Warnings Line is longer than 120 characters. 150
Warnings method def throws at indentation level 12 not at correct indentation, 8 220
Warnings method def throws at indentation level 12 not at correct indentation, 8 271
Warnings method def throws at indentation level 12 not at correct indentation, 8 351
Warnings Line is longer than 120 characters. 356
Warnings Line is longer than 120 characters. 373
Warnings Line is longer than 120 characters. 377
Warnings Line is longer than 120 characters. 381
Warnings Line is longer than 120 characters. 421
Warnings method def throws at indentation level 12 not at correct indentation, 8 435
Warnings Line is longer than 120 characters. 443
Warnings Line is longer than 120 characters. 451

pl/edu/agh/cast/data/model/property/TransientProperty.java

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

pl/edu/agh/cast/data/model/property/annotation/PropertyGetter.java

Violation Message Line
Warnings Unused import - pl.edu.agh.cast.data.model.property.IPropertyContainer. 26

pl/edu/agh/cast/data/model/property/validator/ColorPropertyValidator.java

Violation Message Line
Infos Catching 'Exception' is not allowed. 39
Infos Catching 'Exception' is not allowed. 53

pl/edu/agh/cast/data/model/property/validator/PropertyValidator.java

Violation Message Line
Infos Name 'PropertyValidator' must match pattern '^Abstract.*$|^.*Factory$'. 30

pl/edu/agh/cast/data/model/property/validator/ReferenceCollectionPropertyValidator.java

Violation Message Line
Warnings The String "Properties of REFERENCE_LIST type are not serializable" appears 2 times in the file. 48

pl/edu/agh/cast/data/model/property/validator/ReferencePropertyValidator.java

Violation Message Line
Warnings The String "Properties of REFERENCE type are not serializable" appears 2 times in the file. 48

pl/edu/agh/cast/data/model/visual/IVisualDataSet.java

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

pl/edu/agh/cast/data/model/visual/IVisualDecoratorElement.java

Violation Message Line
Warnings Line does not match expected header line of '^ \* Created: \d\d\d\d-\d\d-\d\d$'. 13
Warnings Wrong order for 'pl.edu.agh.cast.data.model.presentation.IPresentationElement.PropertyCategory' import. 28

pl/edu/agh/cast/data/model/visual/VisualDataSet.java

Violation Message Line
Warnings Line is longer than 120 characters. 47
Infos Name 'VisualDataSet' must match pattern '^Abstract.*$|^.*Factory$'. 47
Warnings Line is longer than 120 characters. 185
Infos Catching 'Exception' is not allowed. 301
Warnings '(' is followed by whitespace. 313
Infos Catching 'Exception' is not allowed. 321

pl/edu/agh/cast/data/model/visual/VisualDecoratorElement.java

Violation Message Line
Warnings Wrong order for 'pl.edu.agh.cast.data.model.presentation.IPresentationElement.PropertyCategory' import. 36
Infos Name 'VisualDecoratorElement' must match pattern '^Abstract.*$|^.*Factory$'. 52
Warnings Line is longer than 120 characters. 194
Warnings Line is longer than 120 characters. 230

pl/edu/agh/cast/data/model/visual/VisualElement.java

Violation Message Line
Infos Name 'VisualElement' must match pattern '^Abstract.*$|^.*Factory$'. 33

pl/edu/agh/cast/data/model/workflow/Argument.java

Violation Message Line
Warnings Missing package-info.java file. 0
Warnings Unused import - pl.edu.agh.cast.data.model.Identifiable. 24
Warnings Unused import - pl.edu.agh.cast.data.model.Type. 25

pl/edu/agh/cast/data/model/workflow/OperatorSpecification.java

Violation Message Line
Warnings Unused import - java.util.UUID. 22
Warnings Unused import - pl.edu.agh.cast.data.model.Identifiable. 24
Warnings Unused import - pl.edu.agh.cast.data.model.Type. 25
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 83
Warnings Missing a Javadoc comment. 89