Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.959 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 19 | src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs |
2 | 2 | 88 | src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs |
3 | 3 | 97 | src/NHibernate.Test/DialectTest/MsSql2005DialectFixture.cs |
4 | 3 | 103 | 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); |
| ||||
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); |
| ||||
SqlString result = d.GetLimitString(new SqlString("select concat(a.Description,', ', a.Description) as desc from Animal a"), 1, 10); System.Console.WriteLine(result); |
| ||||
// 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); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#66a3cec0]] | str |
1 | 2 | [[#66a3cec0]] | str |
1 | 3 | [[#66a3cec0]] | result |
1 | 4 | [[#66a3cec0]] | str |
2 | 1 | [[#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" |
2 | 2 | [[#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" |
2 | 3 | [[#6a48a160]] | "select concat(a.Description,', ', a.Description) as desc from Animal a" |
2 | 4 | [[#6a48a160]] | "SELECT fish.id, cast('astring, with,comma' as string) as bar FROM fish" |
3 | 1 | [[#66361560]] | 1 |
3 | 2 | [[#66361560]] | 0 |
3 | 3 | [[#66361560]] | 1 |
3 | 4 | [[#66361560]] | 1 |