CloneSet2575


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.972statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1545
src/NHibernate/Dialect/Lock/SelectLockingStrategy.cs
2558
src/NHibernate/Dialect/Lock/UpdateLockingStrategy.cs
Clone Instance
1
Line Count
5
Source Line
45
Source File
src/NHibernate/Dialect/Lock/SelectLockingStrategy.cs

                        if (factory.Settings.IsCommentsEnabled)
                        {
                                select.SetComment(lockMode + " lock " + lockable.EntityName);
                        }
                        return select.ToSqlString();


Clone Instance
2
Line Count
5
Source Line
58
Source File
src/NHibernate/Dialect/Lock/UpdateLockingStrategy.cs

                        if (factory.Settings.IsCommentsEnabled)
                        {
                                update.SetComment(lockMode + " lock " + lockable.EntityName);
                        }
                        return update.ToSqlString();


Clone AbstractionParameter Count: 1Parameter Bindings

if (factory.Settings.IsCommentsEnabled)
{
    [[#variable6f560440]].SetComment(lockMode + " lock " + lockable.EntityName);
}
return [[#variable6f560440]].ToSqlString();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f560440]]
select 
12[[#6f560440]]
update