CloneSet1471


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.960class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11024
src/NHibernate.Test/NHSpecificTest/NH1250/PolymorphicJoinFetchFixture.cs
21037
src/NHibernate.Test/NHSpecificTest/NH1250/PolymorphicJoinFetchFixture.cs
Clone Instance
1
Line Count
10
Source Line
24
Source File
src/NHibernate.Test/NHSpecificTest/NH1250/PolymorphicJoinFetchFixture.cs

                [Test]
                public void FetchUsingICriteria()
                {
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateCriteria( typeof(Party)).
                                         SetMaxResults(10).
                                         List();
                                tx.Commit();
                        }
                }



Clone Instance
2
Line Count
10
Source Line
37
Source File
src/NHibernate.Test/NHSpecificTest/NH1250/PolymorphicJoinFetchFixture.cs

                [Test]
                public void FetchUsingIQuery()
                {
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery("from Party").
                                         SetMaxResults(10).
                                         List();
                                tx.Commit();
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void [[#variable289cdc40]]()
{
   using (ISession s = OpenSession())
      using (ITransaction tx = s.BeginTransaction())
      {
         s. [[#variable289cdd20]]( [[#variable289cdd00]]).SetMaxResults(10).List();
         tx.Commit();
      }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#289cdc40]]
FetchUsingICriteria 
12[[#289cdc40]]
FetchUsingIQuery 
21[[#289cdd20]]
CreateCriteria 
22[[#289cdd20]]
CreateQuery 
31[[#289cdd00]]
typeof(Party) 
32[[#289cdd00]]
"from Party"