CloneSet1478


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3420.968statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13295
src/NHibernate.Test/HQL/HQLFunctions.cs
23378
src/NHibernate.Test/HQL/HQLFunctions.cs
33455
src/NHibernate.Test/HQL/HQLFunctions.cs
43481
src/NHibernate.Test/HQL/HQLFunctions.cs
Clone Instance
1
Line Count
3
Source Line
295
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                                Assert.AreEqual(2, lresult[0]);

                                hql = "from Animal a where locate('bc', a.Description) = 2";


Clone Instance
2
Line Count
3
Source Line
378
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                                Assert.AreEqual(4, lresult[0]);

                                hql = "from Animal a where length(a.Description) = 5";


Clone Instance
3
Line Count
3
Source Line
455
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                                Assert.AreEqual(9, lresult[0]);

                                hql = "from Animal a where abs(a.BodyWeight*-1)>0";


Clone Instance
4
Line Count
3
Source Line
481
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                                Assert.AreEqual(2, lresult[0]);

                                hql = "from Animal a where mod(20, 3) = 2";


Clone AbstractionParameter Count: 2Parameter Bindings

Assert.AreEqual( [[#variable28a9c340]], lresult[0]);
hql = [[#variable28a9cd60]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28a9c340]]
2 
12[[#28a9c340]]
9 
13[[#28a9c340]]
4 
14[[#28a9c340]]
2 
21[[#28a9cd60]]
"from Animal a where mod(20, 3) = 2" 
22[[#28a9cd60]]
"from Animal a where abs(a.BodyWeight*-1)>0" 
23[[#28a9cd60]]
"from Animal a where length(a.Description) = 5" 
24[[#28a9cd60]]
"from Animal a where locate('bc', a.Description) = 2"