CloneSet1118


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.994statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18235
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs
28244
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs
Clone Instance
1
Line Count
8
Source Line
235
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery(queryString).SetCacheable(true).List();
                                tx.Commit();
                        }

                        Assert.That(qs.CacheHitCount, Is.EqualTo(0));


Clone Instance
2
Line Count
8
Source Line
244
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery(queryString).SetCacheable(true).List();
                                tx.Commit();
                        }

                        Assert.That(qs.CacheHitCount, Is.EqualTo(1));


Clone AbstractionParameter Count: 1Parameter Bindings

using (ISession s = OpenSession())
   using (ITransaction tx = s.BeginTransaction())
   {
      s.CreateQuery(queryString).SetCacheable(true).List();
      tx.Commit();
   }
Assert.That(qs.CacheHitCount, Is.EqualTo( [[#variable49224560]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#49224560]]
1 
12[[#49224560]]
0