Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
410470

Rules

RulesViolationsSeverity
AbstractClassName0Infos Info
ConstantName1Warnings Warning
LocalFinalVariableName0Warnings Warning
LocalVariableName
  • tokens: "PARAMETER_DEF,VARIABLE_DEF"
0Warnings Warning
MemberName0Warnings Warning
MethodName0Warnings Warning
PackageName
  • format: "^org\.jage(\.[a-z][a-z0-9]*)*$"
0Warnings Warning
ParameterName0Warnings Warning
StaticVariableName0Warnings Warning
TypeName0Warnings Warning
AvoidStarImport0Warnings Warning
IllegalImport0Warnings Warning
RedundantImport0Warnings Warning
UnusedImports1Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,org.jage"
20Warnings Warning
LineLength
  • max: "140"
  • tabWidth: "4"
0Warnings Warning
MethodLength
  • tokens: "CTOR_DEF,METHOD_DEF"
0Warnings Warning
AnonInnerLength
  • max: "50"
0Warnings Warning
ParameterNumber
  • tokens: "CTOR_DEF,METHOD_DEF"
0Warnings Warning
MethodParamPad0Warnings Warning
NoWhitespaceAfter
  • tokens: "LNOT,DOT,BNOT,DEC,UNARY_MINUS,UNARY_PLUS,INC,TYPECAST"
0Warnings Warning
NoWhitespaceBefore
  • allowLineBreaks: "true"
  • tokens: "SEMI,DOT,POST_DEC,POST_INC"
0Warnings 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"
0Warnings Warning
ParenPad
  • tokens: "LPAREN,RPAREN,CTOR_CALL,METHOD_CALL,SUPER_CTOR_CALL"
0Warnings Warning
TypecastParenPad
  • tokens: "RPAREN,TYPECAST"
0Warnings Warning
WhitespaceAfter
  • tokens: "COMMA,SEMI"
0Warnings Warning
ModifierOrder0Warnings Warning
AvoidNestedBlocks
  • allowInSwitchCase: "true"
0Warnings Warning
EmptyBlock
  • tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,STATIC_INIT,LITERAL_TRY,LITERAL_WHILE"
0Warnings 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"
0Warnings Warning
NeedBraces
  • tokens: "LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE"
0Warnings Warning
RightCurly
  • tokens: "LITERAL_CATCH,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY"
0Warnings Warning
AvoidInlineConditionals0 Ignore
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreAbstractMethods: "true"
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1Warnings 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"
0Warnings Warning
MagicNumber0 Ignore
MissingSwitchDefault0Warnings Warning
ModifiedControlVariable0Warnings Warning
RedundantThrows
  • allowUnchecked: "true"
0Warnings Warning
SimplifyBooleanExpression0Warnings Warning
SimplifyBooleanReturn0Warnings Warning
StringLiteralEquality0Errors Error
NestedIfDepth
  • max: "3"
0Warnings Warning
NestedTryDepth
  • max: "2"
0Warnings Warning
SuperClone0 Ignore
SuperFinalize0Warnings Warning
IllegalCatch0Infos Info
IllegalThrows0Infos Info
PackageDeclaration0Warnings Warning
DefaultComesLast0Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0Warnings Warning
MultipleStringLiterals13Warnings Warning
UnnecessaryParentheses0Warnings Warning
DeclarationOrder0 Ignore
FinalClass0Warnings Warning
HideUtilityClassConstructor0 Ignore
VisibilityModifier0 Ignore
ThrowsCount
  • max: "3"
0Infos Info
ArrayTypeStyle0Warnings Warning
RegexpSinglelineJava
  • message: "Line has trailing spaces."
  • ignoreComments: "true"
  • format: "\s+$"
0Warnings Warning
TodoComment0 Ignore
UncommentedMain0Warnings Warning
UpperEll0Warnings Warning
Indentation0Warnings Warning
JavadocType
  • scope: "package"
0Errors Error
JavadocType2Warnings Warning
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowUndeclaredRTE: "true"
  • tokens: "CTOR_DEF,METHOD_DEF"
  • allowMissingThrowsTags: "true"
0Warnings Warning
JavadocVariable
  • scope: "package"
0Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
2Warnings Warning
JavadocType
  • authorFormat: "AGH AgE Team"
2Warnings Warning
EmptyForInitializerPad
  • option: "space"
0Infos Info
EmptyForIteratorPad0Infos Info
MethodParamPad
  • tokens: "CTOR_DEF,METHOD_CALL,METHOD_DEF,LITERAL_NEW,SUPER_CTOR_CALL"
0Warnings Warning
CovariantEquals0Warnings Warning
IllegalType
  • tokens: "METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"
0 Ignore
MultipleVariableDeclarations0Warnings Warning
ParameterAssignment0Warnings Warning
ReturnCount
  • max: "3"
  • format: "^equals$"
0Warnings Warning
TrailingComment0 Ignore
JavadocMethod
  • allowMissingParamTags: "true"
  • allowMissingPropertyJavadoc: "true"
  • allowThrowsTagsForSubclasses: "true"
  • excludeScope: "protected"
  • scope: "package"
  • allowUndeclaredRTE: "true"
  • tokens: "CTOR_DEF,METHOD_DEF"
  • allowMissingReturnTag: "true"
  • allowMissingThrowsTags: "true"
0Infos Info
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
5Warnings Warning
NewlineAtEndOfFile
  • lineSeparator: "lf"
  • fileExtensions: "java,properties,xml"
0Warnings Warning
Translation0Errors Error
JavadocPackage
  • allowLegacy: "true"
2Warnings Warning
FileLength0Warnings Warning

Details

org/jage/examples/actions/ActionSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.action.SingleAction' import.38

org/jage/examples/configuration/ArrayAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.38
WarningsThe String "Values:" appears 2 times in the file.67

org/jage/examples/configuration/ListAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.40
WarningsThe String "Values:" appears 4 times in the file.77
WarningsThe String "Instance: {}" appears 4 times in the file.79

org/jage/examples/configuration/MapAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.41
WarningsThe String "Values:" appears 4 times in the file.78
WarningsThe String "Key: {}. Value: {}." appears 4 times in the file.80

org/jage/examples/delegation/DelegationSimpleAggregate.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.AlreadyExistsException' import.38
WarningsJavadoc has empty description section.70

org/jage/examples/delegation/DelegationSimpleLeaf.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.38

org/jage/examples/delegation/EchoHelloStrategy.java

ViolationMessageLine
WarningsWrong order for 'org.jage.property.ClassPropertyContainer' import.38

org/jage/examples/delegation/EchoParentStrategy.java

ViolationMessageLine
WarningsWrong order for 'org.jage.property.ClassPropertyContainer' import.38

org/jage/examples/delegation/StrategyProvider.java

ViolationMessageLine
WarningsWrong order for 'org.jage.platform.component.annotation.Inject' import.44
WarningsThe String "Strategy lookup: {}" appears 3 times in the file.64

org/jage/examples/functions/FunctionsSimpleAgent.java

ViolationMessageLine
WarningsLine does not match expected header line of '^/\*$'.26
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.33
WarningsMissing a Javadoc comment.40

org/jage/examples/functions/FunctionsSimpleWorkspace.java

ViolationMessageLine
WarningsMissing package-info.java file.0
WarningsLine does not match expected header line of '^/\*$'.26
WarningsWrong order for 'org.jage.platform.component.exception.ComponentException' import.31
WarningsMissing a Javadoc comment.41
WarningsThe String "count" appears 2 times in the file.52
WarningsThe String "@Agents[*].value" appears 5 times in the file.52
WarningsThe String "sum" appears 2 times in the file.53
WarningsThe String "avg" appears 2 times in the file.54
WarningsThe String "min" appears 2 times in the file.55
WarningsThe String "max" appears 2 times in the file.56

org/jage/examples/helloworld/HelloWorldSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.38

org/jage/examples/messages/MessagesSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.address.IAgentAddress' import.40
WarningsThe String "Agent exception" appears 2 times in the file.121
Warnings'message' hides a field.132

org/jage/examples/migration/CrawlingSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.address.IAgentAddress' import.41

org/jage/examples/multiworkplace/ExampleCommunicatingWorkplace.java

ViolationMessageLine
WarningsMissing package-info.java file.0
WarningsLine does not match expected header line of '^/\*$'.26
WarningsWrong order for 'org.jage.address.IAgentAddress' import.31

org/jage/examples/multiworkplace/MultiworkplaceSimpleAgent.java

ViolationMessageLine
WarningsLine does not match expected header line of '^/\*$'.26
WarningsWrong order for 'org.jage.address.IAgentAddress' import.34
WarningsUnused import - org.jage.property.InvalidPropertyPathException.44
WarningsName 'random' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.58
WarningsJavadoc has empty description section.60

org/jage/examples/properties/PropertiesSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.address.IAgentAddress' import.40

org/jage/examples/properties/xml/PropertiesSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.address.IAgentAddress' import.40

org/jage/examples/properties/xml/XMLContractHelloWorldSimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.38

org/jage/examples/strategy/Echo123Strategy.java

ViolationMessageLine
WarningsLine does not match expected header line of '^ \* File: ([A-Z]([A-Za-z])*|package-info)\.java$'.27

org/jage/examples/strategy/StrategySimpleAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.SimpleAgent' import.38