CloneSet2115


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.978class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16205
src/NHibernate.Test/HQL/HQLFunctions.cs
268
src/NHibernate.Test/NHSpecificTest/NH1400/Fixture.cs
Clone Instance
1
Line Count
6
Source Line
205
Source File
src/NHibernate.Test/HQL/HQLFunctions.cs

                [Test]
                public void AggregatesAndMathNH959()
                {
                        using (ISession s = OpenSession())
                        {
                                Assert.DoesNotThrow(() => s.CreateQuery("select a.Id, sum(BodyWeight)/avg(BodyWeight) from Animal a group by a.Id having sum(BodyWeight)>0").List());
                        }
                }



Clone Instance
2
Line Count
6
Source Line
8
Source File
src/NHibernate.Test/NHSpecificTest/NH1400/Fixture.cs

                [Test]
                public void DotInStringLiteralsConstant()
                {
                        using (ISession s = OpenSession())
                        {
                                Assert.DoesNotThrow(() => s.CreateQuery("from SimpleGeographicalAddress as dga where dga.Line2 = 'B1 P9, Scb, Ap. 18'").List());
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable700e3240]]()
{
   using (ISession s = OpenSession())
   {
      Assert.DoesNotThrow(() => s.CreateQuery( [[#variable700e3120]]).List());
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#700e3240]]
DotInStringLiteralsConstant 
12[[#700e3240]]
AggregatesAndMathNH959 
21[[#700e3120]]
"from SimpleGeographicalAddress as dga where dga.Line2 = 'B1 P9, Scb, Ap. 18'" 
22[[#700e3120]]
"select a.Id, sum(BodyWeight)/avg(BodyWeight) from Animal a group by a.Id having sum(BodyWeight)>0"