CloneSet202


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21320.973statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
135586
src/NHibernate.Test/Legacy/FooBarTest.cs
225596
src/NHibernate.Test/Legacy/FooBarTest.cs
32534
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
4258
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
5260
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
6262
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
7264
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
8266
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
9268
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
10270
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
11272
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
12285
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
13287
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs
Clone Instance
1
Line Count
3
Source Line
5586
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                q = s.CreateQuery("from f in class Foo");

                                Assert.AreEqual(10, q.List().Count);


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

                                q = s.CreateQuery("from f in class Foo");
                                Assert.AreEqual(10, q.List().Count);


Clone Instance
3
Line Count
2
Source Line
534
Source File
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs

                                q = s.CreateQuery("from s in class Simple");
                                Assert.AreEqual(3, q.List().Count);


Clone Instance
4
Line Count
2
Source Line
58
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where upper(ld.Description) = 'DESCRIPTION 1'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
5
Line Count
2
Source Line
60
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where lower(ld.Description) = 'description 1'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
6
Line Count
2
Source Line
62
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where trim(ld.Description) = 'Description 2'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
7
Line Count
2
Source Line
64
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where trim(ld.Description) = 'Description'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
8
Line Count
2
Source Line
66
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where trim(upper(ld.Description)) = 'DESCRIPTION'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
9
Line Count
2
Source Line
68
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where lower(trim(ld.Description)) = 'description'");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
10
Line Count
2
Source Line
70
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where upper(ld.Description) like 'DESCRIPTION%'");
                                Assert.AreEqual(2, q.List().Count);


Clone Instance
11
Line Count
2
Source Line
72
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where lower(ld.Description) like 'description%'");
                                Assert.AreEqual(2, q.List().Count);


Clone Instance
12
Line Count
2
Source Line
85
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where char_length(ld.Description) = 10");
                                Assert.AreEqual(1, q.List().Count);


Clone Instance
13
Line Count
2
Source Line
87
Source File
src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs

                                q = s.CreateQuery("from ld in class LiteralDescription where char_length(trim(ld.Description)) = 10");
                                Assert.AreEqual(2, q.List().Count);


Clone AbstractionParameter Count: 2Parameter Bindings

q = s.CreateQuery( [[#variable45c6a300]]);
Assert.AreEqual( [[#variable45c6b2a0]], q.List().Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#45c6a300]]
"from f in class Foo" 
12[[#45c6a300]]
"from s in class Simple" 
13[[#45c6a300]]
"from ld in class LiteralDescription where char_length(trim(ld.Description)) = 10" 
14[[#45c6a300]]
"from ld in class LiteralDescription where char_length(ld.Description) = 10" 
15[[#45c6a300]]
"from ld in class LiteralDescription where lower(ld.Description) like 'description%'" 
16[[#45c6a300]]
"from ld in class LiteralDescription where upper(ld.Description) like 'DESCRIPTION%'" 
17[[#45c6a300]]
"from ld in class LiteralDescription where lower(trim(ld.Description)) = 'description'" 
18[[#45c6a300]]
"from ld in class LiteralDescription where trim(upper(ld.Description)) = 'DESCRIPTION'" 
19[[#45c6a300]]
"from ld in class LiteralDescription where trim(ld.Description) = 'Description'" 
110[[#45c6a300]]
"from ld in class LiteralDescription where trim(ld.Description) = 'Description 2'" 
111[[#45c6a300]]
"from ld in class LiteralDescription where lower(ld.Description) = 'description 1'" 
112[[#45c6a300]]
"from ld in class LiteralDescription where upper(ld.Description) = 'DESCRIPTION 1'" 
113[[#45c6a300]]
"from f in class Foo" 
21[[#45c6b2a0]]
10 
22[[#45c6b2a0]]
3 
23[[#45c6b2a0]]
2 
24[[#45c6b2a0]]
1 
25[[#45c6b2a0]]
2 
26[[#45c6b2a0]]
2 
27[[#45c6b2a0]]
1 
28[[#45c6b2a0]]
1 
29[[#45c6b2a0]]
1 
210[[#45c6b2a0]]
1 
211[[#45c6b2a0]]
1 
212[[#45c6b2a0]]
1 
213[[#45c6b2a0]]
10