Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.976 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 197 | src/NHibernate/Cfg/XmlHbmBinding/Binder.cs |
2 | 15 | 241 | src/NHibernate/Cfg/XmlHbmBinding/Binder.cs |
| ||||
MetaAttribute meta; MetaAttribute inheritedAttribute; map.TryGetValue(name, out meta); inheritedMeta.TryGetValue(name, out inheritedAttribute); if (meta == null) { meta = new MetaAttribute(name); map[name] = meta; } else if (meta == inheritedAttribute) { // overriding inherited meta attribute. meta = new MetaAttribute(name); map[name] = meta; } meta.AddValues(metaAttribute.Value.Values); |
| ||||
MetaAttribute meta; MetaAttribute inheritedAttribute; map.TryGetValue(name, out meta); inheritedMeta.TryGetValue(name, out inheritedAttribute); if (meta == null) { meta = new MetaAttribute(name); map[name] = meta; } else if (meta == inheritedAttribute) { meta = new MetaAttribute(name); map[name] = meta; } meta.AddValue(metaNode.InnerText); |
| |||
MetaAttribute meta; MetaAttribute inheritedAttribute; map.TryGetValue(name, out meta); inheritedMeta.TryGetValue(name, out inheritedAttribute); if (meta == null) { meta = new MetaAttribute(name); map[name] = meta; } else if (meta == inheritedAttribute) { // overriding inherited meta attribute. meta = new MetaAttribute(name); map[name] = meta; } meta. [[#variable5f4b7140]]( [[#variable5f4b6880]]. [[#variable5f4b6f60]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f4b7140]] | AddValue |
1 | 2 | [[#5f4b7140]] | AddValues |
2 | 1 | [[#5f4b6880]] | metaNode |
2 | 2 | [[#5f4b6880]] | metaAttribute.Value |
3 | 1 | [[#5f4b6f60]] | InnerText |
3 | 2 | [[#5f4b6f60]] | Values |