CloneSet57


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
32140.950statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1256
src/NHibernate/Dialect/DB2Dialect.cs
2362
src/NHibernate/Dialect/DB2Dialect.cs
32121
src/NHibernate/Dialect/DB2Dialect.cs
43123
src/NHibernate/Dialect/DB2Dialect.cs
52102
src/NHibernate/Dialect/Dialect.cs
63102
src/NHibernate/Dialect/FirebirdDialect.cs
72116
src/NHibernate/Dialect/FirebirdDialect.cs
82122
src/NHibernate/Dialect/FirebirdDialect.cs
92124
src/NHibernate/Dialect/FirebirdDialect.cs
10277
src/NHibernate/Dialect/MsSql2000Dialect.cs
112123
src/NHibernate/Dialect/MsSql2000Dialect.cs
122136
src/NHibernate/Dialect/Oracle8iDialect.cs
133157
src/NHibernate/Dialect/Oracle8iDialect.cs
142165
src/NHibernate/Dialect/Oracle8iDialect.cs
152208
src/NHibernate/Dialect/Oracle8iDialect.cs
16375
src/NHibernate/Dialect/OracleLiteDialect.cs
174106
src/NHibernate/Dialect/OracleLiteDialect.cs
18276
src/NHibernate/Dialect/SybaseDialect.cs
19280
src/NHibernate/Dialect/SybaseDialect.cs
20296
src/NHibernate/Dialect/SybaseDialect.cs
212111
src/NHibernate/Dialect/SybaseDialect.cs
Clone Instance
1
Line Count
2
Source Line
56
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                        RegisterFunction("absval", new StandardSQLFunction("absval"));
                        RegisterFunction("sign", new StandardSQLFunction("sign", NHibernateUtil.Int32));


Clone Instance
2
Line Count
3
Source Line
62
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                        RegisterFunction("round", new StandardSQLFunction("round"));

                        RegisterFunction("acos", new StandardSQLFunction("acos", NHibernateUtil.Double));


Clone Instance
3
Line Count
2
Source Line
121
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                        RegisterFunction("lower", new StandardSQLFunction("lower"));
                        RegisterFunction("length", new StandardSQLFunction("length", NHibernateUtil.Int32));


Clone Instance
4
Line Count
3
Source Line
123
Source File
src/NHibernate/Dialect/DB2Dialect.cs

                        RegisterFunction("ltrim", new StandardSQLFunction("ltrim"));

                        RegisterFunction("mod", new StandardSQLFunction("mod", NHibernateUtil.Int32));


Clone Instance
5
Line Count
2
Source Line
102
Source File
src/NHibernate/Dialect/Dialect.cs

                        RegisterFunction("abs", new StandardSQLFunction("abs"));
                        RegisterFunction("mod", new StandardSQLFunction("mod", NHibernateUtil.Int32));


Clone Instance
6
Line Count
3
Source Line
102
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        RegisterFunction("round", new StandardSQLFunction("round"));
                        //Date and Time Functions
                        RegisterFunction("dow", new StandardSQLFunction("dow", NHibernateUtil.String));


Clone Instance
7
Line Count
2
Source Line
116
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        //String and Character Functions
                        RegisterFunction("ascii_char", new StandardSQLFunction("ascii_char"));
                        RegisterFunction("ascii_val", new StandardSQLFunction("ascii_val", NHibernateUtil.Int16));


Clone Instance
8
Line Count
2
Source Line
122
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        RegisterFunction("rtrim", new StandardSQLFunction("rtrim"));
                        RegisterFunction("strlen", new StandardSQLFunction("strlen", NHibernateUtil.Int16));


Clone Instance
9
Line Count
2
Source Line
124
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        RegisterFunction("substr", new StandardSQLFunction("substr"));
                        RegisterFunction("substrlen", new StandardSQLFunction("substrlen", NHibernateUtil.Int16));


Clone Instance
10
Line Count
2
Source Line
77
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                        RegisterFunction("absval", new StandardSQLFunction("absval"));
                        RegisterFunction("sign", new StandardSQLFunction("sign", NHibernateUtil.Int32));


Clone Instance
11
Line Count
2
Source Line
123
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                        RegisterFunction("lower", new StandardSQLFunction("lower"));
                        RegisterFunction("length", new StandardSQLFunction("len", NHibernateUtil.Int32));


Clone Instance
12
Line Count
2
Source Line
136
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterFunction("abs", new StandardSQLFunction("abs"));
                        RegisterFunction("sign", new StandardSQLFunction("sign", NHibernateUtil.Int32));


Clone Instance
13
Line Count
3
Source Line
157
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterFunction("floor", new StandardSQLFunction("floor"));

                        RegisterFunction("chr", new StandardSQLFunction("chr", NHibernateUtil.Character));


Clone Instance
14
Line Count
2
Source Line
165
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterFunction("upper", new StandardSQLFunction("upper"));
                        RegisterFunction("ascii", new StandardSQLFunction("ascii", NHibernateUtil.Int32));


Clone Instance
15
Line Count
2
Source Line
208
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterFunction("nvl2", new StandardSQLFunction("nvl2"));
                        RegisterFunction("power", new StandardSQLFunction("power", NHibernateUtil.Single));


Clone Instance
16
Line Count
3
Source Line
75
Source File
src/NHibernate/Dialect/OracleLiteDialect.cs

                        RegisterFunction("floor", new StandardSQLFunction("floor"));

                        RegisterFunction("chr", new StandardSQLFunction("chr", NHibernateUtil.Character));


Clone Instance
17
Line Count
4
Source Line
106
Source File
src/NHibernate/Dialect/OracleLiteDialect.cs

                        RegisterFunction("nvl", new StandardSQLFunction("nvl"));

                        // Multi-param date dialect functions...
                        RegisterFunction("add_months", new StandardSQLFunction("add_months", NHibernateUtil.Date));


Clone Instance
18
Line Count
2
Source Line
76
Source File
src/NHibernate/Dialect/SybaseDialect.cs

                        RegisterFunction("upper", new StandardSQLFunction("upper"));
                        RegisterFunction("str", new StandardSQLFunction("str", NHibernateUtil.String));


Clone Instance
19
Line Count
2
Source Line
80
Source File
src/NHibernate/Dialect/SybaseDialect.cs

                        RegisterFunction("reverse", new StandardSQLFunction("reverse"));
                        RegisterFunction("space", new StandardSQLFunction("space", NHibernateUtil.String));


Clone Instance
20
Line Count
2
Source Line
96
Source File
src/NHibernate/Dialect/SybaseDialect.cs

                        RegisterFunction("abs", new StandardSQLFunction("abs"));
                        RegisterFunction("sign", new StandardSQLFunction("sign", NHibernateUtil.Int32));


Clone Instance
21
Line Count
2
Source Line
111
Source File
src/NHibernate/Dialect/SybaseDialect.cs

                        RegisterFunction("square", new StandardSQLFunction("square"));
                        RegisterFunction("rand", new StandardSQLFunction("rand", NHibernateUtil.Single));


Clone AbstractionParameter Count: 4Parameter Bindings

//String and Character Functions
RegisterFunction( [[#variable5684b2c0]], new StandardSQLFunction( [[#variable5684b2c0]]));
//Date and Time Functions
// Multi-param date dialect functions...
RegisterFunction( [[#variable6be009c0]], new StandardSQLFunction( [[#variable5684a9a0]], NHibernateUtil. [[#variable5684b240]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5684b2c0]]
"ltrim" 
12[[#5684b2c0]]
"lower" 
13[[#5684b2c0]]
"round" 
14[[#5684b2c0]]
"absval" 
15[[#5684b2c0]]
"round" 
16[[#5684b2c0]]
"substr" 
17[[#5684b2c0]]
"rtrim" 
18[[#5684b2c0]]
"floor" 
19[[#5684b2c0]]
"abs" 
110[[#5684b2c0]]
"upper" 
111[[#5684b2c0]]
"upper" 
112[[#5684b2c0]]
"lower" 
113[[#5684b2c0]]
"abs" 
114[[#5684b2c0]]
"nvl" 
115[[#5684b2c0]]
"ascii_char" 
116[[#5684b2c0]]
"nvl2" 
117[[#5684b2c0]]
"square" 
118[[#5684b2c0]]
"reverse" 
119[[#5684b2c0]]
"abs" 
120[[#5684b2c0]]
"floor" 
121[[#5684b2c0]]
"absval" 
21[[#6be009c0]]
"mod" 
22[[#6be009c0]]
"length" 
23[[#6be009c0]]
"acos" 
24[[#6be009c0]]
"sign" 
25[[#6be009c0]]
"dow" 
26[[#6be009c0]]
"substrlen" 
27[[#6be009c0]]
"strlen" 
28[[#6be009c0]]
"chr" 
29[[#6be009c0]]
"sign" 
210[[#6be009c0]]
"ascii" 
211[[#6be009c0]]
"str" 
212[[#6be009c0]]
"length" 
213[[#6be009c0]]
"mod" 
214[[#6be009c0]]
"add_months" 
215[[#6be009c0]]
"ascii_val" 
216[[#6be009c0]]
"power" 
217[[#6be009c0]]
"rand" 
218[[#6be009c0]]
"space" 
219[[#6be009c0]]
"sign" 
220[[#6be009c0]]
"chr" 
221[[#6be009c0]]
"sign" 
31[[#5684a9a0]]
"mod" 
32[[#5684a9a0]]
"length" 
33[[#5684a9a0]]
"acos" 
34[[#5684a9a0]]
"sign" 
35[[#5684a9a0]]
"dow" 
36[[#5684a9a0]]
"substrlen" 
37[[#5684a9a0]]
"strlen" 
38[[#5684a9a0]]
"chr" 
39[[#5684a9a0]]
"sign" 
310[[#5684a9a0]]
"ascii" 
311[[#5684a9a0]]
"str" 
312[[#5684a9a0]]
"len" 
313[[#5684a9a0]]
"mod" 
314[[#5684a9a0]]
"add_months" 
315[[#5684a9a0]]
"ascii_val" 
316[[#5684a9a0]]
"power" 
317[[#5684a9a0]]
"rand" 
318[[#5684a9a0]]
"space" 
319[[#5684a9a0]]
"sign" 
320[[#5684a9a0]]
"chr" 
321[[#5684a9a0]]
"sign" 
41[[#5684b240]]
Int32 
42[[#5684b240]]
Int32 
43[[#5684b240]]
Double 
44[[#5684b240]]
Int32 
45[[#5684b240]]
String 
46[[#5684b240]]
Int16 
47[[#5684b240]]
Int16 
48[[#5684b240]]
Character 
49[[#5684b240]]
Int32 
410[[#5684b240]]
Int32 
411[[#5684b240]]
String 
412[[#5684b240]]
Int32 
413[[#5684b240]]
Int32 
414[[#5684b240]]
Date 
415[[#5684b240]]
Int16 
416[[#5684b240]]
Single 
417[[#5684b240]]
Single 
418[[#5684b240]]
String 
419[[#5684b240]]
Int32 
420[[#5684b240]]
Character 
421[[#5684b240]]
Int32