CloneSet1178


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5420.973non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1511
src/NHibernate.Test/NHSpecificTest/NH1343/ProductFixture.cs
2538
src/NHibernate.Test/NHSpecificTest/NH1574/StatelessTest.cs
3536
src/NHibernate.Test/NHSpecificTest/NH1635/Fixture.cs
4562
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs
Clone Instance
1
Line Count
5
Source Line
11
Source File
src/NHibernate.Test/NHSpecificTest/NH1343/ProductFixture.cs

                        using (ISession session = OpenSession())
                        {
                                session.Delete("from OrderLine");
                                session.Delete("from Product");
                                session.Flush();
                        }


Clone Instance
2
Line Count
5
Source Line
38
Source File
src/NHibernate.Test/NHSpecificTest/NH1574/StatelessTest.cs

                        // cleanup
                        using (ISession session = OpenSession())
                        {
                                session.Delete("from SpecializedTeamStorage");
                                session.Delete("from SpecializedPrincipal");
                                session.Flush();
                        }


Clone Instance
3
Line Count
5
Source Line
36
Source File
src/NHibernate.Test/NHSpecificTest/NH1635/Fixture.cs

                        using (ISession session = OpenSession())
                        {
                                session.Delete("from ForumMessage");
                                session.Delete("from ForumThread");
                                session.Flush();
                        }


Clone Instance
4
Line Count
5
Source Line
62
Source File
src/NHibernate.Test/SecondLevelCacheTest/SecondLevelCacheTest.cs

                        using (ISession session = OpenSession())
                        {
                                session.Delete("from Item"); //cleaning up
                                session.Delete("from AnotherItem"); //cleaning up
                                session.Flush();
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

// cleanup
using (ISession session = OpenSession())
{
   session.Delete( [[#variable2b4db8e0]]); //cleaning up
   session.Delete( [[#variable2b4db7a0]]); //cleaning up
   session.Flush();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2b4db8e0]]
"from Item" 
12[[#2b4db8e0]]
"from ForumMessage" 
13[[#2b4db8e0]]
"from SpecializedTeamStorage" 
14[[#2b4db8e0]]
"from OrderLine" 
21[[#2b4db7a0]]
"from AnotherItem" 
22[[#2b4db7a0]]
"from ForumThread" 
23[[#2b4db7a0]]
"from SpecializedPrincipal" 
24[[#2b4db7a0]]
"from Product"