CloneSet994


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.982class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114279
src/NHibernate/Tuple/Entity/EntityMetamodel.cs
214314
src/NHibernate/Tuple/Entity/EntityMetamodel.cs
Clone Instance
1
Line Count
14
Source Line
279
Source File
src/NHibernate/Tuple/Entity/EntityMetamodel.cs

                private ValueInclusion DetermineInsertValueGenerationType(Mapping.Property mappingProperty, StandardProperty runtimeProperty)
                {
                        if (runtimeProperty.IsInsertGenerated)
                        {
                                return ValueInclusion.Full;
                        }
                        else if (mappingProperty.Value is Mapping.Component)
                        {
                                if (HasPartialInsertComponentGeneration((Mapping.Component)mappingProperty.Value))
                                {
                                        return ValueInclusion.Partial;
                                }
                        }
                        return ValueInclusion.None;
                }



Clone Instance
2
Line Count
14
Source Line
314
Source File
src/NHibernate/Tuple/Entity/EntityMetamodel.cs

                private ValueInclusion DetermineUpdateValueGenerationType(Mapping.Property mappingProperty, StandardProperty runtimeProperty)
                {
                        if (runtimeProperty.IsUpdateGenerated)
                        {
                                return ValueInclusion.Full;
                        }
                        else if (mappingProperty.Value is Mapping.Component)
                        {
                                if (HasPartialUpdateComponentGeneration((Mapping.Component)mappingProperty.Value))
                                {
                                        return ValueInclusion.Partial;
                                }
                        }
                        return ValueInclusion.None;
                }



Clone AbstractionParameter Count: 3Parameter Bindings

private ValueInclusion [[#variable2c92c140]](Mapping.Property mappingProperty, StandardProperty runtimeProperty)
{
   if (runtimeProperty. [[#variable2c92c0e0]])
   {
      return ValueInclusion.Full;
   }
   else
   if (mappingProperty.Value is Mapping.Component)
   {
      if ( [[#variable2c92c080]]((Mapping.Component)mappingProperty.Value))
      {
         return ValueInclusion.Partial;
      }
   }
   return ValueInclusion.None;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c92c140]]
DetermineUpdateValueGenerationType 
12[[#2c92c140]]
DetermineInsertValueGenerationType 
21[[#2c92c0e0]]
IsUpdateGenerated 
22[[#2c92c0e0]]
IsInsertGenerated 
31[[#2c92c080]]
HasPartialUpdateComponentGeneration 
32[[#2c92c080]]
HasPartialInsertComponentGeneration