CloneSet5798


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.960statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15484
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
25226
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractInterfaceWizard.java
Clone Instance
1
Line Count
5
Source Line
484
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                        for (int i = 0; i < classpathEntries.length; i++) {
                                if (classpathEntries[i].getEntryKind() == IClasspathEntry.CPE_SOURCE)
                                        return true;
                        }
                        return false;


Clone Instance
2
Line Count
5
Source Line
226
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractInterfaceWizard.java

                        for (int i = 0; i < members.length; i++) {
                                if (members[i].getElementType() == IJavaElement.METHOD)
                                        return true;
                        }
                        return false;


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variable8f3a5880]].length; i++) {
  if ( [[#variable8f3a5880]][i]. [[#variable8f3a58c0]]() == [[#variable8f3a5820]]. [[#variable8f3a5020]])
    return true;
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8f3a5880]]
members 
12[[#8f3a5880]]
classpathEntries 
21[[#8f3a58c0]]
getElementType 
22[[#8f3a58c0]]
getEntryKind 
31[[#8f3a5820]]
IJavaElement 
32[[#8f3a5820]]
IClasspathEntry 
41[[#8f3a5020]]
METHOD 
42[[#8f3a5020]]
CPE_SOURCE