CloneSet910


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16340.966block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116527
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs
217581
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs
317757
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs
Clone Instance
1
Line Count
16
Source Line
527
Source File
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs

                {
                        // NH Different behavior: we don't use the projection alias for NH-1023
                        try
                        {
                                return GetColumns(propertyName, subcriteria);
                        }
                        catch (HibernateException)
                        {
                                //not found in inner query , try the outer query
                                if (outerQueryTranslator != null)
                                {
                                        return outerQueryTranslator.GetColumnsUsingProjection(subcriteria, propertyName);
                                }
                                else
                                {
                                        throw;
                                }
                        }
                }


Clone Instance
2
Line Count
17
Source Line
581
Source File
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs

                        {
                                try
                                {
                                        //it does not refer to an alias of a projection,
                                        //look for a property
                                        return GetType(subcriteria, propertyName);
                                }
                                catch (HibernateException)
                                {
                                        //not found in inner query , try the outer query
                                        if (outerQueryTranslator != null)
                                        {
                                                return outerQueryTranslator.GetType(subcriteria, propertyName);
                                        }
                                        else
                                        {
                                                throw;
                                        }
                                }
                        }


Clone Instance
3
Line Count
17
Source Line
757
Source File
src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs

                        {
                                //it does not refer to an alias of a projection,
                                //look for a property
                                try
                                {
                                        return GetColumns(propertyName, subcriteria);
                                }
                                catch (HibernateException)
                                {
                                        //not found in inner query , try the outer query
                                        if (outerQueryTranslator != null)
                                        {
                                                return outerQueryTranslator.GetColumnAliasesUsingProjection(subcriteria, propertyName);
                                        }
                                        else
                                        {
                                                throw;
                                        }
                                }
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   // NH Different behavior: we don't use the projection alias for NH-1023
   //it does not refer to an alias of a projection,
   //look for a property
   try
   {
      //it does not refer to an alias of a projection,
      //look for a property
      return [[#variable56a82440]]( [[#variable56a824c0]], [[#variable56a8c4c0]]);
   }
   catch (HibernateException)
   {
      //not found in inner query , try the outer query
      if (outerQueryTranslator != null)
      {
         return outerQueryTranslator. [[#variable56a823c0]](subcriteria, propertyName);
      }
      else
      {
         throw;
      }
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56a82440]]
GetColumns 
12[[#56a82440]]
GetType 
13[[#56a82440]]
GetColumns 
21[[#56a824c0]]
propertyName 
22[[#56a824c0]]
subcriteria 
23[[#56a824c0]]
propertyName 
31[[#56a8c4c0]]
subcriteria 
32[[#56a8c4c0]]
propertyName 
33[[#56a8c4c0]]
subcriteria 
41[[#56a823c0]]
GetColumnsUsingProjection 
42[[#56a823c0]]
GetType 
43[[#56a823c0]]
GetColumnAliasesUsingProjection