Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.967 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 269 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java |
2 | 3 | 272 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java |
| ||||
{ SwitchStatement block = (SwitchStatement) ASTNodes.getParent(startNode, SwitchStatement.class ); statements = block.statements(); } |
| ||||
{ Block block = (Block) ASTNodes.getParent(startNode, Block.class ); statements = block.statements(); } |
| |||
{ [[#variable4ff7c8a0]] block = ( [[#variable4ff7c8a0]]) ASTNodes.getParent(startNode, [[#variable4ff7c8a0]].class ); statements = block.statements(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ff7c8a0]] | SwitchStatement |
1 | 2 | [[#4ff7c8a0]] | Block |