Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 42 | src/NHibernate.Test/NHSpecificTest/NH1693/Fixture.cs |
2 | 8 | 63 | src/NHibernate.Test/NHSpecificTest/NH1693/Fixture.cs |
| ||||
var list = session.CreateQuery(q1). SetParameter("cat", 10). List<Invoice> (); Assert.That(list.Count, Is.EqualTo(2)); Assert.That(list[0].Num == 2 && list[0].Mode == "a"); Assert.That(list[1].Num == 4 && list[1].Mode == "a"); tx.Commit(); |
| ||||
var list = session.CreateQuery(q1). SetParameter("cat", 10). List<Invoice> (); Assert.That(list.Count, Is.EqualTo(2)); Assert.That(list[0].Num == 2 && list[0].Mode == "a"); Assert.That(list[1].Num == 4 && list[1].Mode == "a"); tx.Commit(); |
| |||
var list = session.CreateQuery(q1).SetParameter("cat", 10).List<Invoice> (); Assert.That(list.Count, Is.EqualTo(2)); Assert.That(list[0].Num == 2 && list[0].Mode == "a"); Assert.That(list[1].Num == 4 && list[1].Mode == "a"); tx.Commit(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |