Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.988 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 64 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementContainmentAdapter.java |
2 | 13 | 100 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementContainmentAdapter.java |
| ||||
if (checkContext(flags) && workingSetElement.equals(element)) { return true; } if (checkIfChild(flags) && workingSetElement.equals(element.getParent())) { return true; } if (checkIfDescendant(flags) && check(workingSetElement, element)) { return true; } if (checkIfAncestor(flags) && check(element, workingSetElement)) { return true; } return false; |
| ||||
if (checkContext(flags) && workingSetResource.equals(element)) { return true; } if (checkIfChild(flags) && workingSetResource.equals(element.getParent())) { return true; } if (checkIfDescendant(flags) && check(workingSetResource, element)) { return true; } if (checkIfAncestor(flags) && check(element, workingSetResource)) { return true; } return false; |
| |||
if (checkContext(flags) && [[#variableb9c82780]].equals(element)) { return true; } if (checkIfChild(flags) && [[#variableb9c82780]].equals(element.getParent())) { return true; } if (checkIfDescendant(flags) && check( [[#variableb9c82780]], element)) { return true; } if (checkIfAncestor(flags) && check(element, [[#variableb9c82780]])) { return true; } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9c82780]] | workingSetResource |
1 | 2 | [[#b9c82780]] | workingSetElement |