CloneSet768


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.990class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114215
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs
214232
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs
Clone Instance
1
Line Count
14
Source Line
215
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs

                public string RenderCollectionSelectFragment(int size, int k)
                {
                        if (_queryableCollection == null)
                        {
                                return "";
                        }
                        else
                        {
                                if (_collectionSuffix == null)
                                {
                                        _collectionSuffix = GenerateSuffix(size, k);
                                }
                                string fragment = _queryableCollection.SelectFragment(CollectionTableAlias, _collectionSuffix);
                                return TrimLeadingCommaAndSpaces(fragment);
                        }
                }



Clone Instance
2
Line Count
14
Source Line
232
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs

                public string RenderValueCollectionSelectFragment(int size, int k)
                {
                        if (_queryableCollection == null)
                        {
                                return "";
                        }
                        else
                        {
                                if (_collectionSuffix == null)
                                {
                                        _collectionSuffix = GenerateSuffix(size, k);
                                }
                                string fragment = _queryableCollection.SelectFragment(TableAlias, _collectionSuffix);
                                return TrimLeadingCommaAndSpaces(fragment);
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public string [[#variable5f49c980]](int size, int k)
{
   if (_queryableCollection == null)
   {
      return "";
   }
   else
   {
      if (_collectionSuffix == null)
      {
         _collectionSuffix = GenerateSuffix(size, k);
      }
      string fragment = _queryableCollection.SelectFragment( [[#variable5f49c920]], _collectionSuffix);
      return TrimLeadingCommaAndSpaces(fragment);
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f49c980]]
RenderValueCollectionSelectFragment 
12[[#5f49c980]]
RenderCollectionSelectFragment 
21[[#5f49c920]]
TableAlias 
22[[#5f49c920]]
CollectionTableAlias