CloneSet292


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5440.969block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1586
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs
2595
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs
35104
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs
45113
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs
Clone Instance
1
Line Count
5
Source Line
86
Source File
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));
                }


Clone Instance
2
Line Count
5
Source Line
95
Source File
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs

                {
                        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));
                }


Clone Instance
3
Line Count
5
Source Line
104
Source File
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs

                {
                        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"));
                }


Clone Instance
4
Line Count
5
Source Line
113
Source File
src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs

                {
                        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..."));
                }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f4f0ae0]]
GenerateIdProperty 
12[[#6f4f0ae0]]
GenerateAccountIdProperty 
13[[#6f4f0ae0]]
GenerateNameProperty 
14[[#6f4f0ae0]]
GenerateTextProperty 
21[[#6f4f0940]]
id 
22[[#6f4f0940]]
id 
23[[#6f4f0940]]
name 
24[[#6f4f0940]]
name 
31[[#703ee660]]
long 
32[[#703ee660]]
long 
33[[#703ee660]]
string 
34[[#703ee660]]
string 
41[[#6f4f0840]]
123L 
42[[#6f4f0840]]
456L 
43[[#6f4f0840]]
"NHForge" 
44[[#6f4f0840]]
"description..."