CloneSet1495


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.976statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14483
src/NHibernate.Test/Legacy/MasterDetailTest.cs
24490
src/NHibernate.Test/Legacy/MasterDetailTest.cs
Clone Instance
1
Line Count
4
Source Line
483
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        q.SetInt32("id", - 1);
                        Assert.AreEqual(2, q.List().Count);

                        q = s.CreateFilter(master.Details, "where this.id > :id1 and this.id < :id2");


Clone Instance
2
Line Count
4
Source Line
490
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        q.SetInt32("id2", - 1);
                        Assert.AreEqual(0, q.List().Count);

                        q = s.CreateFilter(master.Details, "where this.id in (:ids)");


Clone AbstractionParameter Count: 3Parameter Bindings

q.SetInt32( [[#variable29490aa0]], - 1);
Assert.AreEqual( [[#variable29490680]], q.List().Count);
q = s.CreateFilter(master.Details, [[#variable29491a60]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#29490aa0]]
"id2" 
12[[#29490aa0]]
"id" 
21[[#29490680]]
0 
22[[#29490680]]
2 
31[[#29491a60]]
"where this.id in (:ids)" 
32[[#29491a60]]
"where this.id > :id1 and this.id < :id2"