Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.974 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 214 | src/NHibernate/Tuple/Entity/AbstractEntityTuplizer.cs |
2 | 8 | 369 | src/NHibernate/Tuple/Entity/AbstractEntityTuplizer.cs |
| ||||
if (loc > 0) { ComponentType type = (ComponentType)entityMetamodel.PropertyTypes[index]; return GetComponentValue(type, baseValue, propertyPath.Substring(loc + 1)); } else { return baseValue; } |
| ||||
if (loc > 0) { ComponentType subtype = (ComponentType)type.Subtypes[index]; return GetComponentValue(subtype, baseValue, propertyPath.Substring(loc + 1)); } else { return baseValue; } |
| |||
if (loc > 0) { ComponentType [[#variable4d13a9e0]]= (ComponentType) [[#variable4d13a960]]. [[#variable4d13a860]][index]; return GetComponentValue( [[#variable4d13a9e0]], baseValue, propertyPath.Substring(loc + 1)); } else { return baseValue; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4d13a9e0]] | type |
1 | 2 | [[#4d13a9e0]] | subtype |
2 | 1 | [[#4d13a960]] | entityMetamodel |
2 | 2 | [[#4d13a960]] | type |
3 | 1 | [[#4d13a860]] | PropertyTypes |
3 | 2 | [[#4d13a860]] | Subtypes |