CloneSet1133


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.970statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19427
src/NHibernate/Hql/Ast/ANTLR/Loader/QueryLoader.cs
291312
src/NHibernate/Hql/Classic/QueryTranslator.cs
Clone Instance
1
Line Count
9
Source Line
427
Source File
src/NHibernate/Hql/Ast/ANTLR/Loader/QueryLoader.cs

                        if (statsEnabled)
                        {
                                stopWath.Stop();
                                session.Factory.StatisticsImplementor.QueryExecuted("HQL: " + _queryTranslator.QueryString, 0, stopWath.Elapsed);
                                // NH: Different behavior (H3.2 use QueryLoader in AST parser) we need statistic for orginal query too.
                                // probably we have a bug some where else for statistic RowCount
                                session.Factory.StatisticsImplementor.QueryExecuted(QueryIdentifier, 0, stopWath.Elapsed);
                        }
                        return result;


Clone Instance
2
Line Count
9
Source Line
1312
Source File
src/NHibernate/Hql/Classic/QueryTranslator.cs

                        if (statsEnabled)
                        {
                                stopWath.Stop();
                                session.Factory.StatisticsImplementor.QueryExecuted("HQL: " + queryString, 0, stopWath.Elapsed);
                                // NH: Different behavior (H3.2 use QueryLoader in AST parser) we need statistic for orginal query too.
                                // probably we have a bug some where else for statistic RowCount
                                session.Factory.StatisticsImplementor.QueryExecuted(QueryIdentifier, 0, stopWath.Elapsed);
                        }
                        return result;


Clone AbstractionParameter Count: 1Parameter Bindings

if (statsEnabled)
{
   stopWath.Stop();
   session.Factory.StatisticsImplementor.QueryExecuted("HQL: " + [[#variable28bcd320]], 0, stopWath.Elapsed);
   // NH: Different behavior (H3.2 use QueryLoader in AST parser) we need statistic for orginal query too.
   // probably we have a bug some where else for statistic RowCount
   session.Factory.StatisticsImplementor.QueryExecuted(QueryIdentifier, 0, stopWath.Elapsed);
}
return result;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28bcd320]]
queryString 
12[[#28bcd320]]
_queryTranslator.QueryString