Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.991 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 152 | src/NHibernate/Collection/PersistentBag.cs |
2 | 9 | 155 | src/NHibernate/Collection/PersistentList.cs |
| ||||
public override object Disassemble(ICollectionPersister persister) { int length = bag.Count; object[] result = new object[length]; for (int i = 0; i < length; i++) { result[i] = persister.ElementType.Disassemble(bag[i], Session, null); } return result; } |
| ||||
public override object Disassemble(ICollectionPersister persister) { int length = list.Count; object[] result = new object[length]; for (int i = 0; i < length; i++) { result[i] = persister.ElementType.Disassemble(list[i], Session, null); } return result; } |
| |||
public override object Disassemble(ICollectionPersister persister) { int length = [[#variable4ff932e0]].Count; object[] result = new object[length]; for (int i = 0; i < length; i++) { result[i] = persister.ElementType.Disassemble( [[#variable4ff932e0]][i], Session, null); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ff932e0]] | bag |
1 | 2 | [[#4ff932e0]] | list |