Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 5 | 0.957 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 121 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java |
2 | 3 | 232 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
| ||||
rewrite.replace(expression, newDecl, null); addLinkedPosition(rewrite.track(newDeclFrag.getName()), true, KEY_NAME); |
| ||||
rewrite.replace(assignment, newDecl, null); addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE); |
| |||
rewrite.replace( [[#variable5fdb7400]], newDecl, null); addLinkedPosition(rewrite.track( [[#variable5fdb73a0]]. [[#variable5fdb7220]]()), [[#variable5fdb72e0]], [[#variable5fdb6080]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fdb7400]] | expression |
1 | 2 | [[#5fdb7400]] | assignment |
2 | 1 | [[#5fdb73a0]] | newDeclFrag |
2 | 2 | [[#5fdb73a0]] | newDecl |
3 | 1 | [[#5fdb7220]] | getName |
3 | 2 | [[#5fdb7220]] | getType |
4 | 1 | [[#5fdb72e0]] | true |
4 | 2 | [[#5fdb72e0]] | false |
5 | 1 | [[#5fdb6080]] | KEY_NAME |
5 | 2 | [[#5fdb6080]] | KEY_TYPE |