CloneSet3142


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.980statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13401
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java
23335
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java
Clone Instance
1
Line Count
3
Source Line
401
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java

                                final String name = JavaModelUtil.getRenamedCUName(fSubType.getCompilationUnit(), fSuperName);
                                final ICompilationUnit original = fSubType.getPackageFragment().getCompilationUnit(name);
                                final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor, 20));


Clone Instance
2
Line Count
3
Source Line
335
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java

                                final String name = JavaModelUtil.getRenamedCUName(declaring.getCompilationUnit(), fTypeName);
                                final ICompilationUnit original = declaring.getPackageFragment().getCompilationUnit(name);
                                final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor, 10));


Clone AbstractionParameter Count: 3Parameter Bindings

final String name = JavaModelUtil.getRenamedCUName( [[#variable7dce48a0]].getCompilationUnit(),  [[#variable536eeb00]]);
final ICompilationUnit original = [[#variable7dce48a0]].getPackageFragment().getCompilationUnit(name);
final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor,  [[#variable7dce52a0]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7dce48a0]]
fSubType 
12[[#7dce48a0]]
declaring 
21[[#536eeb00]]
fSuperName 
22[[#536eeb00]]
fTypeName 
31[[#7dce52a0]]
20 
32[[#7dce52a0]]
10