| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 2 | 0.955 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 281 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/Compiler.java |
| 2 | 2 | 167 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnitResolver.java |
| 3 | 1 | 630 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java |
| ||||
// Switch the current policy and compilation result for this unit to the requested one.
CompilationResult unitResult =
new CompilationResult(sourceUnit, totalUnits, totalUnits, this.options.maxProblemsPerUnit);
|
| ||||
CompilationResult unitResult =
new CompilationResult(sourceUnit, index++ , maxUnits, this.options.maxProblemsPerUnit);
|
| ||||
CompilationResult unitResult = new CompilationResult(sourceUnit, i, openablesLength, this.options.maxProblemsPerUnit); |
| |||
// Switch the current policy and compilation result for this unit to the requested one. CompilationResult unitResult = new CompilationResult(sourceUnit, [[#variablea52cbdc0]], [[#variablea52cbd40]], this.options.maxProblemsPerUnit); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a52cbdc0]] | totalUnits |
| 1 | 2 | [[#a52cbdc0]] | index++ |
| 1 | 3 | [[#a52cbdc0]] | i |
| 2 | 1 | [[#a52cbd40]] | totalUnits |
| 2 | 2 | [[#a52cbd40]] | maxUnits |
| 2 | 3 | [[#a52cbd40]] | openablesLength |