CloneSet4620


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.980statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15248
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
25272
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
33285
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
Clone Instance
1
Line Count
5
Source Line
248
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                                        codeStream.addVisibleLocalVariable(this.elementVariable.binding);
                                        if (this.postCollectionInitStateIndex != -1) {
                                                codeStream.addDefinitelyAssignedVariables(
                                                        currentScope, 
                                                        this.postCollectionInitStateIndex);
                                        }


Clone Instance
2
Line Count
5
Source Line
272
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                                        codeStream.addVisibleLocalVariable(this.elementVariable.binding);
                                        if (this.postCollectionInitStateIndex != -1) {
                                                codeStream.addDefinitelyAssignedVariables(
                                                        currentScope, 
                                                        this.postCollectionInitStateIndex);
                                        }


Clone Instance
3
Line Count
3
Source Line
285
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                codeStream.removeVariable(this.elementVariable.binding);
                if (this.postCollectionInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(currentScope, this.postCollectionInitStateIndex);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

codeStream. [[#variable97a7cac0]](this.elementVariable.binding);
if (this.postCollectionInitStateIndex != -1) {
  codeStream. [[#variable97a7cb40]](currentScope, this.postCollectionInitStateIndex);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97a7cac0]]
addVisibleLocalVariable 
12[[#97a7cac0]]
removeVariable 
13[[#97a7cac0]]
addVisibleLocalVariable 
21[[#97a7cb40]]
addDefinitelyAssignedVariables 
22[[#97a7cb40]]
removeNotDefinitelyAssignedVariables 
23[[#97a7cb40]]
addDefinitelyAssignedVariables