| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.961 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 247 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java |
| 2 | 5 | 253 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java |
| ||||
{
// from 1.5 on, use immediately enclosing type name
candidateName = CharOperation.concat(
localType.enclosingType.constantPoolName(),
String.valueOf(index + 1).toCharArray(),
'$' );
}
|
| ||||
{
candidateName = CharOperation.concat(
outerMostEnclosingType.constantPoolName(),
String.valueOf(index + 1).toCharArray(),
'$' );
}
|
| |||
{
// from 1.5 on, use immediately enclosing type name
candidateName = CharOperation.concat( [[#variable566dd620]].constantPoolName(), String.valueOf(index + 1).toCharArray(), '$');
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#566dd620]] | localType.enclosingType |
| 1 | 2 | [[#566dd620]] | outerMostEnclosingType |