CloneSet8857


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1230.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11284
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java
21971
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
Clone Instance
1
Line Count
1
Source Line
284
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java

                newFragment.setName(((SimpleName) ASTNode.copySubtree(rewrite.getAST(), oldFieldFragment.getName())));


Clone Instance
2
Line Count
1
Source Line
971
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                newMethod.setName(((SimpleName) ASTNode.copySubtree(targetRewrite.getAST(), oldMethod.getName())));


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variableba42a2a0]].setName(((SimpleName) ASTNode.copySubtree( [[#variableba42a220]].getAST(),  [[#variableba42a1a0]].getName())));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba42a2a0]]
newMethod 
12[[#ba42a2a0]]
newFragment 
21[[#ba42a220]]
targetRewrite 
22[[#ba42a220]]
rewrite 
31[[#ba42a1a0]]
oldMethod 
32[[#ba42a1a0]]
oldFieldFragment