Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 6 | 0.968 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 36 | src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs |
2 | 7 | 56 | src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs |
3 | 7 | 89 | src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs |
| ||||
{ Table tbl = new Table(); tbl.Schema = "`schema`"; tbl.Name = "`name`"; Assert.AreEqual("\"schema_name\"", tbl.GetQualifiedName(dialect)); Assert.AreEqual("\"schema_table\"", dialect.Qualify("", "\"schema\"", "\"table\"")); } |
| ||||
{ Table tbl = new Table(); tbl.Schema = "`schema`"; tbl.Name = "name"; Assert.AreEqual("\"schema_name\"", tbl.GetQualifiedName(dialect)); Assert.AreEqual("\"schema_table\"", dialect.Qualify("", "\"schema\"", "table")); } |
| ||||
{ Table tbl = new Table(); tbl.Schema = "schema"; tbl.Name = "name"; Assert.AreEqual("schema_name", tbl.GetQualifiedName(dialect)); Assert.AreEqual("schema_table", dialect.Qualify("", "schema", "table")); } |
| |||
{ Table tbl = new Table(); tbl.Schema = [[#variable52d9daa0]]; tbl.Name = [[#variable52d9d9e0]]; Assert.AreEqual( [[#variable52d9d8c0]], tbl.GetQualifiedName(dialect)); Assert.AreEqual( [[#variable52d9d740]], dialect.Qualify("", [[#variable6e110460]], [[#variable52d9d620]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52d9daa0]] | "`schema`" |
1 | 2 | [[#52d9daa0]] | "schema" |
1 | 3 | [[#52d9daa0]] | "`schema`" |
2 | 1 | [[#52d9d9e0]] | "`name`" |
2 | 2 | [[#52d9d9e0]] | "name" |
2 | 3 | [[#52d9d9e0]] | "name" |
3 | 1 | [[#52d9d8c0]] | "\"schema_name\"" |
3 | 2 | [[#52d9d8c0]] | "schema_name" |
3 | 3 | [[#52d9d8c0]] | "\"schema_name\"" |
4 | 1 | [[#52d9d740]] | "\"schema_table\"" |
4 | 2 | [[#52d9d740]] | "schema_table" |
4 | 3 | [[#52d9d740]] | "\"schema_table\"" |
5 | 1 | [[#6e110460]] | "\"schema\"" |
5 | 2 | [[#6e110460]] | "schema" |
5 | 3 | [[#6e110460]] | "\"schema\"" |
6 | 1 | [[#52d9d620]] | "\"table\"" |
6 | 2 | [[#52d9d620]] | "table" |
6 | 3 | [[#52d9d620]] | "table" |