CloneSet3102


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151140
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java
251838
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
Clone Instance
1
Line Count
5
Source Line
1140
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java

                                                                        final ITypeBinding[] superBindings = Bindings.getAllSuperTypes(subBinding);
                                                                        for (int index = 0; index < superBindings.length; index++) {
                                                                                name = superBindings[index].getName();
                                                                                if (name.startsWith(fDestinationType.getElementName()))
                                                                                        superBinding = superBindings[index];
                                                                        }


Clone Instance
2
Line Count
5
Source Line
1838
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                                                                final ITypeBinding[] superBindings = Bindings.getAllSuperTypes(subBinding);
                                                                for (int index = 0; index < superBindings.length; index++) {
                                                                        name = superBindings[index].getName();
                                                                        if (name.startsWith(fDestinationType.getElementName()))
                                                                                superBinding = superBindings[index];
                                                                }


Clone AbstractionParameter Count: 0Parameter Bindings

final ITypeBinding[] superBindings = Bindings.getAllSuperTypes(subBinding);
for (int index = 0; index < superBindings.length; index++) {
  name = superBindings[index].getName();
  if (name.startsWith(fDestinationType.getElementName()))
    superBinding = superBindings[index];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None