Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 6 | 2 | 0.967 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 768 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
2 | 5 | 898 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
3 | 5 | 1097 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
4 | 5 | 1189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
5 | 5 | 405 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
6 | 5 | 517 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
// Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof IfStatement)) { return false; } IfStatement ifStatement = (IfStatement) statement; |
| ||||
// check that infix expression belongs to IfStatement Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof IfStatement)) { return false; } IfStatement ifStatement = (IfStatement) statement; |
| ||||
// check that infix expression belongs to IfStatement Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof IfStatement)) { return false; } IfStatement ifStatement = (IfStatement) statement; |
| ||||
// Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof IfStatement)) { return false; } IfStatement ifStatement = (IfStatement) statement; |
| ||||
Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof ExpressionStatement)) { return false; } ExpressionStatement expressionStatement = (ExpressionStatement) statement; |
| ||||
Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof IfStatement)) { return false; } IfStatement ifStatement = (IfStatement) statement; |
| |||
// check that infix expression belongs to IfStatement // Statement statement = ASTResolving.findParentStatement(node); if ( !(statement instanceof [[#variableb25ad560]])) { return false; } [[#variableb25ad560]] [[#variableb9453f60]]= ( [[#variableb25ad560]]) statement; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b25ad560]] | ExpressionStatement |
1 | 2 | [[#b25ad560]] | IfStatement |
1 | 3 | [[#b25ad560]] | IfStatement |
1 | 4 | [[#b25ad560]] | IfStatement |
1 | 5 | [[#b25ad560]] | IfStatement |
1 | 6 | [[#b25ad560]] | IfStatement |
2 | 1 | [[#b9453f60]] | expressionStatement |
2 | 2 | [[#b9453f60]] | ifStatement |
2 | 3 | [[#b9453f60]] | ifStatement |
2 | 4 | [[#b9453f60]] | ifStatement |
2 | 5 | [[#b9453f60]] | ifStatement |
2 | 6 | [[#b9453f60]] | ifStatement |