Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.954 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 290 | src/NHibernate/SqlCommand/QuerySelect.cs |
2 | 7 | 322 | src/NHibernate/SqlCommand/QuerySelect.cs |
| ||||
//TODO: seems HACKish to cast between String and SqlString if (tokenString != null) { quoted = tokenString.StartsWith("'"); } else { quoted = tokenSqlString.StartsWithCaseInsensitive("'"); } |
| ||||
if (tokenString != null) { lastQuoted = tokenString.EndsWith("'"); } else { lastQuoted = tokenSqlString.EndsWith("'"); } |
| |||
//TODO: seems HACKish to cast between String and SqlString if (tokenString != null) { [[#variable6e6fe660]]= tokenString. [[#variable6e6ff3e0]]("'"); } else { [[#variable6e6fe660]]= tokenSqlString. [[#variable6e6ff2a0]]("'"); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6e6fe660]] | quoted |
1 | 2 | [[#6e6fe660]] | lastQuoted |
2 | 1 | [[#6e6ff3e0]] | StartsWith |
2 | 2 | [[#6e6ff3e0]] | EndsWith |
3 | 1 | [[#6e6ff2a0]] | StartsWithCaseInsensitive |
3 | 2 | [[#6e6ff2a0]] | EndsWith |