Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.981 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 816 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
2 | 4 | 835 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| ||||
if (node.isDeclaration()) { fLocalDefinitions.add(typeBinding); } else if ( ! fLocalDefinitions.contains(typeBinding)) { fLocalReferencesToEnclosing.add(node); } |
| ||||
if (node.isDeclaration()) { fLocalDefinitions.add(binding); } else if ( ! fLocalDefinitions.contains(binding)) { fLocalReferencesToEnclosing.add(node); } |
| |||
if (node.isDeclaration()) { fLocalDefinitions.add( [[#variable55f8acc0]]); } else if ( !fLocalDefinitions.contains( [[#variable55f8acc0]])) { fLocalReferencesToEnclosing.add(node); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55f8acc0]] | typeBinding |
1 | 2 | [[#55f8acc0]] | binding |