CloneSet3031


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.957statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14894
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
24528
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
4
Source Line
894
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.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);
                        }
                }


Clone Instance
2
Line Count
4
Source Line
528
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java

                        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);
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c6db6a0]]
offset 
12[[#9c6db6a0]]
i 
21[[#9c6db640]]
index 
22[[#9c6db640]]
j