Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.990 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 72 | src/NHibernate.Test/Ondelete/OnDeleteFixture.cs |
2 | 5 | 61 | src/NHibernate.Test/Ondelete/ParentChildFixture.cs |
| ||||
IList names = s.CreateQuery("select p.name from Person p").List(); Assert.AreEqual(0, names.Count); t.Commit(); s.Close(); |
| ||||
IList names = s.CreateQuery("from Parent p").List(); Assert.AreEqual(0, names.Count); t.Commit(); s.Close(); |
| |||
IList names = s.CreateQuery( [[#variable5eb2bca0]]).List(); Assert.AreEqual(0, names.Count); t.Commit(); s.Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb2bca0]] | "from Parent p" |
1 | 2 | [[#5eb2bca0]] | "select p.name from Person p" |