Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.986 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 82 | src/NHibernate/Mapping/Map.cs |
2 | 11 | 45 | src/NHibernate/Mapping/Set.cs |
| ||||
// No Generic behavior if (IsSorted) { return TypeFactory.SortedMap(Role, ReferencedPropertyName, Embedded, (IComparer)Comparer); } else if (HasOrder) { return TypeFactory.OrderedMap(Role, ReferencedPropertyName, Embedded); } else { return TypeFactory.Map(Role, ReferencedPropertyName, Embedded); } |
| ||||
// Non-generic if (IsSorted) { return TypeFactory.SortedSet(Role, ReferencedPropertyName, Embedded, (IComparer) Comparer); } else if (HasOrder) { return TypeFactory.OrderedSet(Role, ReferencedPropertyName, Embedded); } else { return TypeFactory.Set(Role, ReferencedPropertyName, Embedded); } |
| |||
// Non-generic // No Generic behavior if (IsSorted) { return TypeFactory. [[#variable5e466da0]](Role, ReferencedPropertyName, Embedded, (IComparer)Comparer); } else if (HasOrder) { return TypeFactory. [[#variable5e466d40]](Role, ReferencedPropertyName, Embedded); } else { return TypeFactory. [[#variable5e466ce0]](Role, ReferencedPropertyName, Embedded); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e466da0]] | SortedSet |
1 | 2 | [[#5e466da0]] | SortedMap |
2 | 1 | [[#5e466d40]] | OrderedSet |
2 | 2 | [[#5e466d40]] | OrderedMap |
3 | 1 | [[#5e466ce0]] | Set |
3 | 2 | [[#5e466ce0]] | Map |