Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.953 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 46 | src/NHibernate.Test/Join/JoinCompositeKeyTest.cs |
2 | 3 | 80 | src/NHibernate/Hql/Ast/ANTLR/Util/JoinProcessor.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]); } |
| ||||
for (int i = t.Count - 1; i >= 0; i--) { fromElements.Add(t[i]); } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6feba900]] | t |
1 | 2 | [[#6feba900]] | objectsNeedDeleting |
2 | 1 | [[#6feba840]] | fromElements |
2 | 2 | [[#6feba840]] | s |
3 | 1 | [[#6feba7e0]] | Add |
3 | 2 | [[#6feba7e0]] | Delete |