Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 4 | 0.954 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 624 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
2 | 1 | 631 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
| ||||
final VariableDeclarationFragment oldField = ASTNodeSearchUtil.getFieldDeclarationFragmentNode((IField) infos[offset].getMember(), sourceRewriter.getRoot()); |
| ||||
final MethodDeclaration oldMethod = ASTNodeSearchUtil.getMethodDeclarationNode((IMethod) infos[offset].getMember(), sourceRewriter.getRoot()); |
| |||
final [[#variableb4ace100]] [[#variableb4ace020]]= ASTNodeSearchUtil. [[#variableb48b7f60]](( [[#variableb48b7e20]]) infos[offset].getMember(), sourceRewriter.getRoot()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4ace100]] | VariableDeclarationFragment |
1 | 2 | [[#b4ace100]] | MethodDeclaration |
2 | 1 | [[#b4ace020]] | oldField |
2 | 2 | [[#b4ace020]] | oldMethod |
3 | 1 | [[#b48b7f60]] | getFieldDeclarationFragmentNode |
3 | 2 | [[#b48b7f60]] | getMethodDeclarationNode |
4 | 1 | [[#b48b7e20]] | IField |
4 | 2 | [[#b48b7e20]] | IMethod |