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.968 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 699 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
2 | 2 | 707 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
| ||||
ImportDeclaration sourceNode = ASTNodeSearchUtil.getImportDeclarationNode(declaration, sourceCuNode); ImportDeclaration copiedNode = (ImportDeclaration) ASTNode.copySubtree(targetRewrite.getAST(), sourceNode); |
| ||||
PackageDeclaration sourceNode = ASTNodeSearchUtil.getPackageDeclarationNode(declaration, sourceCuNode); PackageDeclaration copiedNode = (PackageDeclaration) ASTNode.copySubtree(targetRewrite.getAST(), sourceNode); |
| |||
[[#variable7dd23860]] sourceNode = ASTNodeSearchUtil. [[#variable7dd23d00]](declaration, sourceCuNode); [[#variable7dd23860]] copiedNode = ( [[#variable7dd23860]]) ASTNode.copySubtree(targetRewrite.getAST(), sourceNode); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7dd23860]] | PackageDeclaration |
1 | 2 | [[#7dd23860]] | ImportDeclaration |
2 | 1 | [[#7dd23d00]] | getPackageDeclarationNode |
2 | 2 | [[#7dd23d00]] | getImportDeclarationNode |