CloneSet790


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.959statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1219
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs
2288
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs
3397
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs
43103
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs
Clone Instance
1
Line Count
2
Source Line
19
Source File
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs

                        SqlString str = d.GetLimitString(new SqlString("select distinct c.Contact_Id as Contact1_19_0_, c._Rating as Rating2_19_0_ from dbo.Contact c where COALESCE(c.Rating, 0) > 0 order by c.Rating desc , c.Last_Name , c.First_Name"), 1, 10);
                        System.Console.WriteLine(str);


Clone Instance
2
Line Count
2
Source Line
88
Source File
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs

                        SqlString str = d.GetLimitString(new SqlString("select distinct c.Contact_Id as Contact1_19_0_, c._Rating as Rating2_19_0_ from dbo.Contact c where COALESCE(c.Rating, 0) > 0 order by c.Rating desc , c.Last_Name , c.First_Name"), 0, 10);
                        System.Console.WriteLine(str);


Clone Instance
3
Line Count
3
Source Line
97
Source File
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs

                        SqlString result =
                                d.GetLimitString(new SqlString("select concat(a.Description,', ', a.Description) as desc from Animal a"), 1, 10);
                        System.Console.WriteLine(result);


Clone Instance
4
Line Count
3
Source Line
103
Source File
src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs

                        // The test use the function "cast" because cast need the keyWork "as" too
                        SqlString str =
                                d.GetLimitString(new SqlString("SELECT fish.id, cast('astring, with,comma' as string) as bar FROM fish"), 1, 10);
                        System.Console.WriteLine(str);


Clone AbstractionParameter Count: 3Parameter Bindings

// The test use the function "cast" because cast need the keyWork "as" too
SqlString [[#variable66a3cec0]]= d.GetLimitString(new SqlString( [[#variable6a48a160]]), [[#variable66361560]], 10);
System.Console.WriteLine( [[#variable66a3cec0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#66a3cec0]]
str 
12[[#66a3cec0]]
str 
13[[#66a3cec0]]
result 
14[[#66a3cec0]]
str 
21[[#6a48a160]]
"select distinct c.Contact_Id as Contact1_19_0_, c._Rating as Rating2_19_0_ from dbo.Contact c where COALESCE(c.Rating, 0) > 0 order by c.Rating desc , c.Last_Name , c.First_Name" 
22[[#6a48a160]]
"select distinct c.Contact_Id as Contact1_19_0_, c._Rating as Rating2_19_0_ from dbo.Contact c where COALESCE(c.Rating, 0) > 0 order by c.Rating desc , c.Last_Name , c.First_Name" 
23[[#6a48a160]]
"select concat(a.Description,', ', a.Description) as desc from Animal a" 
24[[#6a48a160]]
"SELECT fish.id, cast('astring, with,comma' as string) as bar FROM fish" 
31[[#66361560]]
1 
32[[#66361560]]
0 
33[[#66361560]]
1 
34[[#66361560]]
1