Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.976 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 293 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java |
2 | 3 | 494 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java |
| ||||
Assignment assignment = ast.newAssignment(); assignment.setLeftHandSide((Expression) fRewriter.createCopyTarget(fragment.getName())); assignment.setRightHandSide((Expression) fRewriter.createCopyTarget(initializer)); |
| ||||
Assignment assignment = ast.newAssignment(); assignment.setLeftHandSide((Expression) rewrite.createCopyTarget(fragment.getName())); assignment.setRightHandSide((Expression) rewrite.createMoveTarget(initializer)); |
| |||
Assignment assignment = ast.newAssignment(); assignment.setLeftHandSide((Expression) [[#variable95e746c0]].createCopyTarget(fragment.getName())); assignment.setRightHandSide((Expression) [[#variable95e746c0]]. [[#variable95e74660]](initializer)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95e746c0]] | rewrite |
1 | 2 | [[#95e746c0]] | fRewriter |
2 | 1 | [[#95e74660]] | createMoveTarget |
2 | 2 | [[#95e74660]] | createCopyTarget |