Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 1 | 0.976 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 785 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
2 | 4 | 797 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
3 | 4 | 812 | 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); |
| ||||
c = (Container) s.CreateQuery("from c in class ContainerX").List()[0]; Contained c4 = new Contained(); c.LazyBag.Add(c4); c4.LazyBag.Add(c); |
| ||||
c = (Container) s.CreateQuery("from c in class ContainerX").List()[0]; Contained c5 = new Contained(); c.LazyBag.Add(c5); c5.LazyBag.Add(c); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#293d93e0]] | c5 |
1 | 2 | [[#293d93e0]] | c4 |
1 | 3 | [[#293d93e0]] | c3 |