Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.983 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 176 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java |
2 | 11 | 200 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java |
| ||||
for ( final Iterator iterator = modification.getChildren().iterator(); iterator.hasNext();) { final Object element = iterator.next(); if (element instanceof IProject) { final IJavaElement project = asJavaProject((IProject) element); if (project != null) { iterator.remove(); result.add(project); } } } modification.getChildren().addAll(result); |
| ||||
for ( final Iterator iterator = update.getRefreshTargets().iterator(); iterator.hasNext();) { final Object element = iterator.next(); if (element instanceof IProject) { final IJavaElement project = asJavaProject((IProject) element); if (project != null) { iterator.remove(); result.add(project); } } } update.getRefreshTargets().addAll(result); |
| |||
for ( final Iterator iterator = [[#variable9b1abb20]]. [[#variable9dccb1a0]]().iterator(); iterator.hasNext();) { final Object element = iterator.next(); if (element instanceof IProject) { final IJavaElement project = asJavaProject((IProject) element); if (project != null) { iterator.remove(); result.add(project); } } } [[#variable9b1abb20]]. [[#variable9dccb1a0]]().addAll(result); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b1abb20]] | modification |
1 | 2 | [[#9b1abb20]] | update |
2 | 1 | [[#9dccb1a0]] | getChildren |
2 | 2 | [[#9dccb1a0]] | getRefreshTargets |