CloneSet461


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1842
src/NHibernate.Test/NHSpecificTest/NH1693/Fixture.cs
2863
src/NHibernate.Test/NHSpecificTest/NH1693/Fixture.cs
Clone Instance
1
Line Count
8
Source Line
42
Source File
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();


Clone Instance
2
Line Count
8
Source Line
63
Source File
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();


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None