CloneSet1001


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1847
src/NHibernate.Test/Stats/SessionStatsFixture.cs
2857
src/NHibernate.Test/Stats/SessionStatsFixture.cs
Clone Instance
1
Line Count
8
Source Line
47
Source File
src/NHibernate.Test/Stats/SessionStatsFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IList list = s.CreateCriteria( typeof( Country)).
                                         Add (Restrictions.Eq("Name", "Narnia")).
                                         SetCacheable(true).
                                         List();

                                Assert.AreEqual(0, list.Count);
                        }


Clone Instance
2
Line Count
8
Source Line
57
Source File
src/NHibernate.Test/Stats/SessionStatsFixture.cs

                        using (ISession s = OpenSession())
                        {
                                IList list = s.CreateCriteria( typeof(Country)).
                                         Add (Restrictions.Eq("Name", "Narnia")).
                                         SetCacheable(true).
                                         List();

                                Assert.AreEqual(0, list.Count);
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

using (ISession s = OpenSession())
{
   IList list = s.CreateCriteria( typeof(Country)).Add(Restrictions.Eq("Name", "Narnia")).SetCacheable(true).List();
   Assert.AreEqual(0, list.Count);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None