CloneSet785


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.962block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1742
src/NHibernate/SqlCommand/Parameter.cs
2758
src/NHibernate/Util/ArrayHelper.cs
3768
src/NHibernate/Util/ArrayHelper.cs
Clone Instance
1
Line Count
7
Source Line
42
Source File
src/NHibernate/SqlCommand/Parameter.cs

                {
                        Parameter[] result = new Parameter[count];
                        for (int i = 0; i < count; i++)
                        {
                                result[i] = Placeholder;
                        }
                        return result;
                }


Clone Instance
2
Line Count
7
Source Line
58
Source File
src/NHibernate/Util/ArrayHelper.cs

                {
                        LockMode[] result = new LockMode[length];
                        for (int i = 0; i < length; i++)
                        {
                                result[i] = lockMode;
                        }
                        return result;
                }


Clone Instance
3
Line Count
7
Source Line
68
Source File
src/NHibernate/Util/ArrayHelper.cs

                {
                        IType[] result = new IType[length];
                        for (int i = 0; i < length; i++)
                        {
                                result[i] = type;
                        }
                        return result;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

{
    [[#variable70b2f640]][] result = new [[#variable70b2f640]][ [[#variable70b2f360]]];
   for (int i = 0; i < [[#variable70b2f360]]; i++)
   {
      result[i] = [[#variable5270c7e0]];
   }
   return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70b2f640]]
LockMode 
12[[#70b2f640]]
IType 
13[[#70b2f640]]
Parameter 
21[[#70b2f360]]
length 
22[[#70b2f360]]
length 
23[[#70b2f360]]
count 
31[[#5270c7e0]]
lockMode 
32[[#5270c7e0]]
type 
33[[#5270c7e0]]
Placeholder