| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 2 | 0.966 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 128 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LabeledStatement.java |
| 2 | 6 | 256 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ReturnStatement.java |
| ||||
public void traverse(
ASTVisitor visitor,
BlockScope blockScope) {
if (visitor.visit(this, blockScope)) {
if (this.statement != null) this.statement.traverse(visitor, blockScope);
}
visitor.endVisit(this, blockScope);
}
|
| ||||
public void traverse(ASTVisitor visitor, BlockScope scope) {
if (visitor.visit(this, scope)) {
if (this.expression != null)
this.expression.traverse(visitor, scope);
}
visitor.endVisit(this, scope);
}
|
| |||
public void traverse(ASTVisitor visitor, BlockScope [[#variablea3fff200]]) {
if (visitor.visit(this, [[#variablea3fff200]])) {
if (this. [[#variablea3fff060]]!= null)
this. [[#variablea3fff060]].traverse(visitor, [[#variablea3fff200]]);
}
visitor.endVisit(this, [[#variablea3fff200]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a3fff200]] | scope |
| 1 | 2 | [[#a3fff200]] | blockScope |
| 2 | 1 | [[#a3fff060]] | expression |
| 2 | 2 | [[#a3fff060]] | statement |