Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.961 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 49 | src/NHibernate/Type/AbstractCharType.cs |
2 | 3 | 55 | src/NHibernate/Type/BooleanType.cs |
3 | 3 | 42 | src/NHibernate/Type/ByteType.cs |
4 | 3 | 35 | src/NHibernate/Type/DateTime2Type.cs |
| ||||
public override void Set(IDbCommand cmd, object value, int index) { ((IDataParameter)cmd.Parameters[index]).Value = (char)value; } |
| ||||
public override void Set(IDbCommand cmd, object value, int index) { ((IDataParameter) cmd.Parameters[index]).Value = (bool) value; } |
| ||||
public override void Set(IDbCommand cmd, object value, int index) { ((IDataParameter) cmd.Parameters[index]).Value = (byte) value; } |
| ||||
public override void Set(IDbCommand st, object value, int index) { ((IDataParameter) st.Parameters[index]).Value = (DateTime) value; } |
| |||
public override void Set(IDbCommand [[#variable26fee800]], object value, int index) { ((IDataParameter) [[#variable26fee800]].Parameters[index]).Value = ( [[#variable26fee760]])value; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26fee800]] | st |
1 | 2 | [[#26fee800]] | cmd |
1 | 3 | [[#26fee800]] | cmd |
1 | 4 | [[#26fee800]] | cmd |
2 | 1 | [[#26fee760]] | DateTime |
2 | 2 | [[#26fee760]] | bool |
2 | 3 | [[#26fee760]] | byte |
2 | 4 | [[#26fee760]] | char |