CloneSet3176


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.950statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18107
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java
28123
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java
Clone Instance
1
Line Count
8
Source Line
107
Source File
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;


Clone Instance
2
Line Count
8
Source Line
123
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java

        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;


Clone AbstractionParameter Count: 4Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4eba39c0]]
localIndex 
12[[#4eba39c0]]
subscopeCount 
21[[#ba607760]]
locals 
22[[#ba607760]]
subscopes 
31[[#ba607600]]
LocalVariableBinding 
32[[#ba607600]]
Scope 
41[[#4eba3a00]]
binding 
42[[#4eba3a00]]
childScope