Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 5 | 2 | 0.977 | statement_list[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 141 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
2 | 9 | 163 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
3 | 9 | 172 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
4 | 9 | 181 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
5 | 9 | 192 | src/NHibernate.Test/EntityModeTest/Xml/Basic/XmlFixture.cs |
| ||||
acct = (XmlElement) s.CreateQuery("from Account a left join fetch a.customer").UniqueResult(); Print(acct); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
| ||||
acct = (XmlElement) s.CreateQuery("from Account").UniqueResult(); Print(acct); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
| ||||
cust = (XmlElement) s.CreateQuery("from Customer c left join fetch c.stuff").UniqueResult(); Print(cust); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
| ||||
cust = (XmlElement) s.CreateQuery("from Customer c left join fetch c.morestuff").UniqueResult(); Print(cust); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
| ||||
cust = (XmlElement) s.CreateQuery("from Customer c left join fetch c.stuff").UniqueResult(); Print(cust); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
| |||
[[#variable57d1f460]]= (XmlElement)s.CreateQuery( [[#variable4f421d00]]).UniqueResult(); Print( [[#variable57d1f460]]); t.Commit(); s.Close(); Console.WriteLine(); s = OpenSession(); t = s.BeginTransaction(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57d1f460]] | cust |
1 | 2 | [[#57d1f460]] | cust |
1 | 3 | [[#57d1f460]] | acct |
1 | 4 | [[#57d1f460]] | acct |
1 | 5 | [[#57d1f460]] | cust |
2 | 1 | [[#4f421d00]] | "from Customer c left join fetch c.stuff" |
2 | 2 | [[#4f421d00]] | "from Customer c left join fetch c.morestuff" |
2 | 3 | [[#4f421d00]] | "from Account a left join fetch a.customer" |
2 | 4 | [[#4f421d00]] | "from Account" |
2 | 5 | [[#4f421d00]] | "from Customer c left join fetch c.stuff" |