Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.971 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 59 | src/NHibernate.Test/Events/Collections/AbstractParentWithCollection.cs |
2 | 5 | 72 | src/NHibernate.Test/Events/Collections/AbstractParentWithCollection.cs |
| ||||
public virtual void AddAllChildren(ICollection<IChild> children) { foreach (IChild child in children) { this.children.Add(child); } } |
| ||||
public virtual void RemoveAllChildren(ICollection<IChild> children) { foreach (IChild child in children) { this.children.Remove(child); } } |
| |||
public virtual void [[#variable583f8520]](ICollection<IChild> children) { foreach (IChild child in children) { this.children. [[#variable583f84c0]](child); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#583f8520]] | RemoveAllChildren |
1 | 2 | [[#583f8520]] | AddAllChildren |
2 | 1 | [[#583f84c0]] | Remove |
2 | 2 | [[#583f84c0]] | Add |