| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 3 | 3 | 0.978 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 76 | src/NHibernate/Cfg/XmlHbmBinding/MappingRootBinder.cs |
| 2 | 6 | 84 | src/NHibernate/Cfg/XmlHbmBinding/MappingRootBinder.cs |
| 3 | 6 | 92 | src/NHibernate/Cfg/XmlHbmBinding/MappingRootBinder.cs |
| ||||
private void AddUnionSubclasses(XmlNode parentNode, IDictionary<string, MetaAttribute> inheritedMetas)
{
UnionSubclassBinder binder = new UnionSubclassBinder(this, namespaceManager, dialect);
foreach (XmlNode node in parentNode.SelectNodes(HbmConstants.nsUnionSubclass, namespaceManager))
binder.Bind(node, inheritedMetas);
}
|
| ||||
private void AddJoinedSubclasses(XmlNode parentNode, IDictionary<string, MetaAttribute> inheritedMetas)
{
JoinedSubclassBinder binder = new JoinedSubclassBinder(this, namespaceManager, dialect);
foreach (XmlNode node in parentNode.SelectNodes(HbmConstants.nsJoinedSubclass, namespaceManager))
binder.Bind(node, inheritedMetas);
}
|
| ||||
private void AddSubclasses(XmlNode parentNode, IDictionary<string, MetaAttribute> inheritedMetas)
{
SubclassBinder binder = new SubclassBinder(this, namespaceManager, dialect);
foreach (XmlNode node in parentNode.SelectNodes(HbmConstants.nsSubclass, namespaceManager))
binder.Bind(node, inheritedMetas);
}
|
| |||
private void [[#variable2766fa60]](XmlNode parentNode, IDictionary<string, MetaAttribute> inheritedMetas)
{
[[#variable2766f9c0]]binder = new [[#variable2766f9c0]](this, namespaceManager, dialect);
foreach (XmlNode node in parentNode.SelectNodes(HbmConstants. [[#variable2766f940]], namespaceManager))
binder.Bind(node, inheritedMetas);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2766fa60]] | AddSubclasses |
| 1 | 2 | [[#2766fa60]] | AddJoinedSubclasses |
| 1 | 3 | [[#2766fa60]] | AddUnionSubclasses |
| 2 | 1 | [[#2766f9c0]] | SubclassBinder |
| 2 | 2 | [[#2766f9c0]] | JoinedSubclassBinder |
| 2 | 3 | [[#2766f9c0]] | UnionSubclassBinder |
| 3 | 1 | [[#2766f940]] | nsSubclass |
| 3 | 2 | [[#2766f940]] | nsJoinedSubclass |
| 3 | 3 | [[#2766f940]] | nsUnionSubclass |