Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.983 | statement_list[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 71 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
2 | 7 | 311 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
| ||||
s.Persist("Location", loc); XmlElement eLocation = cust.OwnerDocument.CreateElement("location"); eLocation.SetAttribute("id", "id"); cust.AppendChild(eLocation); s.Persist("Account", acct); t.Commit(); s.Close(); |
| ||||
s.Persist("Location", loc); XmlElement loc1 = cust.OwnerDocument.CreateElement("location"); loc1.SetAttribute("id", "id"); cust.AppendChild(loc1); s.Persist("Account", acct); t.Commit(); s.Close(); |
| |||
s.Persist("Location", loc); XmlElement [[#variable4709e1a0]]= cust.OwnerDocument.CreateElement("location"); [[#variable4709e1a0]].SetAttribute("id", "id"); cust.AppendChild( [[#variable4709e1a0]]); s.Persist("Account", acct); t.Commit(); s.Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4709e1a0]] | loc1 |
1 | 2 | [[#4709e1a0]] | eLocation |