Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 6 | 3 | 0.955 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 252 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
2 | 1 | 253 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
3 | 1 | 254 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
4 | 1 | 255 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
5 | 1 | 256 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
6 | 1 | 257 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
| ||||
Assert.AreEqual("beginning ? end", sql.Insert(5, "ning").ToString()); |
| ||||
Assert.AreEqual("begin middle? end", sql.Insert(6, "middle").ToString()); |
| ||||
Assert.AreEqual("begin ?middle end", sql.Insert(7, "middle").ToString()); |
| ||||
Assert.AreEqual("beg|in ? end", sql.Insert(3, "|").ToString()); |
| ||||
Assert.AreEqual("begin ? ending", sql.Insert(11, "ing").ToString()); |
| ||||
Assert.AreEqual("begin ? enXd", sql.Insert(10, "X").ToString()); |
| |||
Assert.AreEqual( [[#variable2900c060]], sql.Insert( [[#variable2900c000]], [[#variable50f01f80]]).ToString()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2900c060]] | "beginning ? end" |
1 | 2 | [[#2900c060]] | "begin middle? end" |
1 | 3 | [[#2900c060]] | "begin ?middle end" |
1 | 4 | [[#2900c060]] | "beg|in ? end" |
1 | 5 | [[#2900c060]] | "begin ? ending" |
1 | 6 | [[#2900c060]] | "begin ? enXd" |
2 | 1 | [[#2900c000]] | 5 |
2 | 2 | [[#2900c000]] | 6 |
2 | 3 | [[#2900c000]] | 7 |
2 | 4 | [[#2900c000]] | 3 |
2 | 5 | [[#2900c000]] | 11 |
2 | 6 | [[#2900c000]] | 10 |
3 | 1 | [[#50f01f80]] | "ning" |
3 | 2 | [[#50f01f80]] | "middle" |
3 | 3 | [[#50f01f80]] | "middle" |
3 | 4 | [[#50f01f80]] | "|" |
3 | 5 | [[#50f01f80]] | "ing" |
3 | 6 | [[#50f01f80]] | "X" |