CloneSet1793


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.952class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1835
src/NHibernate.Test/Join/NH1059Fixture.cs
2846
src/NHibernate.Test/Join/NH1059Fixture.cs
Clone Instance
1
Line Count
8
Source Line
35
Source File
src/NHibernate.Test/Join/NH1059Fixture.cs

                [Test]
                public void FetchJoin_ForNH1059()
                {
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                // This line would fail before the fix
                                s.CreateQuery("from Worker").List<Worker> ();
                        }
                }



Clone Instance
2
Line Count
8
Source Line
46
Source File
src/NHibernate.Test/Join/NH1059Fixture.cs

                [Test]
                public void FetchJoinWithCriteria_ForNH1059()
                {
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                // This line would fail before the fix
                                s.CreateCriteria( typeof(Worker)).List<Worker> ();
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void [[#variable27207c00]]()
{
   using (ISession s = OpenSession())
      using (ITransaction tx = s.BeginTransaction())
      {
         // This line would fail before the fix
         s. [[#variable27207b40]]( [[#variable27207b20]]).List<Worker> ();
      }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27207c00]]
FetchJoin_ForNH1059 
12[[#27207c00]]
FetchJoinWithCriteria_ForNH1059 
21[[#27207b40]]
CreateQuery 
22[[#27207b40]]
CreateCriteria 
31[[#27207b20]]
"from Worker" 
32[[#27207b20]]
typeof(Worker)