CloneSet670


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                result = s.CreateQuery(queryString).SetCacheable(true).List();
                                Assert.That(result.Count, Is.EqualTo(1));
                                tx.Commit();
                        }

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


Clone Instance
2
Line Count
9
Source Line
149
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                result = s.CreateQuery(queryString).SetCacheable(true).List();
                                Assert.That(result.Count, Is.EqualTo(1));
                                tx.Commit();
                        }

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


Clone AbstractionParameter Count: 1Parameter Bindings

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

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