CloneSet912


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.977statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1575
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs
2588
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs
Clone Instance
1
Line Count
5
Source Line
75
Source File
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs

                                Item one = (Item)session.Load( typeof(Item), 1);
                                IList results = session.CreateQuery("from Item item where item.Parent = :parent").
                                         SetEntity("parent", one).
                                         SetCacheable(true).List();
                                Assert.AreEqual(4, results.Count);


Clone Instance
2
Line Count
5
Source Line
88
Source File
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs

                                Item two = (Item)session.Load( typeof(Item), 2);
                                IList results = session.CreateQuery("from Item item where item.Parent = :parent").
                                         SetEntity("parent", two).
                                         SetCacheable(true).List();
                                Assert.AreEqual(0, results.Count);


Clone AbstractionParameter Count: 3Parameter Bindings

Item [[#variable6873a0e0]]= (Item)session.Load( typeof(Item), [[#variable684ad080]]);
IList results = session.CreateQuery("from Item item where item.Parent = :parent").SetEntity("parent", [[#variable6873a0e0]]).SetCacheable(true).List();
Assert.AreEqual( [[#variable684acf40]], results.Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6873a0e0]]
one 
12[[#6873a0e0]]
two 
21[[#684ad080]]
1 
22[[#684ad080]]
2 
31[[#684acf40]]
4 
32[[#684acf40]]
0