CloneSet215


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7450.979non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17336
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
27348
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
37373
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
47396
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
Clone Instance
1
Line Count
7
Source Line
336
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IQuery q = dq.GetExecutableQuery(s);
                                IList<Foo> l = q.List<Foo> ();
                                Assert.AreEqual(1, l.Count);
                                Assert.AreEqual("N2", l[0].Name);
                                Assert.AreEqual("D2", l[0].Description);
                        }


Clone Instance
2
Line Count
7
Source Line
348
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IQuery q = dq.GetExecutableQuery(s);
                                IList<Foo> l = q.List<Foo> ();
                                Assert.AreEqual(1, l.Count);
                                Assert.AreEqual("N2", l[0].Name);
                                Assert.AreEqual("D2", l[0].Description);
                        }


Clone Instance
3
Line Count
7
Source Line
373
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IQuery q = dq.GetExecutableQuery(s);
                                IList<Foo> l = q.List<Foo> ();
                                Assert.AreEqual(2, l.Count);
                                Assert.AreEqual("N0", l[0].Name);
                                Assert.AreEqual("N1", l[1].Name);
                        }


Clone Instance
4
Line Count
7
Source Line
396
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IQuery q = dq.GetExecutableQuery(s);
                                IList<Foo> l = q.List<Foo> ();
                                Assert.AreEqual(1, l.Count);
                                Assert.AreEqual("N2", l[0].Name);
                                Assert.AreEqual("D2", l[0].Description);
                        }


Clone AbstractionParameter Count: 5Parameter Bindings

using (ISession s = OpenSession())
{
   IQuery q = dq.GetExecutableQuery(s);
   IList<Foo> l = q.List<Foo> ();
   Assert.AreEqual( [[#variable6f834dc0]], l.Count);
   Assert.AreEqual( [[#variable6f8348c0]], l[0].Name);
   Assert.AreEqual( [[#variable6f8348e0]], l[ [[#variable6f834840]]]. [[#variable6f8347c0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f834dc0]]
1 
12[[#6f834dc0]]
2 
13[[#6f834dc0]]
1 
14[[#6f834dc0]]
1 
21[[#6f8348c0]]
"N2" 
22[[#6f8348c0]]
"N0" 
23[[#6f8348c0]]
"N2" 
24[[#6f8348c0]]
"N2" 
31[[#6f8348e0]]
"D2" 
32[[#6f8348e0]]
"N1" 
33[[#6f8348e0]]
"D2" 
34[[#6f8348e0]]
"D2" 
41[[#6f834840]]
0 
42[[#6f834840]]
1 
43[[#6f834840]]
0 
44[[#6f834840]]
0 
51[[#6f8347c0]]
Description 
52[[#6f8347c0]]
Name 
53[[#6f8347c0]]
Description 
54[[#6f8347c0]]
Description