CloneSet2553


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.986class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1712
src/NHibernate.Test/NHSpecificTest/NH1905/Fixture.cs
2714
src/NHibernate.Test/NHSpecificTest/NH386/Fixture.cs
Clone Instance
1
Line Count
7
Source Line
12
Source File
src/NHibernate.Test/NHSpecificTest/NH1905/Fixture.cs

                [Test]
                public void Query()
                {
                        using (ISession s = OpenSession())
                        {
                                s.CreateQuery("select d from Det d left join d.Mas m where (SELECT count(e) FROM d.Mas.Els e WHERE e.Descr='e1')>0").
                                         List();
                        }
                }



Clone Instance
2
Line Count
7
Source Line
14
Source File
src/NHibernate.Test/NHSpecificTest/NH386/Fixture.cs

                [Test]
                public void Query()
                {
                        using (ISession s = OpenSession())
                        {
                                s.CreateQuery("from _Parent _p left join _p._Children _c where _c._Id > 0").
                                         List();
                        }
                }



Clone AbstractionParameter Count: 1Parameter Bindings

[Test]
public void Query()
{
   using (ISession s = OpenSession())
   {
      s.CreateQuery( [[#variable6fe2b260]]).List();
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fe2b260]]
"select d from Det d left join d.Mas m where (SELECT count(e) FROM d.Mas.Els e WHERE e.Descr='e1')>0" 
12[[#6fe2b260]]
"from _Parent _p left join _p._Children _c where _c._Id > 0"