CloneSet3002


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.957switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17879
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
27886
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
37893
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
Clone Instance
1
Line Count
7
Source Line
879
Source File
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;


Clone Instance
2
Line Count
7
Source Line
886
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                        case ASTNode.FOR_STATEMENT:
                                ASTNode forBody = ((ForStatement) statement).getBody();
                                if ( !(forBody instanceof Block)) {
                                        childProperty = ForStatement.BODY_PROPERTY;
                                        child = forBody;
                                }
                                break;


Clone Instance
3
Line Count
7
Source Line
893
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                        case ASTNode.DO_STATEMENT:
                                ASTNode doBody = ((DoStatement) statement).getBody();
                                if ( !(doBody instanceof Block)) {
                                        childProperty = DoStatement.BODY_PROPERTY;
                                        child = doBody;
                                }
                                break;


Clone AbstractionParameter Count: 3Parameter Bindings

case ASTNode. [[#variable5a88c640]]:
  ASTNode  [[#variable5a88c5c0]]= (( [[#variable5a88c540]]) statement).getBody();
  if ( !( [[#variable5a88c5c0]]instanceof Block)) {
    childProperty = [[#variable5a88c540]].BODY_PROPERTY;
    child = [[#variable5a88c5c0]];
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a88c640]]
WHILE_STATEMENT 
12[[#5a88c640]]
FOR_STATEMENT 
13[[#5a88c640]]
DO_STATEMENT 
21[[#5a88c5c0]]
whileBody 
22[[#5a88c5c0]]
forBody 
23[[#5a88c5c0]]
doBody 
31[[#5a88c540]]
WhileStatement 
32[[#5a88c540]]
ForStatement 
33[[#5a88c540]]
DoStatement