Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.980 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 49 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
2 | 8 | 79 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
| ||||
public virtual CollectionType OrderedSet(string role, string propertyRef, bool embedded) { return new OrderedSetType(role, propertyRef, embedded); } public virtual CollectionType SortedSet(string role, string propertyRef, bool embedded, IComparer comparer) { return new SortedSetType(role, propertyRef, comparer, embedded); } |
| ||||
public virtual CollectionType OrderedMap(string role, string propertyRef, bool embedded) { return new OrderedMapType(role, propertyRef, embedded); } public virtual CollectionType SortedMap(string role, string propertyRef, bool embedded, IComparer comparer) { return new SortedMapType(role, propertyRef, comparer, embedded); } |
| |||
public virtual CollectionType [[#variable5894e620]](string role, string propertyRef, bool embedded) { return new [[#variable6630bd40]](role, propertyRef, embedded); } public virtual CollectionType [[#variable6630baa0]](string role, string propertyRef, bool embedded, IComparer comparer) { return new [[#variable5894e4e0]](role, propertyRef, comparer, embedded); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5894e620]] | OrderedMap |
1 | 2 | [[#5894e620]] | OrderedSet |
2 | 1 | [[#6630bd40]] | OrderedMapType |
2 | 2 | [[#6630bd40]] | OrderedSetType |
3 | 1 | [[#6630baa0]] | SortedMap |
3 | 2 | [[#6630baa0]] | SortedSet |
4 | 1 | [[#5894e4e0]] | SortedMapType |
4 | 2 | [[#5894e4e0]] | SortedSetType |