CloneSet2139


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.989statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16544
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
24553
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
Clone Instance
1
Line Count
6
Source Line
544
Source File
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs

                                q.SetFirstResult(0);
                                Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext());

                                q =
                                        s.CreateQuery(
                                                "from s in class Simple where s.Name = :foo and upper(s.Name) = :bar or s.Count=:count or s.Count=:count + 1");


Clone Instance
2
Line Count
4
Source Line
553
Source File
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs

                                q.SetFirstResult(0);
                                Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext());

                                q = s.CreateQuery("select s.id from s in class Simple");


Clone AbstractionParameter Count: 1Parameter Bindings

q.SetFirstResult(0);
Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext());
q = s.CreateQuery( [[#variable6529a9c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6529a9c0]]
"select s.id from s in class Simple" 
12[[#6529a9c0]]
"from s in class Simple where s.Name = :foo and upper(s.Name) = :bar or s.Count=:count or s.Count=:count + 1"