Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.983 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 159 | src/NHibernate.Test/NHSpecificTest/NH1914/Model.cs |
2 | 8 | 60 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
public bool Contains(T item) { return myValues.Contains(item); } public void CopyTo(T[] array, int arrayIndex) { myValues.CopyTo(array, arrayIndex); } |
| ||||
public bool Contains(T item) { return elements.Contains(item); } public void CopyTo(T[] array, int arrayIndex) { elements.CopyTo(array, arrayIndex); } |
| |||
public bool Contains(T item) { return [[#variable2b5025e0]].Contains(item); } public void CopyTo(T[] array, int arrayIndex) { [[#variable2b5025e0]].CopyTo(array, arrayIndex); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2b5025e0]] | myValues |
1 | 2 | [[#2b5025e0]] | elements |