Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 2 | 3 | 0.984 | class_member_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 15 | src/NHibernate.Test/VersionTest/Task.cs |
2 | 23 | 16 | src/NHibernate.Test/VersionTest/Thing.cs |
| ||||
public Task(string description, Person person) { this.description = description; this.person = person; person.Tasks.Add(this ); } public virtual string Description { get { return description; } set { description = value; } } public virtual Person Person { get { return person; } set { person = value; } } public virtual int Version { get { return version; } set { version = value; } } |
| ||||
public Thing(String description, Person person) { this.description = description; this.person = person; person.Things.Add(this ); } public virtual string Description { get { return description; } set { description = value; } } public virtual Person Person { get { return person; } set { person = value; } } public virtual int Version { get { return version; } set { version = value; } } |
| |||
public [[#variable66ef6380]]( [[#variable4707fd80]]description, Person person) { this.description = description; this.person = person; person. [[#variable66ef6320]].Add(this ); } public virtual string Description { get { return description; } set { description = value; } } public virtual Person Person { get { return person; } set { person = value; } } public virtual int Version { get { return version; } set { version = value; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#66ef6380]] | Thing |
1 | 2 | [[#66ef6380]] | Task |
2 | 1 | [[#4707fd80]] | String |
2 | 2 | [[#4707fd80]] | string |
3 | 1 | [[#66ef6320]] | Things |
3 | 2 | [[#66ef6320]] | Tasks |