CloneSet1454


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.992non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11184
src/NHibernate.Test/NHSpecificTest/Futures/FutureCriteriaFixture.cs
21084
src/NHibernate.Test/NHSpecificTest/Futures/FutureQueryFixture.cs
Clone Instance
1
Line Count
11
Source Line
84
Source File
src/NHibernate.Test/NHSpecificTest/Futures/FutureCriteriaFixture.cs

                                using ( var logSpy = new SqlLogSpy())
                                {
                                        int count = personCount.Value;

                                        foreach ( var person in persons)
                                        {
                                        }


                                        var events = logSpy.Appender.GetEvents();
                                        Assert.AreEqual(1, events.Length);
                                }


Clone Instance
2
Line Count
10
Source Line
84
Source File
src/NHibernate.Test/NHSpecificTest/Futures/FutureQueryFixture.cs

                using ( var logSpy = new SqlLogSpy())
                {
                    long count = personCount.Value;

                    foreach ( var person in persons)
                    {
                    }

                    var events = logSpy.Appender.GetEvents();
                    Assert.AreEqual(1, events.Length);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

using ( var logSpy = new SqlLogSpy())
{
    [[#variable286ecc60]]count = personCount.Value;
   foreach ( var person in persons)
   {
   }
   var events = logSpy.Appender.GetEvents();
   Assert.AreEqual(1, events.Length);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#286ecc60]]
long 
12[[#286ecc60]]
int