CloneSet1059


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.981non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15167
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs
25174
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs
Clone Instance
1
Line Count
5
Source Line
167
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs

                                if (columnSchema.index != null && id.Table != null)
                                {
                                        var tokens = new StringTokenizer(columnSchema.index, ",", false);
                                        foreach (string token in tokens)
                                                id.Table.GetOrCreateIndex(token.Trim()).AddColumn(column);
                                }


Clone Instance
2
Line Count
5
Source Line
174
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs

                                if (columnSchema.uniquekey != null && id.Table != null)
                                {
                                        var tokens = new StringTokenizer(columnSchema.uniquekey, ",", false);
                                        foreach (string token in tokens)
                                                id.Table.GetOrCreateUniqueKey(token.Trim()).AddColumn(column);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (columnSchema. [[#variable4e852760]]!= null && id.Table != null)
{
   var tokens = new StringTokenizer(columnSchema. [[#variable4e852760]], ",", false);
   foreach (string token in tokens)
      id.Table. [[#variable4e852660]](token.Trim()).AddColumn(column);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e852760]]
index 
12[[#4e852760]]
uniquekey 
21[[#4e852660]]
GetOrCreateIndex 
22[[#4e852660]]
GetOrCreateUniqueKey