CloneSet311


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16330.962statement_list[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11636
src/NHibernate.Test/TypesTest/BooleanTypeFixture.cs
21635
src/NHibernate.Test/TypesTest/ByteTypeFixture.cs
31644
src/NHibernate.Test/TypesTest/GuidTypeFixture.cs
Clone Instance
1
Line Count
16
Source Line
36
Source File
src/NHibernate.Test/TypesTest/BooleanTypeFixture.cs

                        basic.Id = 1;
                        basic.BooleanValue = true;

                        ISession s = OpenSession();
                        s.Save(basic);
                        s.Flush();
                        s.Close();

                        s = OpenSession();
                        basic = (BooleanClass) s.Load( typeof(BooleanClass), 1);

                        Assert.AreEqual(true, basic.BooleanValue);

                        s.Delete(basic);
                        s.Flush();
                        s.Close();


Clone Instance
2
Line Count
16
Source Line
35
Source File
src/NHibernate.Test/TypesTest/ByteTypeFixture.cs

                        basic.Id = 1;
                        basic.ByteValue = (byte) 43;

                        ISession s = OpenSession();
                        s.Save(basic);
                        s.Flush();
                        s.Close();

                        s = OpenSession();
                        basic = (ByteClass) s.Load( typeof(ByteClass), 1);

                        Assert.AreEqual((byte) 43, basic.ByteValue);

                        s.Delete(basic);
                        s.Flush();
                        s.Close();


Clone Instance
3
Line Count
16
Source Line
44
Source File
src/NHibernate.Test/TypesTest/GuidTypeFixture.cs

                        basic.Id = 1;
                        basic.GuidValue = val;

                        ISession s = OpenSession();
                        s.Save(basic);
                        s.Flush();
                        s.Close();

                        s = OpenSession();
                        basic = (GuidClass)s.Load( typeof(GuidClass), 1);

                        Assert.AreEqual(val, basic.GuidValue);

                        s.Delete(basic);
                        s.Flush();
                        s.Close();


Clone AbstractionParameter Count: 3Parameter Bindings

basic.Id = 1;
basic. [[#variable4ffb23c0]]= [[#variable50ce2d00]];
ISession s = OpenSession();
s.Save(basic);
s.Flush();
s.Close();
s = OpenSession();
basic = ( [[#variable4ffb2400]])s.Load( typeof( [[#variable4ffb2400]]), 1);
Assert.AreEqual( [[#variable50ce2d00]], basic. [[#variable4ffb23c0]]);
s.Delete(basic);
s.Flush();
s.Close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ffb23c0]]
BooleanValue 
12[[#4ffb23c0]]
ByteValue 
13[[#4ffb23c0]]
GuidValue 
21[[#50ce2d00]]
true 
22[[#50ce2d00]]
(byte)43 
23[[#50ce2d00]]
val 
31[[#4ffb2400]]
BooleanClass 
32[[#4ffb2400]]
ByteClass 
33[[#4ffb2400]]
GuidClass