Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.980 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 248 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java |
2 | 5 | 272 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java |
3 | 3 | 285 | 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); } |
| ||||
codeStream.addVisibleLocalVariable(this.elementVariable.binding); if (this.postCollectionInitStateIndex != -1) { codeStream.addDefinitelyAssignedVariables( currentScope, this.postCollectionInitStateIndex); } |
| ||||
codeStream.removeVariable(this.elementVariable.binding); if (this.postCollectionInitStateIndex != -1) { codeStream.removeNotDefinitelyAssignedVariables(currentScope, this.postCollectionInitStateIndex); } |
| |||
codeStream. [[#variable97a7cac0]](this.elementVariable.binding); if (this.postCollectionInitStateIndex != -1) { codeStream. [[#variable97a7cb40]](currentScope, this.postCollectionInitStateIndex); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97a7cac0]] | addVisibleLocalVariable |
1 | 2 | [[#97a7cac0]] | removeVariable |
1 | 3 | [[#97a7cac0]] | addVisibleLocalVariable |
2 | 1 | [[#97a7cb40]] | addDefinitelyAssignedVariables |
2 | 2 | [[#97a7cb40]] | removeNotDefinitelyAssignedVariables |
2 | 3 | [[#97a7cb40]] | addDefinitelyAssignedVariables |