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.954 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 79 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/EObjectObservableList.java |
2 | 9 | 97 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/EObjectObservableList.java |
| |||||
ListDiffEntry[] listDiffEntries = new ListDiffEntry[newValues.size()]; int position = notification.getPosition(); int index = 0; for (Object newValue: newValues) { listDiffEntries[index++ ] = Diffs.createListDiffEntry(position++ , true, newValue); } diff = Diffs.createListDiff(listDiffEntries); break; |
| |||||
ListDiffEntry[] listDiffEntries = new ListDiffEntry[oldValues.size()]; int position = notification.getPosition(); int index = 0; for (Object oldValue: oldValues) { listDiffEntries[index++ ] = Diffs.createListDiffEntry(position++ , false, oldValue); } diff = Diffs.createListDiff(listDiffEntries); break; |
| |||
ListDiffEntry[] listDiffEntries = new ListDiffEntry[ [[#variable1730c340]].size()]; int position = notification.getPosition(); int index = 0; for (Object [[#variable17319a60]]: [[#variable1730c340]]) { listDiffEntries[index++ ] = Diffs.createListDiffEntry(position++ , [[#variable17319660]], [[#variable17319a60]]); } diff = Diffs.createListDiff(listDiffEntries); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1730c340]] | newValues |
1 | 2 | [[#1730c340]] | oldValues |
2 | 1 | [[#17319a60]] | newValue |
2 | 2 | [[#17319a60]] | oldValue |
3 | 1 | [[#17319660]] | true |
3 | 2 | [[#17319660]] | false |