Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 4 | 0.952 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 320 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java |
2 | 6 | 391 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java |
3 | 6 | 431 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.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; |
| ||||
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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51d105c0]] | localTypeCount |
1 | 2 | [[#51d105c0]] | taskCount |
1 | 3 | [[#51d105c0]] | problemCount |
2 | 1 | [[#4e345cc0]] | localTypes |
2 | 2 | [[#4e345cc0]] | tasks |
2 | 3 | [[#4e345cc0]] | problems |
3 | 1 | [[#51d116a0]] | LocalTypeBinding |
3 | 2 | [[#51d116a0]] | CategorizedProblem |
3 | 3 | [[#51d116a0]] | CategorizedProblem |
4 | 1 | [[#b8dbecc0]] | localType |
4 | 2 | [[#b8dbecc0]] | newProblem |
4 | 3 | [[#b8dbecc0]] | newProblem |