Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.983 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2286 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 6 | 2332 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
| ||||
// add normal properties for (int i = 0; i < entityMetamodel.PropertySpan; i++) { if (includeProperty[i] && IsPropertyOfTable(i, j)) { // this property belongs on the table and is to be inserted builder.AddColumns(GetPropertyColumnNames(i), propertyColumnInsertable[i], PropertyTypes[i]); } } |
| ||||
// add normal properties for (int i = 0; i < entityMetamodel.PropertySpan; i++) { if (includeProperty[i] && IsPropertyOfTable(i, 0)) { // this property belongs on the table and is to be inserted insert.AddColumns(GetPropertyColumnNames(i), propertyColumnInsertable[i], PropertyTypes[i]); } } |
| |||
// add normal properties for (int i = 0; i < entityMetamodel.PropertySpan; i++) { if (includeProperty[i] && IsPropertyOfTable(i, [[#variable56b1c600]])) { [[#variable56b1c500]].AddColumns(GetPropertyColumnNames(i), propertyColumnInsertable[i], PropertyTypes[i]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56b1c600]] | 0 |
1 | 2 | [[#56b1c600]] | j |
2 | 1 | [[#56b1c500]] | // this property belongs on the table and is to be inserted insert |
2 | 2 | [[#56b1c500]] | // this property belongs on the table and is to be inserted builder |