Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.961 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 239 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LocalDeclaration.java |
2 | 10 | 266 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java |
| ||||
public void traverse(ASTVisitor visitor, BlockScope scope) { if (visitor.visit(this, scope)) { type.traverse(visitor, scope); if (initialization != null) initialization.traverse(visitor, scope); } visitor.endVisit(this, scope); } |
| ||||
public void traverse( ASTVisitor visitor, BlockScope blockScope) { if (visitor.visit(this, blockScope)) { condition.traverse(visitor, blockScope); if (action != null) action.traverse(visitor, blockScope); } visitor.endVisit(this, blockScope); } |
| |||
public void traverse(ASTVisitor visitor, BlockScope [[#variable9a4f9940]]) { if (visitor.visit(this, [[#variable9a4f9940]])) { [[#variable72e901a0]].traverse(visitor, [[#variable9a4f9940]]); if ( [[#variable9a4f9900]]!= null) [[#variable9a4f9900]].traverse(visitor, [[#variable9a4f9940]]); } visitor.endVisit(this, [[#variable9a4f9940]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9a4f9940]] | blockScope |
1 | 2 | [[#9a4f9940]] | scope |
2 | 1 | [[#72e901a0]] | condition |
2 | 2 | [[#72e901a0]] | type |
3 | 1 | [[#9a4f9900]] | action |
3 | 2 | [[#9a4f9900]] | initialization |