Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 4 | 0.975 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 1 | src/NHibernate.Test/SqlTest/Custom/Firebird/FireBirdTest.cs |
2 | 20 | 1 | src/NHibernate.Test/SqlTest/Custom/MsSQL/MSSQLTest.cs |
| ||||
using System.Collections; using NHibernate.Dialect; using NUnit.Framework; namespace NHibernate.Test.SqlTest.Custom.Firebird { [TestFixture] public class FireBirdTest : CustomStoredProcSupportTest { protected override IList Mappings { get { return new [] { "SqlTest.Custom.Firebird.FireBirdEmployment.hbm.xml" } ; } } protected override bool AppliesTo(Dialect.Dialect dialect) { return dialect is FirebirdDialect; } } } |
| ||||
using System.Collections; using NHibernate.Dialect; using NUnit.Framework; namespace NHibernate.Test.SqlTest.Custom.MsSQL { [TestFixture] public class MSSQLTest : CustomStoredProcSupportTest { protected override IList Mappings { get { return new [] { "SqlTest.Custom.MsSQL.MSSQLEmployment.hbm.xml" } ; } } protected override bool AppliesTo(Dialect.Dialect dialect) { return dialect is MsSql2000Dialect; } } } |
| |||
using System.Collections; using NHibernate.Dialect; using NUnit.Framework; namespace NHibernate.Test.SqlTest.Custom. [[#variable66302a20]] { [TestFixture] public class [[#variable66302960]]: CustomStoredProcSupportTest { protected override IList Mappings { get { return new [] { [[#variable663028e0]] } ; } } protected override bool AppliesTo(Dialect.Dialect dialect) { return dialect is [[#variable66302880]]; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#66302a20]] | Firebird |
1 | 2 | [[#66302a20]] | MsSQL |
2 | 1 | [[#66302960]] | FireBirdTest |
2 | 2 | [[#66302960]] | MSSQLTest |
3 | 1 | [[#663028e0]] | "SqlTest.Custom.Firebird.FireBirdEmployment.hbm.xml" |
3 | 2 | [[#663028e0]] | "SqlTest.Custom.MsSQL.MSSQLEmployment.hbm.xml" |
4 | 1 | [[#66302880]] | FirebirdDialect |
4 | 2 | [[#66302880]] | MsSql2000Dialect |