CloneSet12


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
142701.000statement_list[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113127
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
214142
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
313158
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
413174
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
513189
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
613204
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
713219
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
813234
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
913249
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1013264
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1113279
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1213294
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1313309
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1413358
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1514373
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1614428
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1714444
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1813497
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
1914514
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2013566
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2114583
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2213635
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2313651
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2414668
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2513750
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2613766
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
2714783
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
Clone Instance
1
Line Count
13
Source Line
127
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
2
Line Count
14
Source Line
142
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // update a property to make sure it picks up that it is dirty
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
3
Line Count
13
Source Line
158
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
4
Line Count
13
Source Line
174
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
5
Line Count
13
Source Line
189
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
6
Line Count
13
Source Line
204
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
7
Line Count
13
Source Line
219
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
8
Line Count
13
Source Line
234
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
9
Line Count
13
Source Line
249
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
10
Line Count
13
Source Line
264
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
11
Line Count
13
Source Line
279
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
12
Line Count
13
Source Line
294
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // make sure the previous updates went through
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
13
Line Count
13
Source Line
309
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
14
Line Count
13
Source Line
358
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // change the array to a new array so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
15
Line Count
14
Source Line
373
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
16
Line Count
14
Source Line
428
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // modify the array to a new array so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
17
Line Count
14
Source Line
444
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
18
Line Count
13
Source Line
497
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // change the List to a new List so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
19
Line Count
14
Source Line
514
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
20
Line Count
13
Source Line
566
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // change the List to a new List so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
21
Line Count
14
Source Line
583
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
22
Line Count
13
Source Line
635
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // add an item to the list
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
23
Line Count
13
Source Line
651
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // change the List to a new List so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
24
Line Count
14
Source Line
668
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
25
Line Count
13
Source Line
750
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // add an item to the list
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
26
Line Count
13
Source Line
766
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;

                        // change the List to a new List so it is recreated
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone Instance
27
Line Count
14
Source Line
783
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        s[index].Update(bc[index]);

                        t[index].Commit();
                        s[index].Close();

                        index++;


                        // VERIFY PREVIOUS UPDATE & PERFORM DELETE 
                        s[index] = OpenSession();
                        t[index] = s[index].BeginTransaction();

                        bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id);
                        AssertPropertiesEqual(bc[index - 1], bc[index]);


Clone AbstractionParameter Count: 0Parameter Bindings

s[index].Update(bc[index]);
t[index].Commit();
s[index].Close();
index++;
// VERIFY PREVIOUS UPDATE & PERFORM DELETE 
// change the List to a new List so it is recreated
// add an item to the list
// modify the array to a new array so it is recreated
// change the array to a new array so it is recreated
// make sure the previous updates went through
// update a property to make sure it picks up that it is dirty
s[index] = OpenSession();
t[index] = s[index].BeginTransaction();
bc[index] = (BasicClass)s[index].Load( typeof(BasicClass), id);
AssertPropertiesEqual(bc[index - 1], bc[index]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None