Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 13 | 5 | 0.955 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 85 | src/NHibernate/Dialect/DB2Dialect.cs |
2 | 3 | 89 | src/NHibernate/Dialect/DB2Dialect.cs |
3 | 3 | 92 | src/NHibernate/Dialect/DB2Dialect.cs |
4 | 3 | 95 | src/NHibernate/Dialect/DB2Dialect.cs |
5 | 3 | 98 | src/NHibernate/Dialect/DB2Dialect.cs |
6 | 3 | 104 | src/NHibernate/Dialect/DB2Dialect.cs |
7 | 3 | 111 | src/NHibernate/Dialect/DB2Dialect.cs |
8 | 3 | 87 | src/NHibernate/Dialect/FirebirdDialect.cs |
9 | 3 | 80 | src/NHibernate/Dialect/InformixDialect.cs |
10 | 3 | 188 | src/NHibernate/Dialect/Oracle8iDialect.cs |
11 | 4 | 83 | src/NHibernate/Dialect/OracleLiteDialect.cs |
12 | 3 | 72 | src/NHibernate/Dialect/SybaseDialect.cs |
13 | 3 | 91 | src/NHibernate/Dialect/SybaseDialect.cs |
| ||||
RegisterFunction("julian_day", new StandardSQLFunction("julian_day", NHibernateUtil.Int32)); RegisterFunction("microsecond", new StandardSQLFunction("microsecond", NHibernateUtil.Int32)); RegisterFunction("midnight_seconds", new StandardSQLFunction("midnight_seconds", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("month", new StandardSQLFunction("month", NHibernateUtil.Int32)); RegisterFunction("monthname", new StandardSQLFunction("monthname", NHibernateUtil.String)); RegisterFunction("quarter", new StandardSQLFunction("quarter", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("hour", new StandardSQLFunction("hour", NHibernateUtil.Int32)); RegisterFunction("second", new StandardSQLFunction("second", NHibernateUtil.Int32)); RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.Date)); |
| ||||
RegisterFunction("day", new StandardSQLFunction("day", NHibernateUtil.Int32)); RegisterFunction("dayname", new StandardSQLFunction("dayname", NHibernateUtil.String)); RegisterFunction("dayofweek", new StandardSQLFunction("dayofweek", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("dayofweek_iso", new StandardSQLFunction("dayofweek_iso", NHibernateUtil.Int32)); RegisterFunction("dayofyear", new StandardSQLFunction("dayofyear", NHibernateUtil.Int32)); RegisterFunction("days", new StandardSQLFunction("days", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("week", new StandardSQLFunction("week", NHibernateUtil.Int32)); RegisterFunction("week_iso", new StandardSQLFunction("week_iso", NHibernateUtil.Int32)); RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("bigint", new StandardSQLFunction("bigint", NHibernateUtil.Int32)); RegisterFunction("char", new StandardSQLFunction("char", NHibernateUtil.Character)); RegisterFunction("integer", new StandardSQLFunction("integer", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("bin_and", new StandardSQLFunction("bin_and", NHibernateUtil.Int32)); RegisterFunction("bin_or", new StandardSQLFunction("bin_or", NHibernateUtil.Int32)); RegisterFunction("bin_xor", new StandardSQLFunction("bin_xor", NHibernateUtil.Int32)); |
| ||||
RegisterFunction("month", new StandardSQLFunction("month", NHibernateUtil.Int32)); RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32)); RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.DateTime)); |
| ||||
// Multi-param string dialect functions... RegisterFunction("instr", new StandardSQLFunction("instr", NHibernateUtil.Int32)); RegisterFunction("instrb", new StandardSQLFunction("instrb", NHibernateUtil.Int32)); RegisterFunction("lpad", new StandardSQLFunction("lpad", NHibernateUtil.String)); |
| ||||
RegisterFunction("ascii", new StandardSQLFunction("ascii", NHibernateUtil.Int32)); RegisterFunction("length", new StandardSQLFunction("length", NHibernateUtil.Int64)); RegisterFunction("to_char", new StandardSQLFunction("to_char", NHibernateUtil.String)); |
| ||||
RegisterFunction("ascii", new StandardSQLFunction("ascii", NHibernateUtil.Int32)); RegisterFunction("char", new StandardSQLFunction("char", NHibernateUtil.Character)); RegisterFunction("len", new StandardSQLFunction("len", NHibernateUtil.Int64)); |
| ||||
RegisterFunction("day", new StandardSQLFunction("day", NHibernateUtil.Int32)); RegisterFunction("month", new StandardSQLFunction("month", NHibernateUtil.Int32)); RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32)); |
| |||
// Multi-param string dialect functions... RegisterFunction( [[#variable6f5281c0]], new StandardSQLFunction( [[#variable6f5281c0]], NHibernateUtil.Int32)); RegisterFunction( [[#variable6f522ca0]], new StandardSQLFunction( [[#variable6f522ca0]], NHibernateUtil. [[#variable6f5230c0]])); RegisterFunction( [[#variable2c25bf60]], new StandardSQLFunction( [[#variable2c25bf60]], NHibernateUtil. [[#variable52db2fa0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f5281c0]] | "ascii" |
1 | 2 | [[#6f5281c0]] | "day" |
1 | 3 | [[#6f5281c0]] | "month" |
1 | 4 | [[#6f5281c0]] | "ascii" |
1 | 5 | [[#6f5281c0]] | "day" |
1 | 6 | [[#6f5281c0]] | "month" |
1 | 7 | [[#6f5281c0]] | "instr" |
1 | 8 | [[#6f5281c0]] | "bin_and" |
1 | 9 | [[#6f5281c0]] | "julian_day" |
1 | 10 | [[#6f5281c0]] | "hour" |
1 | 11 | [[#6f5281c0]] | "dayofweek_iso" |
1 | 12 | [[#6f5281c0]] | "week" |
1 | 13 | [[#6f5281c0]] | "bigint" |
2 | 1 | [[#6f522ca0]] | "char" |
2 | 2 | [[#6f522ca0]] | "month" |
2 | 3 | [[#6f522ca0]] | "year" |
2 | 4 | [[#6f522ca0]] | "length" |
2 | 5 | [[#6f522ca0]] | "dayname" |
2 | 6 | [[#6f522ca0]] | "monthname" |
2 | 7 | [[#6f522ca0]] | "instrb" |
2 | 8 | [[#6f522ca0]] | "bin_or" |
2 | 9 | [[#6f522ca0]] | "microsecond" |
2 | 10 | [[#6f522ca0]] | "second" |
2 | 11 | [[#6f522ca0]] | "dayofyear" |
2 | 12 | [[#6f522ca0]] | "week_iso" |
2 | 13 | [[#6f522ca0]] | "char" |
3 | 1 | [[#6f5230c0]] | Character |
3 | 2 | [[#6f5230c0]] | Int32 |
3 | 3 | [[#6f5230c0]] | Int32 |
3 | 4 | [[#6f5230c0]] | Int64 |
3 | 5 | [[#6f5230c0]] | String |
3 | 6 | [[#6f5230c0]] | String |
3 | 7 | [[#6f5230c0]] | Int32 |
3 | 8 | [[#6f5230c0]] | Int32 |
3 | 9 | [[#6f5230c0]] | Int32 |
3 | 10 | [[#6f5230c0]] | Int32 |
3 | 11 | [[#6f5230c0]] | Int32 |
3 | 12 | [[#6f5230c0]] | Int32 |
3 | 13 | [[#6f5230c0]] | Character |
4 | 1 | [[#2c25bf60]] | "len" |
4 | 2 | [[#2c25bf60]] | "year" |
4 | 3 | [[#2c25bf60]] | "date" |
4 | 4 | [[#2c25bf60]] | "to_char" |
4 | 5 | [[#2c25bf60]] | "dayofweek" |
4 | 6 | [[#2c25bf60]] | "quarter" |
4 | 7 | [[#2c25bf60]] | "lpad" |
4 | 8 | [[#2c25bf60]] | "bin_xor" |
4 | 9 | [[#2c25bf60]] | "midnight_seconds" |
4 | 10 | [[#2c25bf60]] | "date" |
4 | 11 | [[#2c25bf60]] | "days" |
4 | 12 | [[#2c25bf60]] | "year" |
4 | 13 | [[#2c25bf60]] | "integer" |
5 | 1 | [[#52db2fa0]] | Int64 |
5 | 2 | [[#52db2fa0]] | Int32 |
5 | 3 | [[#52db2fa0]] | DateTime |
5 | 4 | [[#52db2fa0]] | String |
5 | 5 | [[#52db2fa0]] | Int32 |
5 | 6 | [[#52db2fa0]] | Int32 |
5 | 7 | [[#52db2fa0]] | String |
5 | 8 | [[#52db2fa0]] | Int32 |
5 | 9 | [[#52db2fa0]] | Int32 |
5 | 10 | [[#52db2fa0]] | Date |
5 | 11 | [[#52db2fa0]] | Int32 |
5 | 12 | [[#52db2fa0]] | Int32 |
5 | 13 | [[#52db2fa0]] | Int32 |