| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 4 | 0.962 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 29 | src/NHibernate/Dialect/Schema/OracleMetaData.cs |
| 2 | 4 | 50 | src/NHibernate/Dialect/Schema/OracleMetaData.cs |
| ||||
{
string owner = string.IsNullOrEmpty(schemaPattern) ? null: schemaPattern;
var restrictions = new [] { owner, tableNamePattern, columnNamePattern
} ;
return Connection.GetSchema("Columns", restrictions);
}
|
| ||||
{
string owner = string.IsNullOrEmpty(schema) ? null: schema;
var restrictions = new [] { owner, table, null
} ;
return Connection.GetSchema("ForeignKeys", restrictions);
}
|
| |||
{
string owner = string.IsNullOrEmpty( [[#variable550e0ea0]]) ?
null: [[#variable550e0ea0]];
var restrictions = new []
{
owner, [[#variable550e0da0]], [[#variable550e0e00]]
} ;
return Connection.GetSchema( [[#variable550e0d60]], restrictions);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#550e0ea0]] | schema |
| 1 | 2 | [[#550e0ea0]] | schemaPattern |
| 2 | 1 | [[#550e0da0]] | table |
| 2 | 2 | [[#550e0da0]] | tableNamePattern |
| 3 | 1 | [[#550e0e00]] | null |
| 3 | 2 | [[#550e0e00]] | columnNamePattern |
| 4 | 1 | [[#550e0d60]] | "ForeignKeys" |
| 4 | 2 | [[#550e0d60]] | "Columns" |