Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.981 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 167 | src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs |
2 | 5 | 174 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e852760]] | index |
1 | 2 | [[#4e852760]] | uniquekey |
2 | 1 | [[#4e852660]] | GetOrCreateIndex |
2 | 2 | [[#4e852660]] | GetOrCreateUniqueKey |