CloneSet2075


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13335
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
23200
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/OthersWorkingSetUpdater.java
33349
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
43354
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
Clone Instance
1
Line Count
3
Source Line
335
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

                for (int i = 0; i < array.length; i++) {
                        if ( ! list.contains(array[i]))
                                list.add(array[i]);
                }


Clone Instance
2
Line Count
3
Source Line
200
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/OthersWorkingSetUpdater.java

                        for (int i = 0; i < rProjects.length; i++) {
                                if ( !projects.contains(rProjects[i]))
                                        result.add(rProjects[i]);
                        }


Clone Instance
3
Line Count
3
Source Line
349
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java

                for (int i = 0; i < locals.length; i++) {
                        if ( !result.contains(locals[i]))
                                result.add(locals[i]);
                }


Clone Instance
4
Line Count
3
Source Line
354
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java

                for (int i = 0; i < globals.length; i++) {
                        if ( !result.contains(globals[i]))
                                result.add(globals[i]);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variableb4febde0]].length; i++) {
  if ( ! [[#variableb5220b40]].contains( [[#variableb4febde0]][i]))
     [[#variableb4febe60]].add( [[#variableb4febde0]][i]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4febde0]]
array 
12[[#b4febde0]]
rProjects 
13[[#b4febde0]]
globals 
14[[#b4febde0]]
locals 
21[[#b5220b40]]
list 
22[[#b5220b40]]
projects 
23[[#b5220b40]]
result 
24[[#b5220b40]]
result 
31[[#b4febe60]]
list 
32[[#b4febe60]]
result 
33[[#b4febe60]]
result 
34[[#b4febe60]]
result