Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.960 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 447 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowAnalyzer.java |
2 | 3 | 660 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowAnalyzer.java |
3 | 2 | 962 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowAnalyzer.java |
| ||||
GenericSequentialFlowInfo info = createSequential(node); // first process right and side and then left hand side. info.merge(rhs, fFlowContext); |
| ||||
GenericSequentialFlowInfo info = createSequential(node); // first process value and then name. info.merge(value, fFlowContext); |
| ||||
// Normally we should do this in the parent node since the write access take place later. // But I couldn't come up with a case where this influences the flow analysis. So I kept // it here to simplify the code. GenericSequentialFlowInfo result = createSequential(node); result.merge(info, fFlowContext); |
| |||
// Normally we should do this in the parent node since the write access take place later. // But I couldn't come up with a case where this influences the flow analysis. So I kept // it here to simplify the code. GenericSequentialFlowInfo [[#variable60fad440]]= createSequential(node); [[#variable60fad440]].merge( [[#variable60fad3e0]], fFlowContext); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60fad440]] | info |
1 | 2 | [[#60fad440]] | result |
1 | 3 | [[#60fad440]] | info |
2 | 1 | [[#60fad3e0]] | rhs |
2 | 2 | [[#60fad3e0]] | info |
2 | 3 | [[#60fad3e0]] | value |