Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.953 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 80 | src/NHibernate/Type/CultureInfoType.cs |
2 | 8 | 71 | src/NHibernate/Type/SingleType.cs |
| ||||
/// <summary> /// /// </summary> /// <param name="xml"></param> /// <returns></returns> public override object FromStringValue(string xml) { return CultureInfo.CreateSpecificCulture(xml); } /// <summary></summary> public override System.Type ReturnedClass { get { return typeof(CultureInfo); } } |
| ||||
public override object FromStringValue(string xml) { return Single.Parse(xml); } public override System.Type PrimitiveClass { get { return typeof(Single); } } |
| |||
/// <summary> /// /// </summary> /// <param name="xml"></param> /// <returns></returns> public override object FromStringValue(string xml) { return [[#variable54b1e380]]. [[#variable54a966c0]](xml); } /// <summary></summary> public override System.Type [[#variable54a966a0]] { get { return typeof( [[#variable54b1e380]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b1e380]] | Single |
1 | 2 | [[#54b1e380]] | CultureInfo |
2 | 1 | [[#54a966c0]] | Parse |
2 | 2 | [[#54a966c0]] | CreateSpecificCulture |
3 | 1 | [[#54a966a0]] | PrimitiveClass |
3 | 2 | [[#54a966a0]] | ReturnedClass |