Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.950 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 181 | src/NHibernate/AdoNet/ResultSetWrapper.cs |
2 | 13 | 321 | src/NHibernate/Driver/NHybridDataReader.cs |
| ||||
public double GetDouble(int i) { return rs.GetDouble(i); } public string GetString(int i) { return rs.GetString(i); } |
| ||||
/// <summary> /// /// </summary> /// <param name="i"></param> /// <returns></returns> public double GetDouble(int i) { return _reader.GetDouble(i); } /// <summary> /// /// </summary> /// <param name="i"></param> /// <returns></returns> public bool GetBoolean(int i) { return _reader.GetBoolean(i); } |
| |||
/// <summary> /// /// </summary> /// <param name="i"></param> /// <returns></returns> public double GetDouble(int i) { return [[#variable6db3c080]].GetDouble(i); } /// <summary> /// /// </summary> /// <param name="i"></param> /// <returns></returns> public [[#variable6db3c0c0]] [[#variable6db3cd80]](int i) { return [[#variable6db3c080]]. [[#variable6db3cd80]](i); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6db3c080]] | _reader |
1 | 2 | [[#6db3c080]] | rs |
2 | 1 | [[#6db3c0c0]] | bool |
2 | 2 | [[#6db3c0c0]] | string |
3 | 1 | [[#6db3cd80]] | GetBoolean |
3 | 2 | [[#6db3cd80]] | GetString |