Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 616 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
2 | 3 | 694 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
ListRewrite listRewrite = rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY); ASTNode first = (ASTNode) statements.get(0); ASTNode last = (ASTNode) statements.get(statements.size() - 1); |
| ||||
ListRewrite listRewrite = rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY); ASTNode first = (ASTNode) innerStatements.get(0); ASTNode last = (ASTNode) innerStatements.get(nStatements - 1); |
| |||
ListRewrite listRewrite = rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY); ASTNode first = (ASTNode) [[#variable54cebac0]].get(0); ASTNode last = (ASTNode) [[#variable54cebac0]].get( [[#variable54cebb20]] - 1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54cebac0]] | statements |
1 | 2 | [[#54cebac0]] | innerStatements |
2 | 1 | [[#54cebb20]] | statements.size() |
2 | 2 | [[#54cebb20]] | nStatements |