Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.976 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 115 | src/NHibernate/Dialect/MsSql2005Dialect.cs |
2 | 2 | 117 | src/NHibernate/Dialect/MsSql2005Dialect.cs |
| ||||
if (trimmedExpression.EndsWithCaseInsensitive("asc")) return trimmedExpression.Substring(0, trimmedExpression.Length - 3).Trim(); |
| ||||
if (trimmedExpression.EndsWithCaseInsensitive("desc")) return trimmedExpression.Substring(0, trimmedExpression.Length - 4).Trim(); |
| |||
if (trimmedExpression.EndsWithCaseInsensitive( [[#variable6f48b560]])) return trimmedExpression.Substring(0, trimmedExpression.Length - [[#variable6f48b4c0]]).Trim(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f48b560]] | "asc" |
1 | 2 | [[#6f48b560]] | "desc" |
2 | 1 | [[#6f48b4c0]] | 3 |
2 | 2 | [[#6f48b4c0]] | 4 |