Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.966 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 167 | src/NHibernate/Dialect/Oracle8iDialect.cs |
2 | 2 | 125 | src/NHibernate/Dialect/SybaseDialect.cs |
| ||||
RegisterFunction("length", new StandardSQLFunction("length", NHibernateUtil.Int64)); RegisterFunction("left", new SQLFunctionTemplate(NHibernateUtil.String, "substr(?1, 1, ?2)")); |
| ||||
RegisterFunction("length", new StandardSQLFunction("len", NHibernateUtil.Int32)); RegisterFunction("trim", new SQLFunctionTemplate(NHibernateUtil.String, "ltrim(rtrim(?1))")); |
| |||
RegisterFunction("length", new StandardSQLFunction( [[#variable2bcb5b20]], NHibernateUtil. [[#variable2bcb59e0]])); RegisterFunction( [[#variable2bcb4ea0]], new SQLFunctionTemplate(NHibernateUtil.String, [[#variable2bcb5ac0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bcb5b20]] | "length" |
1 | 2 | [[#2bcb5b20]] | "len" |
2 | 1 | [[#2bcb59e0]] | Int64 |
2 | 2 | [[#2bcb59e0]] | Int32 |
3 | 1 | [[#2bcb4ea0]] | "left" |
3 | 2 | [[#2bcb4ea0]] | "trim" |
4 | 1 | [[#2bcb5ac0]] | "substr(?1, 1, ?2)" |
4 | 2 | [[#2bcb5ac0]] | "ltrim(rtrim(?1))" |