| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 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 | 85 | src/NHibernate/Dialect/SybaseDialect.cs |
| 2 | 3 | 87 | src/NHibernate/Dialect/SybaseDialect.cs |
| ||||
RegisterFunction("current_timestamp", new NoArgSQLFunction("getdate", NHibernateUtil.DateTime));
RegisterFunction("current_time", new NoArgSQLFunction("getdate", NHibernateUtil.Time));
|
| ||||
RegisterFunction("current_date", new NoArgSQLFunction("getdate", NHibernateUtil.Date));
RegisterFunction("getdate", new NoArgSQLFunction("getdate", NHibernateUtil.Timestamp));
|
| |||
RegisterFunction( [[#variable2bc32e00]], new NoArgSQLFunction("getdate", NHibernateUtil. [[#variable2bc32e40]]));
RegisterFunction( [[#variable2bc32ea0]], new NoArgSQLFunction("getdate", NHibernateUtil. [[#variable2bc32e80]]));
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2bc32e00]] | "current_date" |
| 1 | 2 | [[#2bc32e00]] | "current_timestamp" |
| 2 | 1 | [[#2bc32e40]] | Date |
| 2 | 2 | [[#2bc32e40]] | DateTime |
| 3 | 1 | [[#2bc32ea0]] | "getdate" |
| 3 | 2 | [[#2bc32ea0]] | "current_time" |
| 4 | 1 | [[#2bc32e80]] | Timestamp |
| 4 | 2 | [[#2bc32e80]] | Time |