Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.957 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 427 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
2 | 3 | 433 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
AssignToVariableAssistProposal localProposal = new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal.LOCAL, expressionStatement, typeBinding, 2); localProposal.setCommandId(ASSIGN_TO_LOCAL_ID); resultingCollections.add(localProposal); |
| ||||
AssignToVariableAssistProposal fieldProposal = new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal.FIELD, expressionStatement, typeBinding, 1); fieldProposal.setCommandId(ASSIGN_TO_FIELD_ID); resultingCollections.add(fieldProposal); |
| |||
AssignToVariableAssistProposal [[#variable5a8eeba0]]= new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal. [[#variable5a8eeb20]], expressionStatement, typeBinding, [[#variable5469fba0]]); [[#variable5a8eeba0]].setCommandId( [[#variable5469fbc0]]); resultingCollections.add( [[#variable5a8eeba0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a8eeba0]] | localProposal |
1 | 2 | [[#5a8eeba0]] | fieldProposal |
2 | 1 | [[#5a8eeb20]] | LOCAL |
2 | 2 | [[#5a8eeb20]] | FIELD |
3 | 1 | [[#5469fba0]] | 2 |
3 | 2 | [[#5469fba0]] | 1 |
4 | 1 | [[#5469fbc0]] | ASSIGN_TO_LOCAL_ID |
4 | 2 | [[#5469fbc0]] | ASSIGN_TO_FIELD_ID |