Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 2 | 0.988 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 174 | src/NHibernate/Mapping/Component.cs |
2 | 16 | 193 | src/NHibernate/Mapping/Component.cs |
| ||||
public override bool[] ColumnInsertability { get { bool[] result = new bool[ColumnSpan]; int i = 0; foreach (Property prop in PropertyIterator) { bool[] chunk = prop.Value.ColumnInsertability; if (prop.IsInsertable) { System.Array.Copy(chunk, 0, result, i, chunk.Length); } i += chunk.Length; } return result; } } |
| ||||
public override bool[] ColumnUpdateability { get { bool[] result = new bool[ColumnSpan]; int i = 0; foreach (Property prop in PropertyIterator) { bool[] chunk = prop.Value.ColumnUpdateability; if (prop.IsUpdateable) { System.Array.Copy(chunk, 0, result, i, chunk.Length); } i += chunk.Length; } return result; } } |
| |||
public override bool[] [[#variable6f5ebce0]] { get { bool[] result = new bool[ColumnSpan]; int i = 0; foreach (Property prop in PropertyIterator) { bool[] chunk = prop.Value. [[#variable6f5ebce0]]; if (prop. [[#variable6f5ebc60]]) { System.Array.Copy(chunk, 0, result, i, chunk.Length); } i += chunk.Length; } return result; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f5ebce0]] | ColumnUpdateability |
1 | 2 | [[#6f5ebce0]] | ColumnInsertability |
2 | 1 | [[#6f5ebc60]] | IsUpdateable |
2 | 2 | [[#6f5ebc60]] | IsInsertable |