CloneSet2175


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.953non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1346
src/NHibernate.Test/Join/JoinCompositeKeyTest.cs
2380
src/NHibernate/Hql/Ast/ANTLR/Util/JoinProcessor.cs
Clone Instance
1
Line Count
3
Source Line
46
Source File
src/NHibernate.Test/Join/JoinCompositeKeyTest.cs

                                // Delete the objects in reverse order because it is
                                // less likely to violate foreign key constraints.
                                for (int i = objectsNeedDeleting.Count - 1; i >= 0; i--)
                                {
                                        s.Delete(objectsNeedDeleting[i]);
                                }


Clone Instance
2
Line Count
3
Source Line
80
Source File
src/NHibernate/Hql/Ast/ANTLR/Util/JoinProcessor.cs

                                for (int i = t.Count - 1; i >= 0; i--)
                                {
                                        fromElements.Add(t[i]);
                                }


Clone AbstractionParameter Count: 3Parameter Bindings

// Delete the objects in reverse order because it is
// less likely to violate foreign key constraints.
for (int i = [[#variable6feba900]].Count - 1; i >= 0; i--)
{
    [[#variable6feba840]]. [[#variable6feba7e0]]( [[#variable6feba900]][i]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6feba900]]
t 
12[[#6feba900]]
objectsNeedDeleting 
21[[#6feba840]]
fromElements 
22[[#6feba840]]
s 
31[[#6feba7e0]]
Add 
32[[#6feba7e0]]
Delete