CloneSet944


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4410.988non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14767
src/NHibernate.Test/HQL/HQLFunctions.cs
24789
src/NHibernate.Test/HQL/HQLFunctions.cs
34843
src/NHibernate.Test/HQL/HQLFunctions.cs
44857
src/NHibernate.Test/HQL/HQLFunctions.cs
Clone Instance
1
Line Count
4
Source Line
767
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                string hql = "select current_timestamp() from Animal";
                                IList result = s.CreateQuery(hql).List();
                        }


Clone Instance
2
Line Count
4
Source Line
789
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        using (ISession s = OpenSession())
                        {
                                string hql = "select current_timestamp_offset() from Animal";
                                IList result = s.CreateQuery(hql).List();
                        }


Clone Instance
3
Line Count
4
Source Line
843
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                        // test only the parser and render
                        using (ISession s = OpenSession())
                        {
                                string hql = "select second(current_timestamp()), minute(current_timestamp()), hour(current_timestamp()) from Animal";
                                IList result = s.CreateQuery(hql).List();
                        }


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

                        // test only the parser and render
                        using (ISession s = OpenSession())
                        {
                                string hql = "select day(h.Birthdate), month(h.Birthdate), year(h.Birthdate) from Human h";
                                IList result = s.CreateQuery(hql).List();
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

// test only the parser and render
using (ISession s = OpenSession())
{
   string hql = [[#variable27611080]];
   IList result = s.CreateQuery(hql).List();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27611080]]
"select current_timestamp() from Animal" 
12[[#27611080]]
"select current_timestamp_offset() from Animal" 
13[[#27611080]]
"select second(current_timestamp()), minute(current_timestamp()), hour(current_timestamp()) from Animal" 
14[[#27611080]]
"select day(h.Birthdate), month(h.Birthdate), year(h.Birthdate) from Human h"