CloneSet89


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
51520.970non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15218
src/NHibernate.Test/HQL/HQLFunctions.cs
25285
src/NHibernate.Test/HQL/HQLFunctions.cs
35445
src/NHibernate.Test/HQL/HQLFunctions.cs
45471
src/NHibernate.Test/HQL/HQLFunctions.cs
55497
src/NHibernate.Test/HQL/HQLFunctions.cs
65519
src/NHibernate.Test/HQL/HQLFunctions.cs
75545
src/NHibernate.Test/HQL/HQLFunctions.cs
85579
src/NHibernate.Test/HQL/HQLFunctions.cs
95723
src/NHibernate.Test/HQL/HQLFunctions.cs
105743
src/NHibernate.Test/HQL/HQLFunctions.cs
115761
src/NHibernate.Test/HQL/HQLFunctions.cs
125783
src/NHibernate.Test/HQL/HQLFunctions.cs
135816
src/NHibernate.Test/HQL/HQLFunctions.cs
145868
src/NHibernate.Test/HQL/HQLFunctions.cs
155946
src/NHibernate.Test/HQL/HQLFunctions.cs
Clone Instance
1
Line Count
5
Source Line
218
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 20);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
2
Line Count
5
Source Line
285
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 20);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
3
Line Count
5
Source Line
445
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("Dog", 9);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
4
Line Count
5
Source Line
471
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 20);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
5
Line Count
5
Source Line
497
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 65536F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
6
Line Count
5
Source Line
519
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
7
Line Count
5
Source Line
545
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("ABCDEF", 1F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
8
Line Count
5
Source Line
579
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        // The cast is used to test various cases of a function render
                        // Cast was selected because represent a special case for:
                        // 1) Has more then 1 argument
                        // 2) The argument separator is "as" (for the other function is ',' or ' ')
                        // 3) The ReturnType is not fixed (depend on a column type)
                        // 4) The 2th argument is parsed by NH and traslated for a specific Dialect (can't be interpreted directly by RDBMS)
                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
9
Line Count
5
Source Line
723
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
10
Line Count
5
Source Line
743
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
11
Line Count
5
Source Line
761
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
12
Line Count
5
Source Line
783
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
13
Line Count
5
Source Line
816
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
14
Line Count
5
Source Line
868
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 20);
                                s.Save(a1);
                                s.Flush();
                        }


Clone Instance
15
Line Count
5
Source Line
946
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                Animal a1 = new Animal("abcdef", 1.3F);
                                s.Save(a1);
                                s.Flush();
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

// The cast is used to test various cases of a function render
// Cast was selected because represent a special case for:
// 1) Has more then 1 argument
// 2) The argument separator is "as" (for the other function is ',' or ' ')
// 3) The ReturnType is not fixed (depend on a column type)
// 4) The 2th argument is parsed by NH and traslated for a specific Dialect (can't be interpreted directly by RDBMS)
using (ISession s = OpenSession())
{
   Animal a1 = new Animal( [[#variable55364860]], [[#variable55364840]]);
   s.Save(a1);
   s.Flush();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55364860]]
"abcdef" 
12[[#55364860]]
"Dog" 
13[[#55364860]]
"abcdef" 
14[[#55364860]]
"abcdef" 
15[[#55364860]]
"ABCDEF" 
16[[#55364860]]
"abcdef" 
17[[#55364860]]
"abcdef" 
18[[#55364860]]
"abcdef" 
19[[#55364860]]
"abcdef" 
110[[#55364860]]
"abcdef" 
111[[#55364860]]
"abcdef" 
112[[#55364860]]
"abcdef" 
113[[#55364860]]
"abcdef" 
114[[#55364860]]
"abcdef" 
115[[#55364860]]
"abcdef" 
21[[#55364840]]
20 
22[[#55364840]]
9 
23[[#55364840]]
65536F 
24[[#55364840]]
1F 
25[[#55364840]]
1F 
26[[#55364840]]
1.3F 
27[[#55364840]]
20 
28[[#55364840]]
20 
29[[#55364840]]
1.3F 
210[[#55364840]]
1.3F 
211[[#55364840]]
1.3F 
212[[#55364840]]
1.3F 
213[[#55364840]]
1F 
214[[#55364840]]
20 
215[[#55364840]]
1.3F