Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.964 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 122 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java |
2 | 8 | 130 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java |
| ||||
public void getPipelinedChildren(Object parent, Set currentChildren) { Object[] children = getChildren(parent); for (Iterator iter = currentChildren.iterator(); iter.hasNext();) if (iter.next() instanceof IResource) iter.remove(); currentChildren.addAll(Arrays.asList(children)); } |
| ||||
public void getPipelinedElements(Object input, Set currentElements) { Object[] children = getElements(input); for (Iterator iter = currentElements.iterator(); iter.hasNext();) if (iter.next() instanceof IResource) iter.remove(); currentElements.addAll(Arrays.asList(children)); } |
| |||
public void [[#variableb2608e40]](Object [[#variableb2608dc0]], Set [[#variableb2608d40]]) { Object[] children = [[#variableb2608ce0]]( [[#variableb2608dc0]]); for (Iterator iter = [[#variableb2608d40]].iterator(); iter.hasNext();) if (iter.next() instanceof IResource) iter.remove(); [[#variableb2608d40]].addAll(Arrays.asList(children)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2608e40]] | getPipelinedChildren |
1 | 2 | [[#b2608e40]] | getPipelinedElements |
2 | 1 | [[#b2608dc0]] | parent |
2 | 2 | [[#b2608dc0]] | input |
3 | 1 | [[#b2608d40]] | currentChildren |
3 | 2 | [[#b2608d40]] | currentElements |
4 | 1 | [[#b2608ce0]] | getChildren |
4 | 2 | [[#b2608ce0]] | getElements |