CloneSet664


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7250.950statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17202
src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs
27210
src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs
Clone Instance
1
Line Count
7
Source Line
202
Source File
src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs

                        XmlElement a1 = cust.OwnerDocument.CreateElement("account");
                        XmlElement b1 = a1.OwnerDocument.CreateElement("balance");
                        b1.InnerText = "12.67";
                        a1.AppendChild(b1);
                        a1.SetAttribute("id", "lkj345");
                        a1.SetAttribute("acnum", "0");
                        cust.SelectSingleNode("accounts").AppendChild(a1);


Clone Instance
2
Line Count
7
Source Line
210
Source File
src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs

                        XmlElement a2 = cust.OwnerDocument.CreateElement("account");
                        XmlElement b2 = a1.OwnerDocument.CreateElement("balance");
                        b2.InnerText = "10000.00";
                        a2.AppendChild(b2);
                        a2.SetAttribute("id", "hsh987");
                        a2.SetAttribute("acnum", "1");
                        cust.SelectSingleNode("accounts").AppendChild(a2);


Clone AbstractionParameter Count: 5Parameter Bindings

XmlElement [[#variable26f27500]]= cust.OwnerDocument.CreateElement("account");
XmlElement [[#variable6fd638a0]]= a1.OwnerDocument.CreateElement("balance");
 [[#variable6fd638a0]].InnerText = [[#variable6fd638e0]];
 [[#variable26f27500]].AppendChild( [[#variable6fd638a0]]);
 [[#variable26f27500]].SetAttribute("id", [[#variable6fd637e0]]);
 [[#variable26f27500]].SetAttribute("acnum", [[#variable6fd635c0]]);
cust.SelectSingleNode("accounts").AppendChild( [[#variable26f27500]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#26f27500]]
a2 
12[[#26f27500]]
a1 
21[[#6fd638a0]]
b2 
22[[#6fd638a0]]
b1 
31[[#6fd638e0]]
"10000.00" 
32[[#6fd638e0]]
"12.67" 
41[[#6fd637e0]]
"hsh987" 
42[[#6fd637e0]]
"lkj345" 
51[[#6fd635c0]]
"1" 
52[[#6fd635c0]]
"0"