CloneSet441


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1830.959non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11479
src/NHibernate.Test/Legacy/MasterDetailTest.cs
21480
src/NHibernate.Test/Legacy/MasterDetailTest.cs
31502
src/NHibernate.Test/Legacy/MasterDetailTest.cs
41503
src/NHibernate.Test/Legacy/MasterDetailTest.cs
53504
src/NHibernate.Test/Legacy/MasterDetailTest.cs
61524
src/NHibernate.Test/Legacy/MasterDetailTest.cs
71582
src/NHibernate.Test/Legacy/MasterDetailTest.cs
81334
src/NHibernate.Test/Legacy/ParentChildTest.cs
Clone Instance
1
Line Count
1
Source Line
479
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master.Details, "order by this.I desc").List().Count);


Clone Instance
2
Line Count
1
Source Line
480
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master.Details, "select this where this.id > -1").List().Count);


Clone Instance
3
Line Count
1
Source Line
502
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master.Details, "where this.id > -1").List().Count);


Clone Instance
4
Line Count
1
Source Line
503
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master.Details, "select this.Master where this.id > -1").List().Count);


Clone Instance
5
Line Count
3
Source Line
504
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2,
                                        s.CreateFilter(master.Details, "select m from m in class Master where this.id > -1 and this.Master=m").
                                                 List().Count);


Clone Instance
6
Line Count
1
Source Line
524
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master.Details, "select this.Master").List().Count);


Clone Instance
7
Line Count
1
Source Line
582
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        Assert.AreEqual(2, s.CreateFilter(master1.Incoming, "where this.id > 0 and this.Name is not null").List().Count);


Clone Instance
8
Line Count
1
Source Line
334
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        Assert.AreEqual(2, s.CreateFilter(baz.Parts, "").List().Count);


Clone AbstractionParameter Count: 3Parameter Bindings

Assert.AreEqual(2, s.CreateFilter( [[#variable55d1f300]]. [[#variable55d1ef80]], [[#variable55d1f840]]).List().Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55d1f300]]
baz 
12[[#55d1f300]]
master 
13[[#55d1f300]]
master 
14[[#55d1f300]]
master 
15[[#55d1f300]]
master 
16[[#55d1f300]]
master 
17[[#55d1f300]]
master 
18[[#55d1f300]]
master1 
21[[#55d1ef80]]
Parts 
22[[#55d1ef80]]
Details 
23[[#55d1ef80]]
Details 
24[[#55d1ef80]]
Details 
25[[#55d1ef80]]
Details 
26[[#55d1ef80]]
Details 
27[[#55d1ef80]]
Details 
28[[#55d1ef80]]
Incoming 
31[[#55d1f840]]
"" 
32[[#55d1f840]]
"order by this.I desc" 
33[[#55d1f840]]
"select this where this.id > -1" 
34[[#55d1f840]]
"where this.id > -1" 
35[[#55d1f840]]
"select this.Master where this.id > -1" 
36[[#55d1f840]]
"select m from m in class Master where this.id > -1 and this.Master=m" 
37[[#55d1f840]]
"select this.Master" 
38[[#55d1f840]]
"where this.id > 0 and this.Name is not null"