Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 5 | 0.952 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 464 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java |
2 | 5 | 118 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.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); |
| ||||
int maxVariableId = LocalVariableIndex.perform(fMethodDeclaration); FlowContext flowContext = new FlowContext(0, maxVariableId + 1); flowContext.setConsiderAccessMode(false); flowContext.setComputeMode(FlowContext.ARGUMENTS); InOutFlowAnalyzer flowAnalyzer = new InOutFlowAnalyzer(flowContext); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0653c60]] | numberOfLocals |
1 | 2 | [[#a0653c60]] | maxVariableId |
2 | 1 | [[#bc258440]] | fDeclaration |
2 | 2 | [[#bc258440]] | fMethodDeclaration |
3 | 1 | [[#610bd820]] | context |
3 | 2 | [[#610bd820]] | flowContext |
4 | 1 | [[#57b744a0]] | true |
4 | 2 | [[#57b744a0]] | false |
5 | 1 | [[#bc259000]] | MERGE |
5 | 2 | [[#bc259000]] | ARGUMENTS |