CloneSet590


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2730.957non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113513
src/NHibernate.Test/Legacy/FooBarTest.cs
224910
src/NHibernate.Test/Legacy/FooBarTest.cs
324913
src/NHibernate.Test/Legacy/FooBarTest.cs
434925
src/NHibernate.Test/Legacy/FooBarTest.cs
534929
src/NHibernate.Test/Legacy/FooBarTest.cs
614935
src/NHibernate.Test/Legacy/FooBarTest.cs
72450
src/NHibernate.Test/Legacy/ParentChildTest.cs
Clone Instance
1
Line Count
1
Source Line
3513
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count, "subdeletion");


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

                        Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count,
                                        "autoflush inserted row");


Clone Instance
3
Line Count
2
Source Line
4913
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.Char='X'").List().Count,
                                        "autflush updated row");


Clone Instance
4
Line Count
3
Source Line
4925
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                Assert.AreEqual(1,
                                                s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where 111 in foo.Bytes.elements").List().
                                                         Count, "autoflush collection update");


Clone Instance
5
Line Count
3
Source Line
4929
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                Assert.AreEqual(1,
                                                s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where 69 in foo.Bytes.elements").List().
                                                        Count, "autoflush collection update");


Clone Instance
6
Line Count
1
Source Line
4935
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        Assert.AreEqual(0, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count, "autoflush delete");


Clone Instance
7
Line Count
2
Source Line
450
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        Assert.AreEqual(1, s.CreateQuery("from c in class NHibernate.DomainModel.Child where c.Parent.Count=66").List().Count,
                                        "1-1 query");


Clone AbstractionParameter Count: 3Parameter Bindings

Assert.AreEqual( [[#variable700b6fe0]], s.CreateQuery( [[#variable6fccda80]]).List().Count, [[#variable700b8b20]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#700b6fe0]]
1 
12[[#700b6fe0]]
0 
13[[#700b6fe0]]
1 
14[[#700b6fe0]]
1 
15[[#700b6fe0]]
1 
16[[#700b6fe0]]
1 
17[[#700b6fe0]]
0 
21[[#6fccda80]]
"from c in class NHibernate.DomainModel.Child where c.Parent.Count=66" 
22[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo" 
23[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo" 
24[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo where foo.Char='X'" 
25[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo where 111 in foo.Bytes.elements" 
26[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo where 69 in foo.Bytes.elements" 
27[[#6fccda80]]
"from foo in class NHibernate.DomainModel.Foo" 
31[[#700b8b20]]
"1-1 query" 
32[[#700b8b20]]
"subdeletion" 
33[[#700b8b20]]
"autoflush inserted row" 
34[[#700b8b20]]
"autflush updated row" 
35[[#700b8b20]]
"autoflush collection update" 
36[[#700b8b20]]
"autoflush collection update" 
37[[#700b8b20]]
"autoflush delete"