CloneSet178


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31630.955statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13108
src/NHibernate.Test/Join/JoinTest.cs
23143
src/NHibernate.Test/Join/JoinTest.cs
3295
src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs
424086
src/NHibernate.Test/Legacy/FooBarTest.cs
524127
src/NHibernate.Test/Legacy/FooBarTest.cs
624176
src/NHibernate.Test/Legacy/FooBarTest.cs
725446
src/NHibernate.Test/Legacy/FooBarTest.cs
825487
src/NHibernate.Test/Legacy/FooBarTest.cs
925500
src/NHibernate.Test/Legacy/FooBarTest.cs
102431
src/NHibernate.Test/Legacy/MasterDetailTest.cs
112661
src/NHibernate.Test/Legacy/MultiTableTest.cs
12287
src/NHibernate.Test/Legacy/ParentChildTest.cs
135490
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
142262
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
152364
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
16287
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs
Clone Instance
1
Line Count
3
Source Line
108
Source File
src/NHibernate.Test/Join/JoinTest.cs

                                Assert.AreEqual(1, s.CreateQuery("from Person p where p.Zip = '30306'").List().Count);

                                tx.Commit();


Clone Instance
2
Line Count
3
Source Line
143
Source File
src/NHibernate.Test/Join/JoinTest.cs

                                Assert.AreEqual(0, s.CreateQuery("from Person").List().Count);

                                tx.Commit();


Clone Instance
3
Line Count
2
Source Line
95
Source File
src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs

                        Assert.AreEqual(0, s.CreateQuery("from Person").List().Count);
                        t.Commit();


Clone Instance
4
Line Count
2
Source Line
4086
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count);
                        tx.Commit();


Clone Instance
5
Line Count
2
Source Line
4127
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                        Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count);
                                        tx.Commit();


Clone Instance
6
Line Count
2
Source Line
4176
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                        Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count);
                                        tx.Commit();


Clone Instance
7
Line Count
2
Source Line
5446
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from Bar bar").List().Count);
                        t.Commit();


Clone Instance
8
Line Count
2
Source Line
5487
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(3, s.CreateQuery("from Foo foo").List().Count);
                        t.Commit();


Clone Instance
9
Line Count
2
Source Line
5500
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from Foo foo").List().Count);
                        t.Commit();


Clone Instance
10
Line Count
2
Source Line
431
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateQuery("select elements(master.Details) from Master master").List().Count);
                        t.Commit();


Clone Instance
11
Line Count
2
Source Line
661
Source File
src/NHibernate.Test/Legacy/MultiTableTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from s in class Top").List().Count);
                        t.Commit();


Clone Instance
12
Line Count
2
Source Line
87
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                                Assert.AreEqual(1, s.CreateQuery("from Parent p left join fetch p.Child").List().Count);
                                t.Commit();


Clone Instance
13
Line Count
5
Source Line
490
Source File
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs

                                        Assert.AreEqual(2,
                                                        s.CreateQuery(
                                                                "from s in class Simple where s.Count > ( select min(sim.Count) from sim in class NHibernate.DomainModel.Simple )").
                                                                 List().Count);
                                        t.Commit();


Clone Instance
14
Line Count
2
Source Line
262
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                        Assert.AreEqual(0, s.CreateQuery("from Being").List().Count);
                        t.Commit();


Clone Instance
15
Line Count
2
Source Line
364
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

                                Assert.AreEqual(0, s.CreateQuery("from Being").List().Count);
                                t.Commit();


Clone Instance
16
Line Count
2
Source Line
87
Source File
src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs

                                Assert.AreEqual(0, s.CreateQuery("from Person").List().Count);
                                t.Commit();


Clone AbstractionParameter Count: 3Parameter Bindings

Assert.AreEqual( [[#variable6b9761a0]], s.CreateQuery( [[#variable56aa2b60]]).List().Count);
 [[#variable56aa2b00]].Commit();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6b9761a0]]
0 
12[[#6b9761a0]]
0 
13[[#6b9761a0]]
0 
14[[#6b9761a0]]
0 
15[[#6b9761a0]]
0 
16[[#6b9761a0]]
0 
17[[#6b9761a0]]
1 
18[[#6b9761a0]]
2 
19[[#6b9761a0]]
1 
110[[#6b9761a0]]
2 
111[[#6b9761a0]]
3 
112[[#6b9761a0]]
0 
113[[#6b9761a0]]
0 
114[[#6b9761a0]]
0 
115[[#6b9761a0]]
0 
116[[#6b9761a0]]
0 
21[[#56aa2b60]]
"from Person" 
22[[#56aa2b60]]
"from fee in class Fee" 
23[[#56aa2b60]]
"from Being" 
24[[#56aa2b60]]
"from s in class Top" 
25[[#56aa2b60]]
"from Person" 
26[[#56aa2b60]]
"from Foo foo" 
27[[#56aa2b60]]
"from Person p where p.Zip = '30306'" 
28[[#56aa2b60]]
"select elements(master.Details) from Master master" 
29[[#56aa2b60]]
"from Parent p left join fetch p.Child" 
210[[#56aa2b60]]
"from s in class Simple where s.Count > ( select min(sim.Count) from sim in class NHibernate.DomainModel.Simple )" 
211[[#56aa2b60]]
"from Foo foo" 
212[[#56aa2b60]]
"from Bar bar" 
213[[#56aa2b60]]
"from Being" 
214[[#56aa2b60]]
"from fee in class Fee" 
215[[#56aa2b60]]
"from fee in class Fee" 
216[[#56aa2b60]]
"from Person" 
31[[#56aa2b00]]
tx 
32[[#56aa2b00]]
tx 
33[[#56aa2b00]]
t 
34[[#56aa2b00]]
t 
35[[#56aa2b00]]
t 
36[[#56aa2b00]]
t 
37[[#56aa2b00]]
tx 
38[[#56aa2b00]]
t 
39[[#56aa2b00]]
t 
310[[#56aa2b00]]
t 
311[[#56aa2b00]]
t 
312[[#56aa2b00]]
t 
313[[#56aa2b00]]
t 
314[[#56aa2b00]]
tx 
315[[#56aa2b00]]
tx 
316[[#56aa2b00]]
t