Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.970 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 28 | src/NHibernate.Test/ConnectionStringTest/NamedConnectionStringFixture.cs |
2 | 5 | 39 | src/NHibernate.Test/ConnectionStringTest/NamedConnectionStringFixture.cs |
| ||||
settings.Add(Environment.ConnectionStringName, "MyConStr"); MockConnectionProvider cp = new MockConnectionProvider(); cp.Configure(settings); Assert.AreEqual(conStr, cp.PublicConnectionString); |
| ||||
settings.Add(Environment.ConnectionStringName, "TestConnectionString"); MockConnectionProvider cp = new MockConnectionProvider(); cp.Configure(settings); Assert.AreEqual("TestConnectionString-TestConnectionString", cp.PublicConnectionString); |
| |||
settings.Add(Environment.ConnectionStringName, [[#variable272723a0]]); MockConnectionProvider cp = new MockConnectionProvider(); cp.Configure(settings); Assert.AreEqual( [[#variable27272360]], cp.PublicConnectionString); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#272723a0]] | "MyConStr" |
1 | 2 | [[#272723a0]] | "TestConnectionString" |
2 | 1 | [[#27272360]] | conStr |
2 | 2 | [[#27272360]] | "TestConnectionString-TestConnectionString" |