Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.952 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 47 | src/NHibernate.Test/Criteria/AddNumberProjection.cs |
2 | 3 | 58 | src/NHibernate/Criterion/ConstantProjection.cs |
| ||||
public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery) { return new TypedValue[] { new TypedValue(NHibernateUtil.Int32, numberToAdd, EntityMode.Poco) } ; } |
| ||||
public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery) { return new TypedValue[] { new TypedValue(type, value, EntityMode.Poco) } ; } |
| |||
public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery) { return new TypedValue[] { new TypedValue( [[#variable276e4a80]], [[#variable276e4a60]], EntityMode.Poco) } ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#276e4a80]] | type |
1 | 2 | [[#276e4a80]] | NHibernateUtil.Int32 |
2 | 1 | [[#276e4a60]] | value |
2 | 2 | [[#276e4a60]] | numberToAdd |