Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.996 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 173 | src/NHibernate/Collection/PersistentBag.cs |
2 | 9 | 242 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
object[] array = (object[]) disassembled; int size = array.Length; BeforeInitialize(persister, size); for (int i = 0; i < size; i++) { object element = persister.ElementType.Assemble(array[i], Session, owner); if (element != null) { bag.Add(element); } } |
| ||||
object[] array = (object[]) disassembled; int size = array.Length; BeforeInitialize(persister, size); for (int i = 0; i < size; i++) { object element = persister.ElementType.Assemble(array[i], Session, owner); if (element != null) { set.Add(element); } } |
| |||
object[] array = (object[])disassembled; int size = array.Length; BeforeInitialize(persister, size); for (int i = 0; i < size; i++) { object element = persister.ElementType.Assemble(array[i], Session, owner); if (element != null) { [[#variable68708a20]].Add(element); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#68708a20]] | set |
1 | 2 | [[#68708a20]] | bag |