Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.987 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 84 | src/NHibernate/SqlCommand/SqlDeleteBuilder.cs |
2 | 8 | 202 | src/NHibernate/SqlCommand/SqlUpdateBuilder.cs |
| ||||
public SqlDeleteBuilder AddWhereFragment(string columnName, SqlType type, string op) { if ( ! string.IsNullOrEmpty(columnName)) { whereStrings.Add(ToWhereString(columnName, op)); parameterTypes.Add(type); } return this ; } |
| ||||
public SqlUpdateBuilder AddWhereFragment(string columnName, SqlType type, string op) { if ( ! string.IsNullOrEmpty(columnName)) { whereStrings.Add(ToWhereString(columnName, op)); whereParameterTypes.Add(type); } return this ; } |
| |||
public [[#variable536623e0]]AddWhereFragment(string columnName, SqlType type, string op) { if ( ! string.IsNullOrEmpty(columnName)) { whereStrings.Add(ToWhereString(columnName, op)); [[#variable53662380]].Add(type); } return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#536623e0]] | SqlDeleteBuilder |
1 | 2 | [[#536623e0]] | SqlUpdateBuilder |
2 | 1 | [[#53662380]] | parameterTypes |
2 | 2 | [[#53662380]] | whereParameterTypes |