CloneSet4143


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2240.964statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12559
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
22561
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
Clone Instance
1
Line Count
2
Source Line
559
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                                Expression expression = node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node).getExpression():  ((ForStatement) node).getExpression();
                                IRegion expressionRegion = createRegion(expression, info.delta);


Clone Instance
2
Line Count
2
Source Line
561
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                                Statement body = node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node).getBody():  ((ForStatement) node).getBody();
                                IRegion bodyRegion = createRegion(body, info.delta);


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variable7d753880]]  [[#variable7d753820]]= node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node). [[#variable7d753780]](): ((ForStatement) node). [[#variable7d753780]]();
IRegion  [[#variable7d7536e0]]= createRegion( [[#variable7d753820]], info.delta);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d753880]]
Expression 
12[[#7d753880]]
Statement 
21[[#7d753820]]
expression 
22[[#7d753820]]
body 
31[[#7d753780]]
getExpression 
32[[#7d753780]]
getBody 
41[[#7d7536e0]]
expressionRegion 
42[[#7d7536e0]]
bodyRegion