CloneSet934


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4660.954statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14572
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
24274
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java
34284
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java
441015
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
541025
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
6472
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java
Clone Instance
1
Line Count
4
Source Line
572
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java

                for (int i = 0; i < items.length; i++) {
                        String curr = items[i];
                        if ( !commands.contains(curr)) {
                                commands.add(curr);
                        }
                }


Clone Instance
2
Line Count
4
Source Line
274
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java

                        for (int i = 0; i < argname.length; i++) {
                                String curr = argname[i];
                                if ( !res.contains(curr)) {
                                        res.add(curr);
                                }
                        }


Clone Instance
3
Line Count
4
Source Line
284
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java

                for (int i = 0; i < names.length; i++) {
                        String curr = names[i];
                        if ( !res.contains(curr)) {
                                res.add(curr);
                        }
                }


Clone Instance
4
Line Count
4
Source Line
1015
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java

                        for (int i = 0; i < argname.length; i++) {
                                String curr = argname[i];
                                if ( !res.contains(curr)) {
                                        res.add(curr);
                                }
                        }


Clone Instance
5
Line Count
4
Source Line
1025
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java

                for (int i = 0; i < names.length; i++) {
                        String curr = names[i];
                        if ( !res.contains(curr)) {
                                res.add(curr);
                        }
                }


Clone Instance
6
Line Count
4
Source Line
72
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java

                        for (int i = 0; i < existingEntries.length; i++) {
                                IPath curr = existingEntries[i];
                                if ( !curr.equals(initialEntry)) {
                                        fExistingEntries.add(curr);
                                }
                        }


Clone AbstractionParameter Count: 6Parameter Bindings

for (int i = 0; i <  [[#variableb57045a0]].length; i++) {
   [[#variableb5704540]] curr = [[#variableb57045a0]][i];
  if ( ! [[#variableb57044c0]]. [[#variableb5704420]]( [[#variableb57043a0]])) {
     [[#variableb5704340]].add(curr);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b57045a0]]
argname 
12[[#b57045a0]]
names 
13[[#b57045a0]]
items 
14[[#b57045a0]]
existingEntries 
15[[#b57045a0]]
argname 
16[[#b57045a0]]
names 
21[[#b5704540]]
String 
22[[#b5704540]]
String 
23[[#b5704540]]
String 
24[[#b5704540]]
IPath 
25[[#b5704540]]
String 
26[[#b5704540]]
String 
31[[#b57044c0]]
res 
32[[#b57044c0]]
res 
33[[#b57044c0]]
commands 
34[[#b57044c0]]
curr 
35[[#b57044c0]]
res 
36[[#b57044c0]]
res 
41[[#b5704420]]
contains 
42[[#b5704420]]
contains 
43[[#b5704420]]
contains 
44[[#b5704420]]
equals 
45[[#b5704420]]
contains 
46[[#b5704420]]
contains 
51[[#b57043a0]]
curr 
52[[#b57043a0]]
curr 
53[[#b57043a0]]
curr 
54[[#b57043a0]]
initialEntry 
55[[#b57043a0]]
curr 
56[[#b57043a0]]
curr 
61[[#b5704340]]
res 
62[[#b5704340]]
res 
63[[#b5704340]]
commands 
64[[#b5704340]]
fExistingEntries 
65[[#b5704340]]
res 
66[[#b5704340]]
res