Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.958 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 54 | src/NHibernate/Persister/Collection/BasicCollectionPersister.cs |
2 | 7 | 77 | src/NHibernate/Persister/Collection/OneToManyPersister.cs |
| ||||
if (HasWhere) delete.AddWhereFragment(sqlWhereString); if (Factory.Settings.IsCommentsEnabled) delete.SetComment("delete collection " + Role); return delete.ToSqlCommandInfo(); |
| ||||
if (HasWhere) update.AddWhereFragment(sqlWhereString); if (Factory.Settings.IsCommentsEnabled) update.SetComment("delete one-to-many " + Role); return update.ToSqlCommandInfo(); |
| |||
if (HasWhere) [[#variable6fa99d60]].AddWhereFragment(sqlWhereString); if (Factory.Settings.IsCommentsEnabled) [[#variable6fa99d60]].SetComment( [[#variable6fa9aee0]]+ Role); return [[#variable6fa99d60]].ToSqlCommandInfo(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fa99d60]] | delete |
1 | 2 | [[#6fa99d60]] | update |
2 | 1 | [[#6fa9aee0]] | "delete collection " |
2 | 2 | [[#6fa9aee0]] | "delete one-to-many " |