Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.955 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 37 | src/NHibernate.Test/DialectTest/DialectFixture.cs |
2 | 9 | 15 | src/NHibernate.Test/DialectTest/MsSqlDialectFixture.cs |
| ||||
[SetUp] public virtual void SetUp() { // Generic Dialect inherits all of the Quoting functions from // Dialect (which is abstract) d = new GenericDialect(); tableWithNothingToBeQuoted = new string[] { "plainname", "\"plainname\"" } ; tableAlreadyQuoted = new string[] { "\"Quote\"\"d[Na$`\"", "\"Quote\"\"d[Na$`\"", "Quote\"d[Na$`" } ; tableThatNeedsToBeQuoted = new string[] { "Quote\"d[Na$`", "\"Quote\"\"d[Na$`\"", "Quote\"d[Na$`" } ; } |
| ||||
[SetUp] public override void SetUp() { // Generic Dialect inherits all of the Quoting functions from // Dialect (which is abstract) d = new MsSql2000Dialect(); tableWithNothingToBeQuoted = new string[] { "plainname", "[plainname]" } ; tableAlreadyQuoted = new string[] { "[Quote[d[Na]]$`]", "[Quote[d[Na]]$`]", "Quote[d[Na]$`" } ; tableThatNeedsToBeQuoted = new string[] { "Quote[d[Na]$`", "[Quote[d[Na]]$`]", "Quote[d[Na]$`" } ; } |
| |||
[SetUp] public [[#variable68492fc0]]void SetUp() { // Generic Dialect inherits all of the Quoting functions from // Dialect (which is abstract) d = new [[#variable68492f00]](); tableWithNothingToBeQuoted = new string[] { "plainname", [[#variable68492f60]] } ; tableAlreadyQuoted = new string[] { [[#variable68492f40]], [[#variable68492f40]], [[#variable68492ee0]] } ; tableThatNeedsToBeQuoted = new string[] { [[#variable68492ee0]], [[#variable68492f40]], [[#variable68492ee0]] } ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#68492fc0]] | override |
1 | 2 | [[#68492fc0]] | virtual |
2 | 1 | [[#68492f00]] | MsSql2000Dialect |
2 | 2 | [[#68492f00]] | GenericDialect |
3 | 1 | [[#68492f60]] | "[plainname]" |
3 | 2 | [[#68492f60]] | "\"plainname\"" |
4 | 1 | [[#68492f40]] | "[Quote[d[Na]]$`]" |
4 | 2 | [[#68492f40]] | "\"Quote\"\"d[Na$`\"" |
5 | 1 | [[#68492ee0]] | "Quote[d[Na]$`" |
5 | 2 | [[#68492ee0]] | "Quote\"d[Na$`" |