Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 4 | 0.969 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 86 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
2 | 5 | 95 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
3 | 5 | 104 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
4 | 5 | 113 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
| ||||
{ Property property = GenerateIdProperty(); IGetter getter = PropertyAccessorFactory.GetPropertyAccessor(property, EntityMode.Xml).GetGetter(null, null); var id = (long) getter.Get(dom); Assert.That(id, Is.EqualTo(123L)); } |
| ||||
{ Property property = GenerateAccountIdProperty(); IGetter getter = PropertyAccessorFactory.GetPropertyAccessor(property, EntityMode.Xml).GetGetter(null, null); var id = (long) getter.Get(dom); Assert.That(id, Is.EqualTo(456L)); } |
| ||||
{ Property property = GenerateNameProperty(); IGetter getter = PropertyAccessorFactory.GetPropertyAccessor(property, EntityMode.Xml).GetGetter(null, null); var name = (string) getter.Get(dom); Assert.That(name, Is.EqualTo("NHForge")); } |
| ||||
{ Property property = GenerateTextProperty(); IGetter getter = PropertyAccessorFactory.GetPropertyAccessor(property, EntityMode.Xml).GetGetter(null, null); var name = (string) getter.Get(dom); Assert.That(name, Is.EqualTo("description...")); } |
| |||
{ Property property = [[#variable6f4f0ae0]](); IGetter getter = PropertyAccessorFactory.GetPropertyAccessor(property, EntityMode.Xml).GetGetter(null, null); var [[#variable6f4f0940]]= ( [[#variable703ee660]])getter.Get(dom); Assert.That( [[#variable6f4f0940]], Is.EqualTo( [[#variable6f4f0840]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f4f0ae0]] | GenerateIdProperty |
1 | 2 | [[#6f4f0ae0]] | GenerateAccountIdProperty |
1 | 3 | [[#6f4f0ae0]] | GenerateNameProperty |
1 | 4 | [[#6f4f0ae0]] | GenerateTextProperty |
2 | 1 | [[#6f4f0940]] | id |
2 | 2 | [[#6f4f0940]] | id |
2 | 3 | [[#6f4f0940]] | name |
2 | 4 | [[#6f4f0940]] | name |
3 | 1 | [[#703ee660]] | long |
3 | 2 | [[#703ee660]] | long |
3 | 3 | [[#703ee660]] | string |
3 | 4 | [[#703ee660]] | string |
4 | 1 | [[#6f4f0840]] | 123L |
4 | 2 | [[#6f4f0840]] | 456L |
4 | 3 | [[#6f4f0840]] | "NHForge" |
4 | 4 | [[#6f4f0840]] | "description..." |