Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.967 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 510 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
2 | 2 | 378 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
| ||||
for (int i = 0; i < replaceEdits.length; i++) { TextChangeCompatibility.addTextEdit(fChange, RefactoringCoreMessages.ExtractConstantRefactoring_replace, replaceEdits[i]); } |
| ||||
for (int i = 0; i < edits.length; i++) { TextChangeCompatibility.addTextEdit(change, RefactoringCoreMessages.ExtractTempRefactoring_replace, edits[i]); } |
| |||
for (int i = 0; i < [[#variable76bebfa0]].length; i++) { TextChangeCompatibility.addTextEdit( [[#variable76bebee0]], RefactoringCoreMessages. [[#variable76bebe60]], [[#variable76bebfa0]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76bebfa0]] | replaceEdits |
1 | 2 | [[#76bebfa0]] | edits |
2 | 1 | [[#76bebee0]] | fChange |
2 | 2 | [[#76bebee0]] | change |
3 | 1 | [[#76bebe60]] | ExtractConstantRefactoring_replace |
3 | 2 | [[#76bebe60]] | ExtractTempRefactoring_replace |