CloneSet1530


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.958statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1659
src/NHibernate/Collection/PersistentList.cs
26189
src/NHibernate/Collection/PersistentSet.cs
Clone Instance
1
Line Count
6
Source Line
59
Source File
src/NHibernate/Collection/PersistentList.cs

                        foreach (object current in list)
                        {
                                object deepCopy = persister.ElementType.DeepCopy(current, entityMode, persister.Factory);
                                clonedList.Add(deepCopy);
                        }
                        return clonedList;


Clone Instance
2
Line Count
6
Source Line
189
Source File
src/NHibernate/Collection/PersistentSet.cs

                        foreach (object current in set)
                        {
                                object copied = persister.ElementType.DeepCopy(current, entityMode, persister.Factory);
                                clonedSet.Add(copied);
                        }
                        return clonedSet;


Clone AbstractionParameter Count: 3Parameter Bindings

foreach (object current in [[#variable2a41a2c0]])
{
   object [[#variable2a41a200]]= persister.ElementType.DeepCopy(current, entityMode, persister.Factory);
    [[#variable2a41a1a0]].Add( [[#variable2a41a200]]);
}
return [[#variable2a41a1a0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2a41a2c0]]
set 
12[[#2a41a2c0]]
list 
21[[#2a41a200]]
copied 
22[[#2a41a200]]
deepCopy 
31[[#2a41a1a0]]
clonedSet 
32[[#2a41a1a0]]
clonedList