| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 3 | 0.963 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 53 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java |
| 2 | 11 | 134 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java |
| ||||
{
IWorkingSet[] workingSets;
Iterator iter = SearchUtil.fgLRUWorkingSets.iterator();
int i = 0;
while (iter.hasNext()) {
workingSets = (IWorkingSet[]) iter.next();
String[] names = new String[workingSets.length];
for (int j = 0; j < workingSets.length; j++)
names[j] = workingSets[j].getName();
SearchUtil.fgSettingsStore.put(SearchUtil.STORE_LRU_WORKING_SET_NAMES + i, names);
i++;
}
}
|
| ||||
{
IWorkingSet[] workingSets;
Iterator iter = fgLRUWorkingSets.iterator();
int i = 0;
while (iter.hasNext()) {
workingSets = (IWorkingSet[]) iter.next();
String[] names = new String[workingSets.length];
for (int j = 0; j < workingSets.length; j++)
names[j] = workingSets[j].getName();
settingsStore.put(STORE_LRU_WORKING_SET_NAMES + i, names);
i++;
}
}
|
| |||
{
IWorkingSet[] workingSets;
Iterator iter = [[#variablea33beac0]].iterator();
int i = 0;
while (iter.hasNext()) {
workingSets = (IWorkingSet[]) iter.next();
String[] names = new String[workingSets.length];
for (int j = 0; j < workingSets.length; j++)
names[j] = workingSets[j].getName();
[[#variable95daf980]].put( [[#variablea33beb40]] + i, names);
i++;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a33beac0]] | fgLRUWorkingSets |
| 1 | 2 | [[#a33beac0]] | SearchUtil.fgLRUWorkingSets |
| 2 | 1 | [[#95daf980]] | settingsStore |
| 2 | 2 | [[#95daf980]] | SearchUtil.fgSettingsStore |
| 3 | 1 | [[#a33beb40]] | STORE_LRU_WORKING_SET_NAMES |
| 3 | 2 | [[#a33beb40]] | SearchUtil.STORE_LRU_WORKING_SET_NAMES |