CloneSet2000


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.958statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1754
src/NHibernate/Persister/Collection/BasicCollectionPersister.cs
2777
src/NHibernate/Persister/Collection/OneToManyPersister.cs
Clone Instance
1
Line Count
7
Source Line
54
Source File
src/NHibernate/Persister/Collection/BasicCollectionPersister.cs

                        if (HasWhere)
                                delete.AddWhereFragment(sqlWhereString);

                        if (Factory.Settings.IsCommentsEnabled)
                                delete.SetComment("delete collection " + Role);

                        return delete.ToSqlCommandInfo();


Clone Instance
2
Line Count
7
Source Line
77
Source File
src/NHibernate/Persister/Collection/OneToManyPersister.cs

                        if (HasWhere)
                                update.AddWhereFragment(sqlWhereString);

                        if (Factory.Settings.IsCommentsEnabled)
                                update.SetComment("delete one-to-many " + Role);

                        return update.ToSqlCommandInfo();


Clone AbstractionParameter Count: 2Parameter Bindings

if (HasWhere)
    [[#variable6fa99d60]].AddWhereFragment(sqlWhereString);
if (Factory.Settings.IsCommentsEnabled)
    [[#variable6fa99d60]].SetComment( [[#variable6fa9aee0]]+ Role);
return [[#variable6fa99d60]].ToSqlCommandInfo();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fa99d60]]
delete 
12[[#6fa99d60]]
update 
21[[#6fa9aee0]]
"delete collection " 
22[[#6fa9aee0]]
"delete one-to-many "