Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 4 | 0.963 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 18 | src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs |
2 | 2 | 21 | src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs |
3 | 2 | 24 | src/NHibernate.Test/DialectTest/FirebirdDialectFixture.cs |
4 | 2 | 27 | 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()); |
| ||||
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()); |
| ||||
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()); |
| ||||
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()); |
| |||
str = d.GetLimitString(new SqlString( [[#variable6c54c700]]), [[#variable6c54d100]], [[#variable5293ede0]]); Assert.AreEqual( [[#variable692df2c0]], str.ToString()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c54c700]] | "SELECT * FROM fish ORDER BY name" |
1 | 2 | [[#6c54c700]] | "SELECT DISTINCT fish.family FROM fish ORDER BY name DESC" |
1 | 3 | [[#6c54c700]] | "SELECT DISTINCT fish.family FROM fish ORDER BY name DESC" |
1 | 4 | [[#6c54c700]] | "SELECT * FROM fish ORDER BY name DESC" |
2 | 1 | [[#6c54d100]] | 5 |
2 | 2 | [[#6c54d100]] | 7 |
2 | 3 | [[#6c54d100]] | 0 |
2 | 4 | [[#6c54d100]] | 7 |
3 | 1 | [[#5293ede0]] | 15 |
3 | 2 | [[#5293ede0]] | 28 |
3 | 3 | [[#5293ede0]] | 28 |
3 | 4 | [[#5293ede0]] | 28 |
4 | 1 | [[#692df2c0]] | "SELECT first 15 skip 5 * FROM fish ORDER BY name" |
4 | 2 | [[#692df2c0]] | "SELECT first 28 skip 7 DISTINCT fish.family FROM fish ORDER BY name DESC" |
4 | 3 | [[#692df2c0]] | "SELECT first 28 DISTINCT fish.family FROM fish ORDER BY name DESC" |
4 | 4 | [[#692df2c0]] | "SELECT first 28 skip 7 * FROM fish ORDER BY name DESC" |