CloneSet393


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.987statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14219
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
24227
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
34232
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
44237
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
Clone Instance
1
Line Count
4
Source Line
219
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                        gavin = (Human)s.CreateQuery("from Human h left join fetch h.things").UniqueResult();
                        Assert.IsTrue(NHibernateUtil.IsInitialized(gavin.Things));
                        Assert.AreEqual("some thing", ((Thing)gavin.Things[0]).Description);
                        s.Clear();


Clone Instance
2
Line Count
4
Source Line
227
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                        gavin = (Human)s.CreateQuery("from Being b join fetch b.things").UniqueResult();
                        Assert.IsTrue(NHibernateUtil.IsInitialized(gavin.Things));
                        Assert.AreEqual("some thing", ((Thing)gavin.Things[0]).Description);
                        s.Clear();


Clone Instance
3
Line Count
4
Source Line
232
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                        gavin = (Human)s.CreateQuery("select h from Human h join h.things t where t.description='some thing'").UniqueResult();
                        Assert.IsFalse(NHibernateUtil.IsInitialized(gavin.Things));
                        Assert.AreEqual("some thing", ((Thing)gavin.Things[0]).Description);
                        s.Clear();


Clone Instance
4
Line Count
4
Source Line
237
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                        gavin = (Human)s.CreateQuery("select b from Being b join b.things t where t.description='some thing'").UniqueResult();
                        Assert.IsFalse(NHibernateUtil.IsInitialized(gavin.Things));
                        Assert.AreEqual("some thing", ((Thing)gavin.Things[0]).Description);
                        s.Clear();


Clone AbstractionParameter Count: 2Parameter Bindings

gavin = (Human)s.CreateQuery( [[#variable563d9300]]).UniqueResult();
Assert. [[#variable563d9280]](NHibernateUtil.IsInitialized(gavin.Things));
Assert.AreEqual("some thing", ((Thing)gavin.Things[0]).Description);
s.Clear();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#563d9300]]
"select b from Being b join b.things t where t.description='some thing'" 
12[[#563d9300]]
"select h from Human h join h.things t where t.description='some thing'" 
13[[#563d9300]]
"from Being b join fetch b.things" 
14[[#563d9300]]
"from Human h left join fetch h.things" 
21[[#563d9280]]
IsFalse 
22[[#563d9280]]
IsFalse 
23[[#563d9280]]
IsTrue 
24[[#563d9280]]
IsTrue