Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.964 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 112 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyLabelProvider.java |
2 | 9 | 201 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java |
| ||||
IJavaElement parent = type.getAncestor(input.getElementType()); if (input.getElementType() == IJavaElement.PACKAGE_FRAGMENT) { if (parent == null || parent.getElementName().equals(input.getElementName())) { return false; } } else if (input.equals(parent)) { return false; } return true; |
| ||||
IJavaElement parent = type.getAncestor(input.getElementType()); if (inputType == IJavaElement.PACKAGE_FRAGMENT) { if (parent == null || parent.getElementName().equals(input.getElementName())) { return true; } } else if (input.equals(parent)) { return true; } return false; |
| |||
IJavaElement parent = type.getAncestor(input.getElementType()); if ( [[#variable9654c640]]== IJavaElement.PACKAGE_FRAGMENT) { if (parent == null || parent.getElementName().equals(input.getElementName())) { return [[#variablea465dd80]]; } } else if (input.equals(parent)) { return [[#variablea465dd80]]; } return [[#variable519b1640]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9654c640]] | inputType |
1 | 2 | [[#9654c640]] | input.getElementType() |
2 | 1 | [[#a465dd80]] | true |
2 | 2 | [[#a465dd80]] | false |
3 | 1 | [[#519b1640]] | false |
3 | 2 | [[#519b1640]] | true |