Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
37191340

Rules

RulesViolationsSeverity
NewlineAtEndOfFile0Warnings Warning
FileContentsHolder0Warnings Warning
JavadocStyle
  • checkEmptyJavadoc: "true"
0Warnings Warning
JavadocType
  • authorFormat: "^[a-zA-Z'\s]*\s[<>=\.a-z]*$"
  • versionFormat: "^\d+.\d+.[\d+|SNAPSHOT] \d\d\d\d-\d\d-\d\d$"
0Warnings Warning
JavadocVariable0Infos Info
WriteTag0Warnings Warning
ConstantName0Warnings Warning
LocalFinalVariableName0Warnings Warning
LocalVariableName0Warnings Warning
MemberName
  • format: "^[a-zA-Z0-9]+$"
0Warnings Warning
MethodName0Warnings Warning
PackageName
  • format: "name.angoca.zemucan(\.[a-z][a-zA-Z0-9]+)*$"
0Warnings Warning
ParameterName0Warnings Warning
StaticVariableName
  • format: "^[a-zA-Z0-9]+$"
0Warnings Warning
TypeName0Warnings Warning
AvoidStarImport0Warnings Warning
IllegalImport0Warnings Warning
RedundantImport0Warnings Warning
UnusedImports0Warnings Warning
AnonInnerLength1Warnings Warning
ExecutableStatementCount
  • tokens: "INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"
2Warnings Warning
LineLength
  • max: "90"
  • tabWidth: "4"
  • ignorePattern: "^ \* URL:|<br\/>$|<br \/>$|^import |\{$|\/\/\$NON-NLS-"
5Warnings Warning
MethodLength0Warnings Warning
ParameterNumber0Warnings Warning
EmptyForInitializerPad0Warnings Warning
EmptyForIteratorPad0Warnings Warning
MethodParamPad0Warnings Warning
NoWhitespaceBefore0Warnings Warning
OperatorWrap0Warnings Warning
ParenPad0Warnings Warning
TypecastParenPad0Warnings Warning
WhitespaceAfter0Warnings Warning
ModifierOrder0Warnings Warning
RedundantModifier10Warnings Warning
AvoidNestedBlocks0Warnings Warning
EmptyBlock0Warnings Warning
LeftCurly0Warnings Warning
NeedBraces0Warnings Warning
RightCurly0Warnings Warning
AvoidInlineConditionals0Warnings Warning
CovariantEquals0Warnings Warning
DefaultComesLast0Warnings Warning
DeclarationOrder9Warnings Warning
DoubleCheckedLocking0Warnings Warning
EmptyStatement0Warnings Warning
EqualsHashCode0Warnings Warning
ExplicitInitialization3Warnings Warning
FallThrough0Warnings Warning
FinalLocalVariable5Warnings Warning
HiddenField4Warnings Warning
IllegalInstantiation0Warnings Warning
IllegalCatch0Warnings Warning
IllegalThrows0Warnings Warning
IllegalToken5Warnings Warning
IllegalTokenText0Warnings Warning
IllegalType70Warnings Warning
InnerAssignment2Warnings Warning
JUnitTestCase0Warnings Warning
MagicNumber0Warnings Warning
MissingCtor0Warnings Warning
MissingSwitchDefault0Warnings Warning
ModifiedControlVariable1Warnings Warning
MultipleStringLiterals7Warnings Warning
MultipleVariableDeclarations0Warnings Warning
NestedIfDepth3Warnings Warning
NestedTryDepth0Warnings Warning
PackageDeclaration0Warnings Warning
ParameterAssignment0Warnings Warning
RedundantThrows
  • logLoadErrors: "true"
  • suppressLoadErrors: "true"
0Warnings Warning
RequireThis0Warnings Warning
ReturnCount0Warnings Warning
SimplifyBooleanExpression0Warnings Warning
SimplifyBooleanReturn0Warnings Warning
StringLiteralEquality0Warnings Warning
SuperClone0Warnings Warning
SuperFinalize0Warnings Warning
UnnecessaryParentheses1Warnings Warning
DesignForExtension19Infos Info
FinalClass0Warnings Warning
HideUtilityClassConstructor0Warnings Warning
InterfaceIsType0Warnings Warning
MutableException0Warnings Warning
ThrowsCount0Warnings Warning
VisibilityModifier0Warnings Warning
BooleanExpressionComplexity0Warnings Warning
ClassDataAbstractionCoupling1Warnings Warning
ClassFanOutComplexity1Warnings Warning
CyclomaticComplexity3Warnings Warning
JavaNCSS0Warnings Warning
NPathComplexity1Warnings Warning
ArrayTypeStyle0Warnings Warning
DescendantToken0Warnings Warning
FinalParameters0Warnings Warning
TodoComment0Warnings Warning
TrailingComment
  • legalComment: "\$NON-NLS-"
0Warnings Warning
UncommentedMain
  • excludedClasses: "\.Main$"
0Warnings Warning
UpperEll0Warnings Warning
Regexp0Warnings Warning

Details

name/angoca/zemucan/core/graph/model/AboutNode.java

ViolationMessageLine
WarningsConstructor definition in wrong order.167

name/angoca/zemucan/core/graph/model/AbstractGraphNode.java

ViolationMessageLine
InfosMethod 'addChild' is not designed for extension - needs to be abstract, final or empty.130
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.130
InfosMethod 'addParent' is not designed for extension - needs to be abstract, final or empty.154
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.154
InfosMethod 'compareTo' is not designed for extension - needs to be abstract, final or empty.208
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.209
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.226
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.247
InfosMethod 'equals' is not designed for extension - needs to be abstract, final or empty.264
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.268
WarningsNested if-else depth is 2 (max allowed is 1).275
WarningsInner assignments should be avoided.293
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.295
WarningsInner assignments should be avoided.322
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.324
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.342
WarningsAnonymous inner class length is 71 lines (max allowed is 20).350
WarningsVariable 'indexNonReserved' explicitly initialized to '0' (default value for its type).355
WarningsVariable 'indexReserved' explicitly initialized to '0' (default value for its type).359
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.363
WarningsVariable 'next' explicitly initialized to 'null' (default value for its type).363
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.377
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.389
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.407
InfosMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.428
InfosMethod 'isComeFromStartingNode' is not designed for extension - needs to be abstract, final or empty.440
InfosMethod 'isGoToEndingNode' is not designed for extension - needs to be abstract, final or empty.449
InfosMethod 'removeChild' is not designed for extension - needs to be abstract, final or empty.461
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.461
InfosMethod 'removeParent' is not designed for extension - needs to be abstract, final or empty.477
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.477
InfosMethod 'setComeFromStartingNode' is not designed for extension - needs to be abstract, final or empty.502
InfosMethod 'setGoToEndingNode' is not designed for extension - needs to be abstract, final or empty.512
InfosMethod 'toString' is not designed for extension - needs to be abstract, final or empty.522
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.528
WarningsThe String "--" appears 2 times in the file.529
WarningsThe String "\n" appears 2 times in the file.535
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.538
InfosMethod 'setGraphName' is not designed for extension - needs to be abstract, final or empty.556
Warnings'graphName' hides a field.556
InfosMethod 'getGraphName' is not designed for extension - needs to be abstract, final or empty.565
InfosMethod 'addGraphName' is not designed for extension - needs to be abstract, final or empty.577

name/angoca/zemucan/core/graph/model/DuplicatedNodeNameException.java

ViolationMessageLine
Warnings'name' hides a field.96
Warnings'childNode1' hides a field.96
Warnings'childNode2' hides a field.96
WarningsThe String "DuplicatedNodeNameException" appears 2 times in the file.146

name/angoca/zemucan/core/graph/model/EndingNode.java

ViolationMessageLine
WarningsLine is longer than 90 characters.88
WarningsRedundant 'final' modifier.91
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.91
WarningsRedundant 'final' modifier.104
WarningsRedundant 'final' modifier.124
WarningsRedundant 'final' modifier.136
WarningsRedundant 'final' modifier.151
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.155

name/angoca/zemucan/core/graph/model/Graph.java

ViolationMessageLine
WarningsClass Data Abstraction Coupling is 25 (max allowed is 7) classes [AboutNode, ArrayList, DuplicatedNodeException, DuplicatedNodeNameException, EmptyGrammarException, EndingNode, EndingNodeNotDefinedException, GraphNode, HashMap, HelpNode, InvalidEndingNodeException, InvalidGraphStateException, InvalidStartingNodeException, LicenseNode, NextNode, NodeNotComesFromStartingNodeException, NodeNotGoesToEndingNodeException, NonReservedGraphNode, NotExistingChildNodeException, NotExistingNodeException, ParameterNullException, ReferencingEndingNodeException, ReferencingStartingNodeException, StartingNode, StartingNodeNotDefinedException].92
WarningsClass Fan-Out Complexity is 34 (max allowed is 20).92
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.116
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.116
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.117
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.149
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.149
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.150
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.177
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.189
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.194
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.226
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.232
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.245
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.251
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.269
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.270
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.278
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.283
WarningsInstance variable definition in wrong order.291
WarningsInstance variable definition in wrong order.296
WarningsInstance variable definition in wrong order.303
WarningsInstance variable definition in wrong order.309
WarningsInstance variable definition in wrong order.315
WarningsInstance variable definition in wrong order.320
WarningsConstructor definition in wrong order.334
WarningsExecutable statement count is 43 (max allowed is 30).357
WarningsCyclomatic Complexity is 12 (max allowed is 10).462
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.462
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.475
InfosMethod 'addRelation' is not designed for extension - needs to be abstract, final or empty.530
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.530
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.531
WarningsThe String "Relation {}" appears 2 times in the file.543
WarningsThe String "parentId" appears 2 times in the file.567
WarningsThe String "childId" appears 2 times in the file.570
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.581
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.587
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.607
WarningsLine is longer than 90 characters.610
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.613
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.615
WarningsNested if-else depth is 2 (max allowed is 1).620
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.642
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.645
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.655
WarningsCyclomatic Complexity is 14 (max allowed is 10).670
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.686
WarningsNested if-else depth is 2 (max allowed is 1).687
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.706
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.711
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.862
WarningsVariable 'node' should be declared final.862
WarningsLine is longer than 90 characters.870
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.876
WarningsVariable 'node' should be declared final.876
InfosMethod 'removeRelation' is not designed for extension - needs to be abstract, final or empty.895
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.895
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.896
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.945
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.952
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.987
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1004
WarningsCyclomatic Complexity is 15 (max allowed is 10).1035
WarningsExecutable statement count is 46 (max allowed is 30).1035
WarningsNPath Complexity is 324 (max allowed is 200).1035
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1042
WarningsVariable 'size' should be declared final.1050
WarningsUsing '++' is not allowed.1051
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1052
WarningsUsing '++' is not allowed.1058
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1059
WarningsControl variable 'i' is modified.1066
WarningsUsing '++' is not allowed.1074
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1076
WarningsUsing '++' is not allowed.1079
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1080
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1091
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1104
WarningsVariable 'childrenSize' should be declared final.1106
WarningsVariable 'parentsSize' should be declared final.1107
WarningsUsing '++' is not allowed.1133
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.1135

name/angoca/zemucan/core/graph/model/LicenseNode.java

ViolationMessageLine
WarningsConstructor definition in wrong order.149

name/angoca/zemucan/core/graph/model/NextNode.java

ViolationMessageLine
WarningsLine is longer than 90 characters.65

name/angoca/zemucan/core/graph/model/NotExistingChildNodeException.java

ViolationMessageLine
WarningsThe String "NotExistingChildNodeException." appears 2 times in the file.113

name/angoca/zemucan/core/graph/model/StartingNode.java

ViolationMessageLine
WarningsLine is longer than 90 characters.89
WarningsRedundant 'final' modifier.92
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.92
WarningsRedundant 'final' modifier.105
WarningsUnnecessary parentheses around expression.111
WarningsRedundant 'final' modifier.124
WarningsRedundant 'final' modifier.136
WarningsRedundant 'final' modifier.151
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.155

name/angoca/zemucan/core/graph/model/TextualGraphNode.java

ViolationMessageLine
WarningsDeclaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed.91
InfosMethod 'equals' is not designed for extension - needs to be abstract, final or empty.108
InfosMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.135