| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.954 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 377 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java |
| 2 | 4 | 382 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java |
| ||||
{
TypeDeclaration typeDeclaration = (TypeDeclaration) bodyDeclaration;
if ( !typeDeclaration.getName().getIdentifier().equals(fLastTypeName)) {
source.append(buildTypeDeclaration(null, typeDeclaration));
}
}
|
| ||||
{
EnumDeclaration enumDeclaration = (EnumDeclaration) bodyDeclaration;
if ( !enumDeclaration.getName().getIdentifier().equals(fLastTypeName)) {
source.append(buildEnumDeclaration(null, enumDeclaration));
}
}
|
| |||
{
[[#variable9c0dcde0]] [[#variable9c0dcd80]]= ( [[#variable9c0dcde0]]) bodyDeclaration;
if ( ! [[#variable9c0dcd80]].getName().getIdentifier().equals(fLastTypeName)) {
source.append( [[#variable9c0dcd00]](null, [[#variable9c0dcd80]]));
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9c0dcde0]] | TypeDeclaration |
| 1 | 2 | [[#9c0dcde0]] | EnumDeclaration |
| 2 | 1 | [[#9c0dcd80]] | typeDeclaration |
| 2 | 2 | [[#9c0dcd80]] | enumDeclaration |
| 3 | 1 | [[#9c0dcd00]] | buildTypeDeclaration |
| 3 | 2 | [[#9c0dcd00]] | buildEnumDeclaration |