| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 1 | 0.966 | statement_list[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 805 | src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs |
| 2 | 3 | 1238 | src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs |
| ||||
XmlAttribute typeNode = node.Attributes["type"];
if (typeNode == null)
typeNode = node.Attributes["id-type"]; //for an any
|
| ||||
XmlAttribute typeAttribute = node.Attributes["type"];
if (typeAttribute == null)
typeAttribute = node.Attributes["id-type"]; //for an any
|
| |||
XmlAttribute [[#variable57d2c5a0]]= node.Attributes["type"];
if ( [[#variable57d2c5a0]]== null)
[[#variable57d2c5a0]]= node.Attributes["id-type"]; //for an any
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#57d2c5a0]] | typeAttribute |
| 1 | 2 | [[#57d2c5a0]] | typeNode |