Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.957 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 76 | src/NHibernate/Impl/MultiQueryImpl.cs |
2 | 8 | 96 | src/NHibernate/Impl/MultiQueryImpl.cs |
| ||||
public IMultiQuery SetParameter(string name, object val, IType type) { namedParametersThatAreSafeToDuplicate.Add(name); foreach (IQuery query in queries) { query.SetParameter(name, val, type); } return this ; } |
| ||||
public IMultiQuery SetParameterList(string name, ICollection vals, IType type) { namedParametersThatAreSafeToDuplicate.Add(name); foreach (IQuery query in queries) { query.SetParameterList(name, vals, type); } return this ; } |
| |||
public IMultiQuery [[#variable2bf67600]](string name, [[#variable5f4912c0]] [[#variable5f4919c0]], IType type) { namedParametersThatAreSafeToDuplicate.Add(name); foreach (IQuery query in queries) { query. [[#variable2bf67600]](name, [[#variable5f4919c0]], type); } return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bf67600]] | SetParameter |
1 | 2 | [[#2bf67600]] | SetParameterList |
2 | 1 | [[#5f4912c0]] | object |
2 | 2 | [[#5f4912c0]] | ICollection |
3 | 1 | [[#5f4919c0]] | val |
3 | 2 | [[#5f4919c0]] | vals |