Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.958 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 59 | src/NHibernate/Collection/PersistentList.cs |
2 | 6 | 189 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
foreach (object current in list) { object deepCopy = persister.ElementType.DeepCopy(current, entityMode, persister.Factory); clonedList.Add(deepCopy); } return clonedList; |
| ||||
foreach (object current in set) { object copied = persister.ElementType.DeepCopy(current, entityMode, persister.Factory); clonedSet.Add(copied); } return clonedSet; |
| |||
foreach (object current in [[#variable2a41a2c0]]) { object [[#variable2a41a200]]= persister.ElementType.DeepCopy(current, entityMode, persister.Factory); [[#variable2a41a1a0]].Add( [[#variable2a41a200]]); } return [[#variable2a41a1a0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2a41a2c0]] | set |
1 | 2 | [[#2a41a2c0]] | list |
2 | 1 | [[#2a41a200]] | copied |
2 | 2 | [[#2a41a200]] | deepCopy |
3 | 1 | [[#2a41a1a0]] | clonedSet |
3 | 2 | [[#2a41a1a0]] | clonedList |