Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.964 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 625 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
2 | 2 | 404 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java |
3 | 2 | 343 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java |
| ||||
for (int i = 0; i < fragmentsToReplace.length; i++) result[i] = createReplaceEdit(fragmentsToReplace[i]); |
| ||||
for (int i = 0; i < references.length; i++) fReferences[i] = getQualifiedReference(references[i]); |
| ||||
for (int i = 0; i < referenceOffsets.length; i++) allRenameEdits[i] = createRenameEdit(referenceOffsets[i]); |
| |||
for (int i = 0; i < [[#variableb3d05ba0]].length; i++) [[#variableb3d05b20]][i] = [[#variableb3d05a80]]( [[#variableb3d05ba0]][i]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3d05ba0]] | fragmentsToReplace |
1 | 2 | [[#b3d05ba0]] | references |
1 | 3 | [[#b3d05ba0]] | referenceOffsets |
2 | 1 | [[#b3d05b20]] | result |
2 | 2 | [[#b3d05b20]] | fReferences |
2 | 3 | [[#b3d05b20]] | allRenameEdits |
3 | 1 | [[#b3d05a80]] | createReplaceEdit |
3 | 2 | [[#b3d05a80]] | getQualifiedReference |
3 | 3 | [[#b3d05a80]] | createRenameEdit |