Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.950 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 107 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java |
2 | 8 | 123 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java |
| ||||
// insert local in scope if (this.localIndex == this.locals.length) System.arraycopy( this.locals, 0, (this.locals = new LocalVariableBinding[this.localIndex * 2]), 0, this.localIndex); this.locals[this.localIndex++ ] = binding; |
| ||||
if (this.subscopeCount == this.subscopes.length) System.arraycopy( this.subscopes, 0, (this.subscopes = new Scope[this.subscopeCount * 2]), 0, this.subscopeCount); this.subscopes[this.subscopeCount++ ] = childScope; |
| |||
// insert local in scope if (this. [[#variable4eba39c0]]== this. [[#variableba607760]].length) System.arraycopy(this. [[#variableba607760]], 0, (this. [[#variableba607760]]= new [[#variableba607600]][this. [[#variable4eba39c0]] * 2]), 0, this. [[#variable4eba39c0]]); this. [[#variableba607760]][this. [[#variable4eba39c0]]++ ] = [[#variable4eba3a00]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4eba39c0]] | localIndex |
1 | 2 | [[#4eba39c0]] | subscopeCount |
2 | 1 | [[#ba607760]] | locals |
2 | 2 | [[#ba607760]] | subscopes |
3 | 1 | [[#ba607600]] | LocalVariableBinding |
3 | 2 | [[#ba607600]] | Scope |
4 | 1 | [[#4eba3a00]] | binding |
4 | 2 | [[#4eba3a00]] | childScope |