Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.990 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 13 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
2 | 8 | 25 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| ||||
#region Tests - <return-join> [Test] public void LoadElementsWithWithSimpleHbmAliasInjection() { string[] routes = CreateRoutes(); Country country = LoadCountryWithNativeSQL(CreateCountry(routes), "LoadCountryRoutesWithSimpleHbmAliasInjection"); Assert.That(country, Is.Not.Null); Assert.That(country.Routes, Is.EquivalentTo(routes)); Cleanup(); } |
| ||||
[Test] public void LoadElementsWithExplicitColumnMappings() { string[] routes = CreateRoutes(); Country country = LoadCountryWithNativeSQL(CreateCountry(routes), "LoadCountryRoutesWithCustomAliases"); Assert.That(country, Is.Not.Null); Assert.That(country.Routes, Is.EquivalentTo(routes)); Cleanup(); } |
| |||
#region Tests - <return-join> [Test] public void [[#variable54af9900]]() { string[] routes = CreateRoutes(); Country country = LoadCountryWithNativeSQL(CreateCountry(routes), [[#variable54af9880]]); Assert.That(country, Is.Not.Null); Assert.That(country.Routes, Is.EquivalentTo(routes)); Cleanup(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54af9900]] | LoadElementsWithWithSimpleHbmAliasInjection |
1 | 2 | [[#54af9900]] | LoadElementsWithExplicitColumnMappings |
2 | 1 | [[#54af9880]] | "LoadCountryRoutesWithSimpleHbmAliasInjection" |
2 | 2 | [[#54af9880]] | "LoadCountryRoutesWithCustomAliases" |