CloneSet1005


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2520.955statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1440
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs
2250
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs
3286
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs
4292
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs
52100
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs
Clone Instance
1
Line Count
4
Source Line
40
Source File
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs

                        ft =
                                new SQLFunctionTemplate(NHibernateUtil.String,
                                                        "replace( replace( rtrim( replace( replace( ?1, ' ', '${space}$' ), ?2, ' ' ) ), ' ', ?2 ), '${space}$', ' ' )");
                        args.Add("'param1  '");


Clone Instance
2
Line Count
2
Source Line
50
Source File
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs

                        ft = new SQLFunctionTemplate(NHibernateUtil.String, "?1 ?3 ?2 ?3 ?1");
                        args.Add(1);


Clone Instance
3
Line Count
2
Source Line
86
Source File
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs

                        ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?1,?2)");
                        args.Add(1);


Clone Instance
4
Line Count
2
Source Line
92
Source File
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs

                        ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?1,?3)");
                        args.Add(1);


Clone Instance
5
Line Count
2
Source Line
100
Source File
src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs

                        ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?2, ?1, ?3)");
                        args.Add(1);


Clone AbstractionParameter Count: 2Parameter Bindings

ft = new SQLFunctionTemplate(NHibernateUtil.String, [[#variable2ba53f80]]);
args.Add( [[#variable28c1fea0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2ba53f80]]
"func(?1,?2)" 
12[[#2ba53f80]]
"func(?2, ?1, ?3)" 
13[[#2ba53f80]]
"func(?1,?3)" 
14[[#2ba53f80]]
"?1 ?3 ?2 ?3 ?1" 
15[[#2ba53f80]]
"replace( replace( rtrim( replace( replace( ?1, ' ', '${space}$' ), ?2, ' ' ) ), ' ', ?2 ), '${space}$', ' ' )" 
21[[#28c1fea0]]
1 
22[[#28c1fea0]]
1 
23[[#28c1fea0]]
1 
24[[#28c1fea0]]
1 
25[[#28c1fea0]]
"'param1  '"