Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.972 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 45 | src/NHibernate/Dialect/Lock/SelectLockingStrategy.cs |
2 | 5 | 58 | src/NHibernate/Dialect/Lock/UpdateLockingStrategy.cs |
| ||||
if (factory.Settings.IsCommentsEnabled) { select.SetComment(lockMode + " lock " + lockable.EntityName); } return select.ToSqlString(); |
| ||||
if (factory.Settings.IsCommentsEnabled) { update.SetComment(lockMode + " lock " + lockable.EntityName); } return update.ToSqlString(); |
| |||
if (factory.Settings.IsCommentsEnabled) { [[#variable6f560440]].SetComment(lockMode + " lock " + lockable.EntityName); } return [[#variable6f560440]].ToSqlString(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f560440]] | select |
1 | 2 | [[#6f560440]] | update |