CloneSet635


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10250.965block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110913
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
210930
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
Clone Instance
1
Line Count
10
Source Line
913
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                {
                        for (int i = 0; i < elementColumnIsSettable.Length; i++)
                        {
                                if (elementColumnIsSettable[i])
                                {
                                        frag.AddColumn(elemAlias, elementColumnNames[i], elementColumnAliases[i]);
                                }
                                else
                                {
                                        frag.AddFormula(elemAlias, elementFormulaTemplates[i], elementColumnAliases[i]);
                                }
                        }
                }


Clone Instance
2
Line Count
10
Source Line
930
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                        {
                                for (int i = 0; i < indexColumnIsSettable.Length; i++)
                                {
                                        if (indexColumnIsSettable[i])
                                        {
                                                frag.AddColumn(alias, indexColumnNames[i], indexColumnAliases[i]);
                                        }
                                        else
                                        {
                                                frag.AddFormula(alias, indexFormulaTemplates[i], indexColumnAliases[i]);
                                        }
                                }
                        }


Clone AbstractionParameter Count: 5Parameter Bindings

{
   for (int i = 0; i < [[#variable28c54b80]].Length; i++)
   {
      if ( [[#variable28c54b80]][i])
      {
         frag.AddColumn( [[#variable28c54b00]], [[#variable28c54a80]][i], [[#variable28c54a20]][i]);
      }
      else
      {
         frag.AddFormula( [[#variable28c54b00]], [[#variable28c549a0]][i], [[#variable28c54a20]][i]);
      }
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28c54b80]]
indexColumnIsSettable 
12[[#28c54b80]]
elementColumnIsSettable 
21[[#28c54b00]]
alias 
22[[#28c54b00]]
elemAlias 
31[[#28c54a80]]
indexColumnNames 
32[[#28c54a80]]
elementColumnNames 
41[[#28c54a20]]
indexColumnAliases 
42[[#28c54a20]]
elementColumnAliases 
51[[#28c549a0]]
indexFormulaTemplates 
52[[#28c549a0]]
elementFormulaTemplates