Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
1078800

Rules

RulesViolationsSeverity
AbstractClassName4Infos Info
ConstantName3Warnings 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
UnusedImports6Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java,javax,org,org.jage"
8Warnings Warning
LineLength
  • max: "140"
  • tabWidth: "4"
2Warnings 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"
3Warnings 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"
2Warnings 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
IllegalCatch4Infos Info
IllegalThrows0Infos Info
PackageDeclaration0Warnings Warning
DefaultComesLast0Warnings Warning
FallThrough
  • checkLastCaseGroup: "true"
0Warnings Warning
MultipleStringLiterals17Warnings Warning
UnnecessaryParentheses4Warnings 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
Indentation10Warnings Warning
JavadocType
  • scope: "package"
0Errors Error
JavadocType1Warnings Warning
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowUndeclaredRTE: "true"
  • tokens: "CTOR_DEF,METHOD_DEF"
  • allowMissingThrowsTags: "true"
16Warnings Warning
JavadocVariable
  • scope: "package"
6Warnings Warning
JavadocStyle
  • scope: "public"
  • checkEmptyJavadoc: "true"
0Warnings Warning
JavadocType
  • authorFormat: "AGH AgE Team"
1Warnings 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"
2Warnings Warning
NewlineAtEndOfFile
  • lineSeparator: "lf"
  • fileExtensions: "java,properties,xml"
0Warnings Warning
Translation0Errors Error
JavadocPackage
  • allowLegacy: "true"
0Warnings Warning
FileLength0Warnings Warning

Details

org/jage/action/Action.java

ViolationMessageLine
InfosName 'Action' must match pattern '^Abstract.*$|^.*Factory$'.46
WarningsMissing a Javadoc comment.57

org/jage/action/ActionPhase.java

ViolationMessageLine
WarningsMissing a Javadoc comment.42
WarningsMissing a Javadoc comment.42
WarningsMissing a Javadoc comment.42

org/jage/action/ComplexAction.java

ViolationMessageLine
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.55

org/jage/action/IPerformActionStategy.java

ViolationMessageLine
WarningsUnused import - org.jage.address.selector.BroadcastSelector.38

org/jage/action/SingleAction.java

ViolationMessageLine
WarningsMissing a Javadoc comment.82
WarningsThe String "[ SingleAction: " appears 2 times in the file.102
WarningsThe String " " appears 3 times in the file.102
WarningsThe String " ]" appears 2 times in the file.102

org/jage/action/context/AddAgentActionContext.java

ViolationMessageLine
WarningsMissing a Javadoc comment.75
WarningsUnnecessary parentheses around return value.76

org/jage/action/context/IActionWithAgentReferenceContext.java

ViolationMessageLine
WarningsMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.51

org/jage/action/context/MoveAgentActionContext.java

ViolationMessageLine
WarningsMissing a Javadoc comment.62
WarningsThe String "null" appears 3 times in the file.108
WarningsMissing a Javadoc comment.114
WarningsUnnecessary parentheses around return value.115

org/jage/action/context/PassToParentActionContext.java

ViolationMessageLine
WarningsUnused import - org.jage.agent.SimpleAggregate.38
WarningsMissing a Javadoc comment.55

org/jage/action/context/RemoveAgentActionContext.java

ViolationMessageLine
WarningsMissing a Javadoc comment.75
WarningsUnnecessary parentheses around return value.76

org/jage/action/context/SendMessageActionContext.java

ViolationMessageLine
WarningsMissing a Javadoc comment.80
WarningsUnnecessary parentheses around return value.81

org/jage/action/package-info.java

ViolationMessageLine
WarningsLine is longer than 140 characters.36

org/jage/agent/AbstractAgent.java

ViolationMessageLine
WarningsMissing a Javadoc comment.66
Warningsmethod def throws at indentation level 12 not at correct indentation, 8211
WarningsThe String "Agent environment is not available" appears 2 times in the file.214
Warningsmethod def throws at indentation level 12 not at correct indentation, 8233

org/jage/agent/ActionDrivenAgent.java

ViolationMessageLine
WarningsWrong order for 'org.jage.action.Action' import.38
WarningsName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.72

org/jage/agent/ISimpleAggregate.java

ViolationMessageLine
WarningsUnused import - org.jage.address.selector.BroadcastSelector.39

org/jage/agent/SimpleAgent.java

ViolationMessageLine
WarningsUnused import - org.jage.platform.component.provider.IComponentInstanceProvider.48
InfosName 'SimpleAgent' must match pattern '^Abstract.*$|^.*Factory$'.57

org/jage/agent/SimpleAggregate.java

ViolationMessageLine
WarningsWrong order for 'org.jage.action.Action' import.51
WarningsUnused import - org.jage.address.selector.BroadcastSelector.67
WarningsLine is longer than 140 characters.138
WarningsName '_log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.148
WarningsThe String "]" appears 5 times in the file.415
InfosCatching 'RuntimeException' is not allowed.445
WarningsThe String "An exception occured during performing action " appears 2 times in the file.446
InfosCatching 'RuntimeException' is not allowed.458
Warningsmethod def throws at indentation level 12 not at correct indentation, 8567
WarningsThe String "The action cannot be found [name: " appears 2 times in the file.583
WarningsThe String "ActionContext " appears 2 times in the file.621
Warningsmethod def throws at indentation level 12 not at correct indentation, 8640
WarningsThe String "Cannot execute the action: " appears 3 times in the file.652
WarningsThe String ", " appears 2 times in the file.664
Warningsmethod def throws at indentation level 12 not at correct indentation, 8694
Warningsmethod def throws at indentation level 12 not at correct indentation, 8785
WarningsThe String "Cannot remove the agent [agent: {}, parent: {}]" appears 2 times in the file.877
Warningsmethod call child at indentation level 20 not at correct indentation, [24, 118]995
Warningsmethod def throws at indentation level 12 not at correct indentation, 81041
Warnings'agents' hides a field.1156
WarningsThe String "Interrupted in toArray" appears 2 times in the file.1323
Warnings'localEnvironment' hides a field.1355
Warnings'localEnvironment' hides a field.1388

org/jage/event/AgentActionEvent.java

ViolationMessageLine
WarningsExpected @param tag for 'event'.95

org/jage/event/AggregateEvent.java

ViolationMessageLine
InfosName 'AggregateEvent' must match pattern '^Abstract.*$|^.*Factory$'.42

org/jage/pico/PicoWorkplaceManager.java

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

org/jage/query/MultiElementQuery.java

ViolationMessageLine
WarningsThe String "Cannot instantiate query results." appears 2 times in the file.190

org/jage/query/ValueFilters.java

ViolationMessageLine
WarningsThe String "Value cannot be null." appears 4 times in the file.94
InfosCatching 'Exception' is not allowed.240

org/jage/query/ValueSelectors.java

ViolationMessageLine
InfosCatching 'Exception' is not allowed.68

org/jage/strategy/Binding.java

ViolationMessageLine
WarningsLine does not match expected header line of '^/\*$'.26

org/jage/strategy/Description.java

ViolationMessageLine
WarningsLine does not match expected header line of '^/\*$'.26

org/jage/util/DecreasingPriorityQueue.java

ViolationMessageLine
WarningsInner assignments should be avoided.111
WarningsInner assignments should be avoided.149

org/jage/workplace/ConnectedSimpleWorkplace.java

ViolationMessageLine
WarningsWrong order for 'org.jage.action.AgentAction' import.40
Warningsmethod def throws at indentation level 12 not at correct indentation, 874
Warningsmethod def throws at indentation level 12 not at correct indentation, 8107

org/jage/workplace/FixedStepCountStopCondition.java

ViolationMessageLine
WarningsWrong order for 'org.jage.event.AbstractEvent' import.38
WarningsMissing a Javadoc comment.70
WarningsMissing a Javadoc comment.75
WarningsThe String "See logs for more details" appears 2 times in the file.99

org/jage/workplace/IsolatedSimpleWorkplace.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.IAgent' import.40

org/jage/workplace/SimpleWorkplace.java

ViolationMessageLine
WarningsWrong order for 'org.jage.agent.AlreadyExistsException' import.40
WarningsUnused import - org.jage.agent.IThreadAgent.44
WarningsName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.70
WarningsThe String "Agent environment is not applicable to workplace." appears 2 times in the file.89

org/jage/workplace/WorkplaceManager.java

ViolationMessageLine
WarningsWrong order for 'org.jage.platform.component.provider.IComponentInstanceProvider' import.41
InfosName 'WorkplaceManager' must match pattern '^Abstract.*$|^.*Factory$'.52
WarningsMissing a Javadoc comment.57
WarningsMissing a Javadoc comment.59