CloneSet1840


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6440.959statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16236
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java
26252
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java
37118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java
46250
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
Clone Instance
1
Line Count
6
Source Line
236
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java

                        for (int i = 0; i < javaElements.length; i++) {
                                IJavaElement element = javaElements[i];
                                if (isLinkedPackageOrPackageFragmentRoot(element))
                                        return true;
                        }
                        return false;


Clone Instance
2
Line Count
6
Source Line
252
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java

                        for (int i = 0; i < resources.length; i++) {
                                IResource resource = resources[i];
                                if (isLinked(resource))
                                        return true;
                        }
                        return false;


Clone Instance
3
Line Count
7
Source Line
118
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java

                for (int i = 0; i < objects.length; i++) {
                        Object element = objects[i];
                        if (isValideElement(element))
                                return true;
                }

                return false;


Clone Instance
4
Line Count
6
Source Line
250
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java

                for (int i = 0; i < exceptions.length; i++) {
                        ITypeBinding exception = exceptions[i];
                        if (matches(exception))
                                return true;
                }
                return false;


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variableb4b564e0]].length; i++) {
   [[#variableb4b56400]]  [[#variablebdd5ab00]]= [[#variableb4b564e0]][i];
  if ( [[#variableb4b563c0]]( [[#variablebdd5ab00]]))
    return true;
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4b564e0]]
javaElements 
12[[#b4b564e0]]
resources 
13[[#b4b564e0]]
exceptions 
14[[#b4b564e0]]
objects 
21[[#b4b56400]]
IJavaElement 
22[[#b4b56400]]
IResource 
23[[#b4b56400]]
ITypeBinding 
24[[#b4b56400]]
Object 
31[[#bdd5ab00]]
element 
32[[#bdd5ab00]]
resource 
33[[#bdd5ab00]]
exception 
34[[#bdd5ab00]]
element 
41[[#b4b563c0]]
isLinkedPackageOrPackageFragmentRoot 
42[[#b4b563c0]]
isLinked 
43[[#b4b563c0]]
matches 
44[[#b4b563c0]]
isValideElement