Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.967 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 73 | src/NHibernate.DomainModel/NHSpecific/Child.cs |
2 | 12 | 89 | src/NHibernate.DomainModel/NHSpecific/Child.cs |
| ||||
public Parent Mom { get { return (Parent) Parents["mom"]; } set { if (Parents.Contains("mom") == false) { Parents.Add("mom", value); } else { Parents["mom"] = value; } } } |
| ||||
public Parent Dad { get { return (Parent) Parents["dad"]; } set { if (Parents.Contains("dad") == false) { Parents.Add("dad", value); } else { Parents["dad"] = value; } } } |
| |||
public Parent [[#variable28a82dc0]] { get { return (Parent)Parents[ [[#variable28a82d40]]]; } set { if (Parents.Contains( [[#variable28a82d40]]) == false) { Parents.Add( [[#variable28a82d40]], value); } else { Parents[ [[#variable28a82d40]]] = value; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28a82dc0]] | Mom |
1 | 2 | [[#28a82dc0]] | Dad |
2 | 1 | [[#28a82d40]] | "mom" |
2 | 2 | [[#28a82d40]] | "dad" |