Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 2 | 0.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 73 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
2 | 8 | 85 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java |
3 | 8 | 75 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java |
| ||||
{ if (elements.isEmpty()) return false; for (Iterator iter = elements.iterator(); iter.hasNext();) { if ( ! isProject(iter.next())) return false; } return true; } |
| ||||
{ if (selection.isEmpty()) return false; for (Iterator iter = selection.iterator(); iter.hasNext();) { if ( ! canBeAddedToBuildPath(iter.next())) return false; } return true; } |
| ||||
{ if (selection.isEmpty()) return false; for (Iterator iter = selection.iterator(); iter.hasNext();) { if ( ! canRemove(iter.next())) return false; } return true; } |
| |||
{ if ( [[#variablea19570e0]].isEmpty()) return false; for (Iterator iter = [[#variablea19570e0]].iterator(); iter.hasNext();) { if ( ! [[#variablea1957180]](iter.next())) return false; } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a19570e0]] | selection |
1 | 2 | [[#a19570e0]] | selection |
1 | 3 | [[#a19570e0]] | elements |
2 | 1 | [[#a1957180]] | canBeAddedToBuildPath |
2 | 2 | [[#a1957180]] | canRemove |
2 | 3 | [[#a1957180]] | isProject |