CloneSet3491


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

                for (int i = 0; i < fRoots.length; i++) {
                        IPackageFragmentRoot root = fRoots[i];
                        if (canOverwrite(root) && ! skip(root.getElementName(), overwriteQuery))
                                toNotOverwrite.add(root);
                }


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

                for (int i = 0; i < fFolders.length; i++) {
                        IFolder folder = fFolders[i];
                        if (canOverwrite(folder) && ! skip(folder.getName(), overwriteQuery))
                                foldersToNotOverwrite.add(folder);
                }


Clone AbstractionParameter Count: 5Parameter Bindings

for (int i = 0; i <  [[#variable61699ae0]].length; i++) {
   [[#variable61699a60]]  [[#variable616999e0]]= [[#variable61699ae0]][i];
  if (canOverwrite( [[#variable616999e0]]) && !skip( [[#variable616999e0]]. [[#variable61699980]](), overwriteQuery))
     [[#variable61699900]].add( [[#variable616999e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#61699ae0]]
fFolders 
12[[#61699ae0]]
fRoots 
21[[#61699a60]]
IFolder 
22[[#61699a60]]
IPackageFragmentRoot 
31[[#616999e0]]
folder 
32[[#616999e0]]
root 
41[[#61699980]]
getName 
42[[#61699980]]
getElementName 
51[[#61699900]]
foldersToNotOverwrite 
52[[#61699900]]
toNotOverwrite