CloneSet1558


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2240.966statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12167
src/NHibernate/Dialect/Oracle8iDialect.cs
22125
src/NHibernate/Dialect/SybaseDialect.cs
Clone Instance
1
Line Count
2
Source Line
167
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterFunction("length", new StandardSQLFunction("length", NHibernateUtil.Int64));
                        RegisterFunction("left", new SQLFunctionTemplate(NHibernateUtil.String, "substr(?1, 1, ?2)"));


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

                        RegisterFunction("length", new StandardSQLFunction("len", NHibernateUtil.Int32));
                        RegisterFunction("trim", new SQLFunctionTemplate(NHibernateUtil.String, "ltrim(rtrim(?1))"));


Clone AbstractionParameter Count: 4Parameter Bindings

RegisterFunction("length", new StandardSQLFunction( [[#variable2bcb5b20]], NHibernateUtil. [[#variable2bcb59e0]]));
RegisterFunction( [[#variable2bcb4ea0]], new SQLFunctionTemplate(NHibernateUtil.String, [[#variable2bcb5ac0]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2bcb5b20]]
"length" 
12[[#2bcb5b20]]
"len" 
21[[#2bcb59e0]]
Int64 
22[[#2bcb59e0]]
Int32 
31[[#2bcb4ea0]]
"left" 
32[[#2bcb4ea0]]
"trim" 
41[[#2bcb5ac0]]
"substr(?1, 1, ?2)" 
42[[#2bcb5ac0]]
"ltrim(rtrim(?1))"