CloneSet2053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4340.956statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14123
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java
24145
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java
34156
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java
Clone Instance
1
Line Count
4
Source Line
123
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java

                for (int i = 0; i < fCus.length; i++) {
                        ICompilationUnit cu = fCus[i];
                        if (canOverwrite(cu) && ! overwrite(cu, overwriteQuery))
                                cusToNotOverwrite.add(cu);
                }


Clone Instance
2
Line Count
4
Source Line
145
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java

                for (int i = 0; i < fFiles.length; i++) {
                        IFile file = fFiles[i];
                        if (canOverwrite(file) && ! overwrite(file, overwriteQuery))
                                filesToNotOverwrite.add(file);
                }


Clone Instance
3
Line Count
4
Source Line
156
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java

                for (int i = 0; i < fPackageFragments.length; i++) {
                        IPackageFragment pack = fPackageFragments[i];
                        if (canOverwrite(pack) && ! overwrite(pack, overwriteQuery))
                                toNotOverwrite.add(pack);
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variablea19539e0]].length; i++) {
   [[#variablea1953920]]  [[#variablea19538a0]]= [[#variablea19539e0]][i];
  if (canOverwrite( [[#variablea19538a0]]) && !overwrite( [[#variablea19538a0]], overwriteQuery))
     [[#variablea1953840]].add( [[#variablea19538a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a19539e0]]
fPackageFragments 
12[[#a19539e0]]
fFiles 
13[[#a19539e0]]
fCus 
21[[#a1953920]]
IPackageFragment 
22[[#a1953920]]
IFile 
23[[#a1953920]]
ICompilationUnit 
31[[#a19538a0]]
pack 
32[[#a19538a0]]
file 
33[[#a19538a0]]
cu 
41[[#a1953840]]
toNotOverwrite 
42[[#a1953840]]
filesToNotOverwrite 
43[[#a1953840]]
cusToNotOverwrite