Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 2 | 0.994 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 35 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
2 | 10 | 47 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
3 | 11 | 59 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| ||||
[Test] public void LoadCompositeElementsWithWithSimpleHbmAliasInjection() { IDictionary<int, AreaStatistics> stats = CreateStatistics(); Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithSimpleHbmAliasInjection"); Assert.That(country, Is.Not.Null); Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys"); Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements"); CleanupWithPersons(); } |
| ||||
[Test] public void LoadCompositeElementsWithWithComplexHbmAliasInjection() { IDictionary<int, AreaStatistics> stats = CreateStatistics(); Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithComplexHbmAliasInjection"); Assert.That(country, Is.Not.Null); Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys"); Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements"); CleanupWithPersons(); } |
| ||||
[Test] public void LoadCompositeElementsWithWithCustomAliases() { IDictionary<int, AreaStatistics> stats = CreateStatistics(); Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithCustomAliases"); Assert.That(country, Is.Not.Null); Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys"); Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements"); CleanupWithPersons(); } |
| |||
[Test] public void [[#variable584b8260]]() { IDictionary<int, AreaStatistics> stats = CreateStatistics(); Country country = LoadCountryWithNativeSQL(CreateCountry(stats), [[#variable584b8240]]); Assert.That(country, Is.Not.Null); Assert.That((ICollection)country.Statistics.Keys, Is.EquivalentTo((ICollection)stats.Keys), "Keys"); Assert.That((ICollection)country.Statistics.Values, Is.EquivalentTo((ICollection)stats.Values), "Elements"); CleanupWithPersons(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584b8260]] | LoadCompositeElementsWithWithSimpleHbmAliasInjection |
1 | 2 | [[#584b8260]] | LoadCompositeElementsWithWithComplexHbmAliasInjection |
1 | 3 | [[#584b8260]] | LoadCompositeElementsWithWithCustomAliases |
2 | 1 | [[#584b8240]] | "LoadAreaStatisticsWithSimpleHbmAliasInjection" |
2 | 2 | [[#584b8240]] | "LoadAreaStatisticsWithComplexHbmAliasInjection" |
2 | 3 | [[#584b8240]] | "LoadAreaStatisticsWithCustomAliases" |