Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.957 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 879 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
2 | 7 | 886 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
3 | 7 | 893 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
case ASTNode.WHILE_STATEMENT: ASTNode whileBody = ((WhileStatement) statement).getBody(); if ( !(whileBody instanceof Block)) { childProperty = WhileStatement.BODY_PROPERTY; child = whileBody; } break; |
| ||||
case ASTNode.FOR_STATEMENT: ASTNode forBody = ((ForStatement) statement).getBody(); if ( !(forBody instanceof Block)) { childProperty = ForStatement.BODY_PROPERTY; child = forBody; } break; |
| ||||
case ASTNode.DO_STATEMENT: ASTNode doBody = ((DoStatement) statement).getBody(); if ( !(doBody instanceof Block)) { childProperty = DoStatement.BODY_PROPERTY; child = doBody; } break; |
| |||
case ASTNode. [[#variable5a88c640]]: ASTNode [[#variable5a88c5c0]]= (( [[#variable5a88c540]]) statement).getBody(); if ( !( [[#variable5a88c5c0]]instanceof Block)) { childProperty = [[#variable5a88c540]].BODY_PROPERTY; child = [[#variable5a88c5c0]]; } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a88c640]] | WHILE_STATEMENT |
1 | 2 | [[#5a88c640]] | FOR_STATEMENT |
1 | 3 | [[#5a88c640]] | DO_STATEMENT |
2 | 1 | [[#5a88c5c0]] | whileBody |
2 | 2 | [[#5a88c5c0]] | forBody |
2 | 3 | [[#5a88c5c0]] | doBody |
3 | 1 | [[#5a88c540]] | WhileStatement |
3 | 2 | [[#5a88c540]] | ForStatement |
3 | 3 | [[#5a88c540]] | DoStatement |