The following document contains the results of Checkstyle. 
| Rules | Violations | Severity |
|---|---|---|
| NewlineAtEndOfFile | 0 | |
| FileContentsHolder | 0 | |
JavadocStyle
| 0 | |
JavadocType
| 0 | |
| JavadocVariable | 0 | |
| WriteTag | 0 | |
| ConstantName | 0 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
MemberName
| 0 | |
| MethodName | 0 | |
PackageName
| 0 | |
| ParameterName | 0 | |
StaticVariableName
| 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 0 | |
| AnonInnerLength | 1 | |
ExecutableStatementCount
| 2 | |
LineLength
| 5 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForInitializerPad | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| WhitespaceAfter | 0 | |
| ModifierOrder | 0 | |
| RedundantModifier | 10 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 0 | |
| LeftCurly | 0 | |
| NeedBraces | 0 | |
| RightCurly | 0 | |
| AvoidInlineConditionals | 0 | |
| CovariantEquals | 0 | |
| DefaultComesLast | 0 | |
| DeclarationOrder | 9 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| ExplicitInitialization | 3 | |
| FallThrough | 0 | |
| FinalLocalVariable | 5 | |
| HiddenField | 4 | |
| IllegalInstantiation | 0 | |
| IllegalCatch | 0 | |
| IllegalThrows | 0 | |
| IllegalToken | 5 | |
| IllegalTokenText | 0 | |
| IllegalType | 70 | |
| InnerAssignment | 2 | |
| JUnitTestCase | 0 | |
| MagicNumber | 0 | |
| MissingCtor | 0 | |
| MissingSwitchDefault | 0 | |
| ModifiedControlVariable | 1 | |
| MultipleStringLiterals | 7 | |
| MultipleVariableDeclarations | 0 | |
| NestedIfDepth | 3 | |
| NestedTryDepth | 0 | |
| PackageDeclaration | 0 | |
| ParameterAssignment | 0 | |
RedundantThrows
| 0 | |
| RequireThis | 0 | |
| ReturnCount | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| StringLiteralEquality | 0 | |
| SuperClone | 0 | |
| SuperFinalize | 0 | |
| UnnecessaryParentheses | 1 | |
| DesignForExtension | 19 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 0 | |
| InterfaceIsType | 0 | |
| MutableException | 0 | |
| ThrowsCount | 0 | |
| VisibilityModifier | 0 | |
| BooleanExpressionComplexity | 0 | |
| ClassDataAbstractionCoupling | 1 | |
| ClassFanOutComplexity | 1 | |
| CyclomaticComplexity | 3 | |
| JavaNCSS | 0 | |
| NPathComplexity | 1 | |
| ArrayTypeStyle | 0 | |
| DescendantToken | 0 | |
| FinalParameters | 0 | |
| TodoComment | 0 | |
TrailingComment
| 0 | |
UncommentedMain
| 0 | |
| UpperEll | 0 | |
| Regexp | 0 |
| Violation | Message | Line |
|---|---|---|
| Constructor definition in wrong order. | 167 |
| Violation | Message | Line |
|---|---|---|
| Method 'addChild' is not designed for extension - needs to be abstract, final or empty. | 130 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 130 | |
| Method 'addParent' is not designed for extension - needs to be abstract, final or empty. | 154 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 154 | |
| Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 208 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 209 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 226 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 247 | |
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 264 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 268 | |
| Nested if-else depth is 2 (max allowed is 1). | 275 | |
| Inner assignments should be avoided. | 293 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 295 | |
| Inner assignments should be avoided. | 322 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 324 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 342 | |
| Anonymous inner class length is 71 lines (max allowed is 20). | 350 | |
| Variable 'indexNonReserved' explicitly initialized to '0' (default value for its type). | 355 | |
| Variable 'indexReserved' explicitly initialized to '0' (default value for its type). | 359 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 363 | |
| Variable 'next' explicitly initialized to 'null' (default value for its type). | 363 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 377 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 389 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 407 | |
| Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 428 | |
| Method 'isComeFromStartingNode' is not designed for extension - needs to be abstract, final or empty. | 440 | |
| Method 'isGoToEndingNode' is not designed for extension - needs to be abstract, final or empty. | 449 | |
| Method 'removeChild' is not designed for extension - needs to be abstract, final or empty. | 461 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 461 | |
| Method 'removeParent' is not designed for extension - needs to be abstract, final or empty. | 477 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 477 | |
| Method 'setComeFromStartingNode' is not designed for extension - needs to be abstract, final or empty. | 502 | |
| Method 'setGoToEndingNode' is not designed for extension - needs to be abstract, final or empty. | 512 | |
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 522 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 528 | |
| The String "--" appears 2 times in the file. | 529 | |
| The String "\n" appears 2 times in the file. | 535 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 538 | |
| Method 'setGraphName' is not designed for extension - needs to be abstract, final or empty. | 556 | |
| 'graphName' hides a field. | 556 | |
| Method 'getGraphName' is not designed for extension - needs to be abstract, final or empty. | 565 | |
| Method 'addGraphName' is not designed for extension - needs to be abstract, final or empty. | 577 |
| Violation | Message | Line |
|---|---|---|
| 'name' hides a field. | 96 | |
| 'childNode1' hides a field. | 96 | |
| 'childNode2' hides a field. | 96 | |
| The String "DuplicatedNodeNameException" appears 2 times in the file. | 146 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 90 characters. | 88 | |
| Redundant 'final' modifier. | 91 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 91 | |
| Redundant 'final' modifier. | 104 | |
| Redundant 'final' modifier. | 124 | |
| Redundant 'final' modifier. | 136 | |
| Redundant 'final' modifier. | 151 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 155 |
| Violation | Message | Line |
|---|---|---|
| Class 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 | |
| Class Fan-Out Complexity is 34 (max allowed is 20). | 92 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 116 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 116 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 117 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 149 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 149 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 150 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 177 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 189 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 194 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 226 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 232 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 245 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 251 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 269 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 270 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 278 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 283 | |
| Instance variable definition in wrong order. | 291 | |
| Instance variable definition in wrong order. | 296 | |
| Instance variable definition in wrong order. | 303 | |
| Instance variable definition in wrong order. | 309 | |
| Instance variable definition in wrong order. | 315 | |
| Instance variable definition in wrong order. | 320 | |
| Constructor definition in wrong order. | 334 | |
| Executable statement count is 43 (max allowed is 30). | 357 | |
| Cyclomatic Complexity is 12 (max allowed is 10). | 462 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 462 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 475 | |
| Method 'addRelation' is not designed for extension - needs to be abstract, final or empty. | 530 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 530 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 531 | |
| The String "Relation {}" appears 2 times in the file. | 543 | |
| The String "parentId" appears 2 times in the file. | 567 | |
| The String "childId" appears 2 times in the file. | 570 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 581 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 587 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 607 | |
| Line is longer than 90 characters. | 610 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 613 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 615 | |
| Nested if-else depth is 2 (max allowed is 1). | 620 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 642 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 645 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 655 | |
| Cyclomatic Complexity is 14 (max allowed is 10). | 670 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 686 | |
| Nested if-else depth is 2 (max allowed is 1). | 687 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 706 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 711 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 862 | |
| Variable 'node' should be declared final. | 862 | |
| Line is longer than 90 characters. | 870 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 876 | |
| Variable 'node' should be declared final. | 876 | |
| Method 'removeRelation' is not designed for extension - needs to be abstract, final or empty. | 895 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 895 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 896 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 945 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 952 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 987 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1004 | |
| Cyclomatic Complexity is 15 (max allowed is 10). | 1035 | |
| Executable statement count is 46 (max allowed is 30). | 1035 | |
| NPath Complexity is 324 (max allowed is 200). | 1035 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1042 | |
| Variable 'size' should be declared final. | 1050 | |
| Using '++' is not allowed. | 1051 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1052 | |
| Using '++' is not allowed. | 1058 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1059 | |
| Control variable 'i' is modified. | 1066 | |
| Using '++' is not allowed. | 1074 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1076 | |
| Using '++' is not allowed. | 1079 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1080 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1091 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1104 | |
| Variable 'childrenSize' should be declared final. | 1106 | |
| Variable 'parentsSize' should be declared final. | 1107 | |
| Using '++' is not allowed. | 1133 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 1135 |
| Violation | Message | Line |
|---|---|---|
| Constructor definition in wrong order. | 149 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 90 characters. | 65 |
| Violation | Message | Line |
|---|---|---|
| The String "NotExistingChildNodeException." appears 2 times in the file. | 113 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 90 characters. | 89 | |
| Redundant 'final' modifier. | 92 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 92 | |
| Redundant 'final' modifier. | 105 | |
| Unnecessary parentheses around expression. | 111 | |
| Redundant 'final' modifier. | 124 | |
| Redundant 'final' modifier. | 136 | |
| Redundant 'final' modifier. | 151 | |
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 155 |
| Violation | Message | Line |
|---|---|---|
| Declaring variables, return values or parameters of type 'AbstractGraphNode' is not allowed. | 91 | |
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 108 | |
| Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 135 |