Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 4 | 0.971 | class_member_declarations[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 18 | src/NHibernate/SqlCommand/SqlDeleteBuilder.cs |
2 | 17 | 23 | src/NHibernate/SqlCommand/SqlUpdateBuilder.cs |
| ||||
private List<SqlString> whereStrings = new List<SqlString> (); private readonly List<SqlType> parameterTypes = new List<SqlType> (); private string comment; public SqlDeleteBuilder(Dialect.Dialect dialect, IMapping mapping) : base(dialect, mapping) { } public SqlDeleteBuilder SetTableName(string tableName) { this.tableName = tableName; return this ; } public SqlDeleteBuilder SetComment(string comment) { this.comment = comment; return this ; } |
| ||||
private List<SqlString> whereStrings = new List<SqlString> (); private readonly List<SqlType> whereParameterTypes = new List<SqlType> (); private SqlString assignments; public SqlUpdateBuilder(Dialect.Dialect dialect, IMapping mapping) : base(dialect, mapping) { } public SqlUpdateBuilder SetTableName(string tableName) { this.tableName = tableName; return this ; } public SqlUpdateBuilder SetComment(string comment) { this.comment = comment; return this ; } |
| |||
private List<SqlString> whereStrings = new List<SqlString> (); private readonly List<SqlType> [[#variable6febe0c0]]= new List<SqlType> (); private [[#variable6feacec0]] [[#variable6feace60]]; public [[#variable6feace00]](Dialect.Dialect dialect, IMapping mapping): base(dialect, mapping) { } public [[#variable6feace00]]SetTableName(string tableName) { this.tableName = tableName; return this ; } public [[#variable6feace00]]SetComment(string comment) { this.comment = comment; return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6febe0c0]] | parameterTypes |
1 | 2 | [[#6febe0c0]] | whereParameterTypes |
2 | 1 | [[#6feacec0]] | string |
2 | 2 | [[#6feacec0]] | SqlString |
3 | 1 | [[#6feace60]] | comment |
3 | 2 | [[#6feace60]] | assignments |
4 | 1 | [[#6feace00]] | SqlDeleteBuilder |
4 | 2 | [[#6feace00]] | SqlUpdateBuilder |