CloneSet4444


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.955statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14237
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceIndirectionInputPage.java
24240
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java
Clone Instance
1
Line Count
4
Source Line
237
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceIndirectionInputPage.java

                String destination = fIntermediaryTypeName.getText();
                if ( !fgIntermediaryTypes.remove(destination) && fgIntermediaryTypes.size() >= INTERMEDIARY_TYPE_COUNT)
                        fgIntermediaryTypes.remove(fgIntermediaryTypes.size() - 1);
                fgIntermediaryTypes.add(0, destination);


Clone Instance
2
Line Count
4
Source Line
240
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java

                                String destination = fDestinationField.getText();
                                if ( !fgMruDestinations.remove(destination) && fgMruDestinations.size() >= MRU_COUNT)
                                        fgMruDestinations.remove(fgMruDestinations.size() - 1);
                                fgMruDestinations.add(0, destination);


Clone AbstractionParameter Count: 3Parameter Bindings

String destination = [[#variable632be520]].getText();
if ( ! [[#variablea1599740]].remove(destination) && [[#variablea1599740]].size() >= [[#variable632be580]])
   [[#variablea1599740]].remove( [[#variablea1599740]].size() - 1);
 [[#variablea1599740]].add(0, destination);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#632be520]]
fDestinationField 
12[[#632be520]]
fIntermediaryTypeName 
21[[#a1599740]]
fgMruDestinations 
22[[#a1599740]]
fgIntermediaryTypes 
31[[#632be580]]
MRU_COUNT 
32[[#632be580]]
INTERMEDIARY_TYPE_COUNT