CloneSet327


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21220.989statement_list[15]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12133
src/NHibernate.Test/Subclass/SubclassFixture.cs
221124
src/NHibernate.Test/Subclass/SubclassFixture.cs
Clone Instance
1
Line Count
21
Source Line
33
Source File
src/NHibernate.Test/Subclass/SubclassFixture.cs

                        int oneId;
                        int baseId;

                        SubclassOne one1 = new SubclassOne();

                        one1.TestDateTime = new DateTime(2003, 10, 17);
                        one1.TestString = "the test one string";
                        one1.TestLong = 6;
                        one1.OneTestLong = 1;

                        oneId = (int) s1.Save(one1);

                        SubclassBase base1 = new SubclassBase();
                        base1.TestDateTime = new DateTime(2003, 10, 17);
                        base1.TestString = "the test string";
                        base1.TestLong = 5;

                        baseId = (int) s1.Save(base1);

                        t1.Commit();
                        s1.Close();


Clone Instance
2
Line Count
21
Source Line
124
Source File
src/NHibernate.Test/Subclass/SubclassFixture.cs

                        int oneId;
                        int baseId;

                        SubclassOne one1 = new SubclassOne();

                        one1.TestDateTime = new DateTime(2003, 10, 17);
                        one1.TestString = "the test one string";
                        one1.TestLong = 6;
                        one1.OneTestLong = 1;

                        oneId = (int) s.Save(one1);

                        SubclassBase base1 = new SubclassBase();
                        base1.TestDateTime = new DateTime(2003, 10, 17);
                        base1.TestString = "the test string";
                        base1.TestLong = 5;

                        baseId = (int) s.Save(base1);

                        t.Commit();
                        s.Close();


Clone AbstractionParameter Count: 2Parameter Bindings

int oneId;
int baseId;
SubclassOne one1 = new SubclassOne();
one1.TestDateTime = new DateTime(2003, 10, 17);
one1.TestString = "the test one string";
one1.TestLong = 6;
one1.OneTestLong = 1;
oneId = (int) [[#variable5eb2eac0]].Save(one1);
SubclassBase base1 = new SubclassBase();
base1.TestDateTime = new DateTime(2003, 10, 17);
base1.TestString = "the test string";
base1.TestLong = 5;
baseId = (int) [[#variable5eb2eac0]].Save(base1);
 [[#variable5eb2ea60]].Commit();
 [[#variable5eb2eac0]].Close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5eb2eac0]]
s 
12[[#5eb2eac0]]
s1 
21[[#5eb2ea60]]
t 
22[[#5eb2ea60]]
t1