CloneSet1088


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.987statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15111
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs
25118
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs
Clone Instance
1
Line Count
5
Source Line
111
Source File
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs

                                Assert.AreEqual(1, result.Count);
                                Assert.AreSame(q, result[0]);

                                result = s.CreateQuery("from Person p where p.salary > 100 or p.name like 'E%'").List();
                                Assert.AreEqual(2, result.Count);


Clone Instance
2
Line Count
5
Source Line
118
Source File
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs

                                Assert.AreEqual(1, result.Count);
                                Assert.AreSame(q, result[0]);

                                result = s.CreateQuery("select p.salary from Person p where p.salary > 100").List();
                                Assert.AreEqual(1, result.Count);


Clone AbstractionParameter Count: 2Parameter Bindings

Assert.AreEqual(1, result.Count);
Assert.AreSame(q, result[0]);
result = s.CreateQuery( [[#variable2993acc0]]).List();
Assert.AreEqual( [[#variable2993ac00]], result.Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2993acc0]]
"select p.salary from Person p where p.salary > 100" 
12[[#2993acc0]]
"from Person p where p.salary > 100 or p.name like 'E%'" 
21[[#2993ac00]]
1 
22[[#2993ac00]]
2