Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.991 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 33 | src/NHibernate/Type/TimeAsTimeSpanType.cs |
2 | 6 | 49 | src/NHibernate/Type/TimeAsTimeSpanType.cs |
| ||||
{ object value = rs[index]; if (value is TimeSpan) return (TimeSpan)value; return ((DateTime)value).Subtract(BaseDateValue); } |
| ||||
{ object value = rs[name]; if (value is TimeSpan) //For those dialects where DbType.Time means TimeSpan. return (TimeSpan)value; return ((DateTime)value).Subtract(BaseDateValue); } |
| |||
{ object value = rs[ [[#variable27d21700]]]; if (value is TimeSpan) //For those dialects where DbType.Time means TimeSpan. return (TimeSpan)value; return ((DateTime)value).Subtract(BaseDateValue); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27d21700]] | index |
1 | 2 | [[#27d21700]] | name |