CloneSet838


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.976statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17785
src/NHibernate.Test/Legacy/ParentChildTest.cs
24797
src/NHibernate.Test/Legacy/ParentChildTest.cs
34812
src/NHibernate.Test/Legacy/ParentChildTest.cs
Clone Instance
1
Line Count
7
Source Line
785
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        c = (Container) s.CreateQuery("from c in class ContainerX").List()[0];
                        Contained c3 = new Contained();
                        // commented out in h2.0.3 also
                        //c.Bag.Add(c3);
                        //c3.Bag.Add(c);
                        c.LazyBag.Add(c3);
                        c3.LazyBag.Add(c);


Clone Instance
2
Line Count
4
Source Line
797
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        c = (Container) s.CreateQuery("from c in class ContainerX").List()[0];
                        Contained c4 = new Contained();
                        c.LazyBag.Add(c4);
                        c4.LazyBag.Add(c);


Clone Instance
3
Line Count
4
Source Line
812
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        c = (Container) s.CreateQuery("from c in class ContainerX").List()[0];
                        Contained c5 = new Contained();
                        c.LazyBag.Add(c5);
                        c5.LazyBag.Add(c);


Clone AbstractionParameter Count: 1Parameter Bindings

c = (Container)s.CreateQuery("from c in class ContainerX").List()[0];
Contained [[#variable293d93e0]]= new Contained();
// commented out in h2.0.3 also
//c.Bag.Add(c3);
//c3.Bag.Add(c);
c.LazyBag.Add( [[#variable293d93e0]]);
 [[#variable293d93e0]].LazyBag.Add(c);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#293d93e0]]
c5 
12[[#293d93e0]]
c4 
13[[#293d93e0]]
c3