Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.961 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 78 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
2 | 2 | 81 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
| ||||
replacedSql = sql.Replace("not found", "not in here"); Assert.AreEqual(sql.ToString().Replace("not found", "not in here"), replacedSql.ToString(), "replace no found string"); |
| ||||
replacedSql = sql.Replace("le", "LE"); Assert.AreEqual(sql.ToString().Replace("le", "LE"), replacedSql.ToString(), "multi-match replace"); |
| |||
replacedSql = sql.Replace( [[#variable45ef7860]], [[#variable45ef78e0]]); Assert.AreEqual(sql.ToString().Replace( [[#variable45ef7860]], [[#variable45ef78e0]]), replacedSql.ToString(), [[#variable45ef78c0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#45ef7860]] | "le" |
1 | 2 | [[#45ef7860]] | "not found" |
2 | 1 | [[#45ef78e0]] | "LE" |
2 | 2 | [[#45ef78e0]] | "not in here" |
3 | 1 | [[#45ef78c0]] | "multi-match replace" |
3 | 2 | [[#45ef78c0]] | "replace no found string" |