CloneSet682


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2440.963statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1218
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs
2221
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs
3224
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs
4227
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs
Clone Instance
1
Line Count
2
Source Line
18
Source File
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs

                        str = d.GetLimitString(new SqlString("SELECT * FROM fish ORDER BY name"), 5, 15);
                        Assert.AreEqual("SELECT first 15 skip 5 * FROM fish ORDER BY name", str.ToString());


Clone Instance
2
Line Count
2
Source Line
21
Source File
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs

                        str = d.GetLimitString(new SqlString("SELECT * FROM fish ORDER BY name DESC"), 7, 28);
                        Assert.AreEqual("SELECT first 28 skip 7 * FROM fish ORDER BY name DESC", str.ToString());


Clone Instance
3
Line Count
2
Source Line
24
Source File
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs

                        str = d.GetLimitString(new SqlString("SELECT DISTINCT fish.family FROM fish ORDER BY name DESC"), 0, 28);
                        Assert.AreEqual("SELECT first 28 DISTINCT fish.family FROM fish ORDER BY name DESC", str.ToString());


Clone Instance
4
Line Count
2
Source Line
27
Source File
src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs

                        str = d.GetLimitString(new SqlString("SELECT DISTINCT fish.family FROM fish ORDER BY name DESC"), 7, 28);
                        Assert.AreEqual("SELECT first 28 skip 7 DISTINCT fish.family FROM fish ORDER BY name DESC", str.ToString());


Clone AbstractionParameter Count: 4Parameter Bindings

str = d.GetLimitString(new SqlString( [[#variable6c54c700]]), [[#variable6c54d100]], [[#variable5293ede0]]);
Assert.AreEqual( [[#variable692df2c0]], str.ToString());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c54c700]]
"SELECT * FROM fish ORDER BY name" 
12[[#6c54c700]]
"SELECT DISTINCT fish.family FROM fish ORDER BY name DESC" 
13[[#6c54c700]]
"SELECT DISTINCT fish.family FROM fish ORDER BY name DESC" 
14[[#6c54c700]]
"SELECT * FROM fish ORDER BY name DESC" 
21[[#6c54d100]]
5 
22[[#6c54d100]]
7 
23[[#6c54d100]]
0 
24[[#6c54d100]]
7 
31[[#5293ede0]]
15 
32[[#5293ede0]]
28 
33[[#5293ede0]]
28 
34[[#5293ede0]]
28 
41[[#692df2c0]]
"SELECT first 15 skip 5 * FROM fish ORDER BY name" 
42[[#692df2c0]]
"SELECT first 28 skip 7 DISTINCT fish.family FROM fish ORDER BY name DESC" 
43[[#692df2c0]]
"SELECT first 28 DISTINCT fish.family FROM fish ORDER BY name DESC" 
44[[#692df2c0]]
"SELECT first 28 skip 7 * FROM fish ORDER BY name DESC"