Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.958 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 74 | src/NHibernate/Dialect/FirebirdDialect.cs |
2 | 2 | 76 | src/NHibernate/Dialect/FirebirdDialect.cs |
| ||||
// Firebird server embedded functions RegisterFunction("today", new CastedFunction("today", NHibernateUtil.Date)); RegisterFunction("yesterday", new CastedFunction("yesterday", NHibernateUtil.Date)); |
| ||||
RegisterFunction("tomorrow", new CastedFunction("tomorrow", NHibernateUtil.Date)); RegisterFunction("now", new CastedFunction("now", NHibernateUtil.DateTime)); |
| |||
// Firebird server embedded functions RegisterFunction( [[#variable2bd29440]], new CastedFunction( [[#variable2bd29440]], NHibernateUtil.Date)); RegisterFunction( [[#variable2bcb4440]], new CastedFunction( [[#variable2bcb4440]], NHibernateUtil. [[#variable2bcb4420]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bd29440]] | "tomorrow" |
1 | 2 | [[#2bd29440]] | "today" |
2 | 1 | [[#2bcb4440]] | "now" |
2 | 2 | [[#2bcb4440]] | "yesterday" |
3 | 1 | [[#2bcb4420]] | DateTime |
3 | 2 | [[#2bcb4420]] | Date |