CloneSet1098


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6340.952statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16320
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java
26391
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java
36431
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java
Clone Instance
1
Line Count
6
Source Line
320
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java

                if (this.localTypeCount == 0) {
                        this.localTypes = new LocalTypeBinding[5];
                }
                else   if (this.localTypeCount == this.localTypes.length) {
                        System.arraycopy(this.localTypes, 0, (this.localTypes = new LocalTypeBinding[this.localTypeCount * 2]), 0, this.localTypeCount);
                       }
                this.localTypes[this.localTypeCount++ ] = localType;


Clone Instance
2
Line Count
6
Source Line
391
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java

        if (this.problemCount == 0) {
                this.problems = new CategorizedProblem[5];
        }
        else   if (this.problemCount == this.problems.length) {
                System.arraycopy(this.problems, 0, (this.problems = new CategorizedProblem[this.problemCount * 2]), 0, this.problemCount);
               }
        this.problems[this.problemCount++ ] = newProblem;


Clone Instance
3
Line Count
6
Source Line
431
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java

        if (this.taskCount == 0) {
                this.tasks = new CategorizedProblem[5];
        }
        else   if (this.taskCount == this.tasks.length) {
                System.arraycopy(this.tasks, 0, (this.tasks = new CategorizedProblem[this.taskCount * 2]), 0, this.taskCount);
               }
        this.tasks[this.taskCount++ ] = newProblem;


Clone AbstractionParameter Count: 4Parameter Bindings

if (this. [[#variable51d105c0]]== 0) {
  this. [[#variable4e345cc0]]= new [[#variable51d116a0]][5];
}
else
  if (this. [[#variable51d105c0]]== this. [[#variable4e345cc0]].length) {
    System.arraycopy(this. [[#variable4e345cc0]], 0, (this. [[#variable4e345cc0]]= new [[#variable51d116a0]][this. [[#variable51d105c0]] * 2]), 0, this. [[#variable51d105c0]]);
  }
this. [[#variable4e345cc0]][this. [[#variable51d105c0]]++ ] = [[#variableb8dbecc0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#51d105c0]]
localTypeCount 
12[[#51d105c0]]
taskCount 
13[[#51d105c0]]
problemCount 
21[[#4e345cc0]]
localTypes 
22[[#4e345cc0]]
tasks 
23[[#4e345cc0]]
problems 
31[[#51d116a0]]
LocalTypeBinding 
32[[#51d116a0]]
CategorizedProblem 
33[[#51d116a0]]
CategorizedProblem 
41[[#b8dbecc0]]
localType 
42[[#b8dbecc0]]
newProblem 
43[[#b8dbecc0]]
newProblem