Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 2 | 2 | 0.987 | class_member_declarations[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 17 | src/NHibernate/Driver/OdbcDriver.cs |
2 | 23 | 19 | src/NHibernate/Driver/OleDbDriver.cs |
| ||||
public override IDbConnection CreateConnection() { return new OdbcConnection(); } public override IDbCommand CreateCommand() { return new OdbcCommand(); } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } |
| ||||
public override IDbConnection CreateConnection() { return new OleDbConnection(); } public override IDbCommand CreateCommand() { return new OleDbCommand(); } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } |
| |||
public override IDbConnection CreateConnection() { return new [[#variable26f8f6c0]](); } public override IDbCommand CreateCommand() { return new [[#variable26f9a8a0]](); } public override bool UseNamedPrefixInSql { get { return false; } } public override bool UseNamedPrefixInParameter { get { return false; } } public override string NamedPrefix { get { return String.Empty; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26f8f6c0]] | OdbcConnection |
1 | 2 | [[#26f8f6c0]] | OleDbConnection |
2 | 1 | [[#26f9a8a0]] | OdbcCommand |
2 | 2 | [[#26f9a8a0]] | OleDbCommand |