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.959 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 48 | src/NHibernate/Criterion/ConditionalProjection.cs |
2 | 2 | 50 | src/NHibernate/Criterion/ConditionalProjection.cs |
| ||||
SqlString ifTrue = whenTrue.ToSqlString(criteria, position + GetHashCode() + 1, criteriaQuery, enabledFilters); ifTrue = StringHelper.RemoveAsAliasesFromSql(ifTrue); |
| ||||
SqlString ifFalse = whenFalse.ToSqlString(criteria, position + GetHashCode() + 2, criteriaQuery, enabledFilters); ifFalse = StringHelper.RemoveAsAliasesFromSql(ifFalse); |
| |||
SqlString [[#variable2990d6e0]]= [[#variable2990d140]].ToSqlString(criteria, position + GetHashCode() + [[#variable2990d6c0]], criteriaQuery, enabledFilters); [[#variable2990d6e0]]= StringHelper.RemoveAsAliasesFromSql( [[#variable2990d6e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2990d6e0]] | ifFalse |
1 | 2 | [[#2990d6e0]] | ifTrue |
2 | 1 | [[#2990d140]] | whenFalse |
2 | 2 | [[#2990d140]] | whenTrue |
3 | 1 | [[#2990d6c0]] | 2 |
3 | 2 | [[#2990d6c0]] | 1 |