Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 894 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java |
2 | 4 | 528 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java |
| ||||
for (int i = 0; i < members.length; i++) { for (int j = 0; j < infos.length; j++) { if (infos[j].getMember().equals(members[i])) infos[j].setAction(action); } } |
| ||||
for (int offset = 0; offset < members.length; offset++) { for (int index = 0; index < infos.length; index++) { if (infos[index].getMember().equals(members[offset])) infos[index].setAction(action); } } |
| |||
for (int [[#variable9c6db6a0]]= 0; [[#variable9c6db6a0]] < members.length; [[#variable9c6db6a0]]++) { for (int [[#variable9c6db640]]= 0; [[#variable9c6db640]] < infos.length; [[#variable9c6db640]]++) { if (infos[ [[#variable9c6db640]]].getMember().equals(members[ [[#variable9c6db6a0]]])) infos[ [[#variable9c6db640]]].setAction(action); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c6db6a0]] | offset |
1 | 2 | [[#9c6db6a0]] | i |
2 | 1 | [[#9c6db640]] | index |
2 | 2 | [[#9c6db640]] | j |