| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 6 | 0.955 | statement_list[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 204 | src/NHibernate/Dialect/Oracle8iDialect.cs |
| 2 | 4 | 213 | src/NHibernate/Dialect/Oracle8iDialect.cs |
| ||||
// Multi-param numeric dialect functions...
RegisterFunction("atan2", new StandardSQLFunction("atan2", NHibernateUtil.Single));
RegisterFunction("log", new StandardSQLFunction("log", NHibernateUtil.Int32));
RegisterFunction("mod", new StandardSQLFunction("mod", NHibernateUtil.Int32));
|
| ||||
RegisterFunction("months_between", new StandardSQLFunction("months_between", NHibernateUtil.Single));
RegisterFunction("next_day", new StandardSQLFunction("next_day", NHibernateUtil.Date));
RegisterFunction("str", new StandardSQLFunction("to_char", NHibernateUtil.String));
|
| |||
// Multi-param numeric dialect functions... RegisterFunction( [[#variable27ff82c0]], new StandardSQLFunction( [[#variable27ff82c0]], NHibernateUtil.Single)); RegisterFunction( [[#variable27ff84e0]], new StandardSQLFunction( [[#variable27ff84e0]], NHibernateUtil. [[#variable4709ee00]])); RegisterFunction( [[#variable4709ee20]], new StandardSQLFunction( [[#variable27ff8320]], NHibernateUtil. [[#variable27ff82e0]])); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#27ff82c0]] | "months_between" |
| 1 | 2 | [[#27ff82c0]] | "atan2" |
| 2 | 1 | [[#27ff84e0]] | "next_day" |
| 2 | 2 | [[#27ff84e0]] | "log" |
| 3 | 1 | [[#4709ee00]] | Date |
| 3 | 2 | [[#4709ee00]] | Int32 |
| 4 | 1 | [[#4709ee20]] | "str" |
| 4 | 2 | [[#4709ee20]] | "mod" |
| 5 | 1 | [[#27ff8320]] | "to_char" |
| 5 | 2 | [[#27ff8320]] | "mod" |
| 6 | 1 | [[#27ff82e0]] | String |
| 6 | 2 | [[#27ff82e0]] | Int32 |