Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.951 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 578 | src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs |
2 | 10 | 67 | src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs |
| ||||
if (reflectedClass != null) { model.ComponentClass = reflectedClass; model.IsEmbedded = false; } else { // an "embedded" component (ids only) model.ComponentClass = model.Owner.MappedClass; model.IsEmbedded = true; } |
| ||||
if (reflectedClass != null) { compositeId.ComponentClass = reflectedClass; compositeId.IsEmbedded = false; } else { // an "embedded" component (ids only) compositeId.ComponentClass = compositeId.Owner.MappedClass; compositeId.IsEmbedded = true; } |
| |||
if (reflectedClass != null) { [[#variable6fcfa060]].ComponentClass = reflectedClass; [[#variable6fcfa060]].IsEmbedded = false; } else { [[#variable6fcfa060]].ComponentClass = [[#variable6fcfa060]].Owner.MappedClass; [[#variable6fcfa060]].IsEmbedded = true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fcfa060]] | compositeId |
1 | 2 | [[#6fcfa060]] | model |