Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 5 | 1 | 0.986 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 20 | src/NHibernate/Type/AbstractStringType.cs |
2 | 8 | 35 | src/NHibernate/Type/BooleanType.cs |
3 | 8 | 22 | src/NHibernate/Type/ByteType.cs |
4 | 8 | 23 | src/NHibernate/Type/DecimalType.cs |
5 | 14 | 27 | src/NHibernate/Type/DoubleType.cs |
| ||||
public override object Get(IDataReader rs, int index) { return Convert.ToString(rs[index]); } public override object Get(IDataReader rs, string name) { return Convert.ToString(rs[name]); } |
| ||||
public override object Get(IDataReader rs, int index) { return Convert.ToBoolean(rs[index]); } public override object Get(IDataReader rs, string name) { return Convert.ToBoolean(rs[name]); } |
| ||||
public override object Get(IDataReader rs, int index) { return Convert.ToByte(rs[index]); } public override object Get(IDataReader rs, string name) { return Convert.ToByte(rs[name]); } |
| ||||
public override object Get(IDataReader rs, int index) { return Convert.ToDecimal(rs[index]); } public override object Get(IDataReader rs, string name) { return Convert.ToDecimal(rs[name]); } |
| ||||
/// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="index"></param> /// <returns></returns> public override object Get(IDataReader rs, int index) { return Convert.ToDouble(rs[index]); } /// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="name"></param> /// <returns></returns> public override object Get(IDataReader rs, string name) { return Convert.ToDouble(rs[name]); } |
| |||
/// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="index"></param> /// <returns></returns> public override object Get(IDataReader rs, int index) { return Convert. [[#variable553e25e0]](rs[index]); } /// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="name"></param> /// <returns></returns> public override object Get(IDataReader rs, string name) { return Convert. [[#variable553e25e0]](rs[name]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#553e25e0]] | ToString |
1 | 2 | [[#553e25e0]] | ToBoolean |
1 | 3 | [[#553e25e0]] | ToByte |
1 | 4 | [[#553e25e0]] | ToDecimal |
1 | 5 | [[#553e25e0]] | ToDouble |