CloneSet681


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.986non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11182
src/NHibernate/Mapping/Map.cs
21145
src/NHibernate/Mapping/Set.cs
Clone Instance
1
Line Count
11
Source Line
82
Source File
src/NHibernate/Mapping/Map.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);
                                }


Clone Instance
2
Line Count
11
Source Line
45
Source File
src/NHibernate/Mapping/Set.cs

                                // 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);
                                }


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e466da0]]
SortedSet 
12[[#5e466da0]]
SortedMap 
21[[#5e466d40]]
OrderedSet 
22[[#5e466d40]]
OrderedMap 
31[[#5e466ce0]]
Set 
32[[#5e466ce0]]
Map