CloneSet3518


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5250.952statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15464
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java
25118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java
Clone Instance
1
Line Count
5
Source Line
464
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java

                int numberOfLocals = LocalVariableIndex.perform(fDeclaration);
                FlowContext context = new FlowContext(0, numberOfLocals + 1);
                context.setConsiderAccessMode(true);
                context.setComputeMode(FlowContext.MERGE);
                InOutFlowAnalyzer flowAnalyzer = new InOutFlowAnalyzer(context);


Clone Instance
2
Line Count
5
Source Line
118
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java

                                int maxVariableId = LocalVariableIndex.perform(fMethodDeclaration);
                                FlowContext flowContext = new FlowContext(0, maxVariableId + 1);
                                flowContext.setConsiderAccessMode(false);
                                flowContext.setComputeMode(FlowContext.ARGUMENTS);
                                InOutFlowAnalyzer flowAnalyzer = new InOutFlowAnalyzer(flowContext);


Clone AbstractionParameter Count: 5Parameter Bindings

int  [[#variablea0653c60]]= LocalVariableIndex.perform( [[#variablebc258440]]);
FlowContext  [[#variable610bd820]]= new FlowContext(0,  [[#variablea0653c60]] + 1);
 [[#variable610bd820]].setConsiderAccessMode( [[#variable57b744a0]]);
 [[#variable610bd820]].setComputeMode(FlowContext. [[#variablebc259000]]);
InOutFlowAnalyzer flowAnalyzer = new InOutFlowAnalyzer( [[#variable610bd820]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0653c60]]
numberOfLocals 
12[[#a0653c60]]
maxVariableId 
21[[#bc258440]]
fDeclaration 
22[[#bc258440]]
fMethodDeclaration 
31[[#610bd820]]
context 
32[[#610bd820]]
flowContext 
41[[#57b744a0]]
true 
42[[#57b744a0]]
false 
51[[#bc259000]]
MERGE 
52[[#bc259000]]
ARGUMENTS