CloneSet440


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5820.959statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15242
src/NHibernate/Engine/Loading/CollectionLoadContext.cs
2552
src/NHibernate/Engine/TwoPhaseLoad.cs
3524
src/NHibernate/Event/Default/DefaultInitializeCollectionEventListener.cs
45334
src/NHibernate/Event/Default/DefaultLoadEventListener.cs
56406
src/NHibernate/Hql/Ast/ANTLR/Loader/QueryLoader.cs
661296
src/NHibernate/Hql/Classic/QueryTranslator.cs
75193
src/NHibernate/Impl/MultiCriteriaImpl.cs
85478
src/NHibernate/Impl/MultiQueryImpl.cs
Clone Instance
1
Line Count
5
Source Line
242
Source File
src/NHibernate/Engine/Loading/CollectionLoadContext.cs

                        bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;
                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
2
Line Count
5
Source Line
52
Source File
src/NHibernate/Engine/TwoPhaseLoad.cs

                        //TODO: Should this be an InitializeEntityEventListener??? (watch out for performance!)

      bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;
                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
3
Line Count
5
Source Line
24
Source File
src/NHibernate/Event/Default/DefaultInitializeCollectionEventListener.cs

                        bool statsEnabled = source.Factory.Statistics.IsStatisticsEnabled;
                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
4
Line Count
5
Source Line
334
Source File
src/NHibernate/Event/Default/DefaultLoadEventListener.cs

                        bool statsEnabled = source.Factory.Statistics.IsStatisticsEnabled;
                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
5
Line Count
6
Source Line
406
Source File
src/NHibernate/Hql/Ast/ANTLR/Loader/QueryLoader.cs

                        bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;

                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
6
Line Count
6
Source Line
1296
Source File
src/NHibernate/Hql/Classic/QueryTranslator.cs

                        bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;

                        var stopWath = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWath.Start();
                        }


Clone Instance
7
Line Count
5
Source Line
193
Source File
src/NHibernate/Impl/MultiCriteriaImpl.cs

                        bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;
                        var stopWatch = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWatch.Start();
                        }


Clone Instance
8
Line Count
5
Source Line
478
Source File
src/NHibernate/Impl/MultiQueryImpl.cs

                        bool statsEnabled = session.Factory.Statistics.IsStatisticsEnabled;
                        var stopWatch = new Stopwatch();
                        if (statsEnabled)
                        {
                                stopWatch.Start();
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

//TODO: Should this be an InitializeEntityEventListener??? (watch out for performance!)
bool statsEnabled = [[#variable6e562960]].Factory.Statistics.IsStatisticsEnabled;
var [[#variable55d1eb20]]= new Stopwatch();
if (statsEnabled)
{
    [[#variable55d1eb20]].Start();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e562960]]
session 
12[[#6e562960]]
source 
13[[#6e562960]]
session 
14[[#6e562960]]
session 
15[[#6e562960]]
session 
16[[#6e562960]]
session 
17[[#6e562960]]
session 
18[[#6e562960]]
source 
21[[#55d1eb20]]
stopWatch 
22[[#55d1eb20]]
stopWath 
23[[#55d1eb20]]
stopWath 
24[[#55d1eb20]]
stopWatch 
25[[#55d1eb20]]
stopWath 
26[[#55d1eb20]]
stopWath 
27[[#55d1eb20]]
stopWath 
28[[#55d1eb20]]
stopWath