CloneSet1016


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.970statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16645
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs
26654
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs
Clone Instance
1
Line Count
6
Source Line
645
Source File
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs

                        //figure out which columns are needed
                        List<int> columnNumbers = new List<int> ();
                        int[] columnTableNumbers = SubclassColumnTableNumberClosure;
                        for (int i = 0; i < SubclassColumnClosure.Length; i++)
                        {
                                if (tableNumbers.Contains(columnTableNumbers[i]))
                                        columnNumbers.Add(i);
                        }


Clone Instance
2
Line Count
6
Source Line
654
Source File
src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs

                        //figure out which formulas are needed
                        List<int> formulaNumbers = new List<int> ();
                        int[] formulaTableNumbers = SubclassColumnTableNumberClosure;
                        for (int i = 0; i < SubclassFormulaTemplateClosure.Length; i++)
                        {
                                if (tableNumbers.Contains(formulaTableNumbers[i]))
                                        formulaNumbers.Add(i);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

//figure out which columns are needed
//figure out which formulas are needed
List<int> [[#variable49b651a0]]= new List<int> ();
int[] [[#variable26e560e0]]= SubclassColumnTableNumberClosure;
for (int i = 0; i < [[#variable26e560a0]].Length; i++)
{
   if (tableNumbers.Contains( [[#variable26e560e0]][i]))
       [[#variable49b651a0]].Add(i);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#49b651a0]]
columnNumbers 
12[[#49b651a0]]
formulaNumbers 
21[[#26e560e0]]
columnTableNumbers 
22[[#26e560e0]]
formulaTableNumbers 
31[[#26e560a0]]
SubclassColumnClosure 
32[[#26e560a0]]
SubclassFormulaTemplateClosure