Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.974 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 696 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
2 | 2 | 780 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| ||||
Type type = (Type) rewrite.createCopyTarget(tempDeclarationStatement.getType()); statement.setType(type); |
| ||||
Type type = (Type) rewrite.createCopyTarget(vds.getType()); fieldDeclaration.setType(type); |
| |||
Type type = (Type) rewrite.createCopyTarget( [[#variableb9e039e0]].getType()); [[#variableb9e03b40]].setType(type); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9e039e0]] | tempDeclarationStatement |
1 | 2 | [[#b9e039e0]] | vds |
2 | 1 | [[#b9e03b40]] | statement |
2 | 2 | [[#b9e03b40]] | fieldDeclaration |