Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 1 | 0.984 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 307 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 7 | 262 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
3 | 7 | 286 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
/* * @see ASTVisitor#visit(BooleanLiteral) */ public boolean visit(BooleanLiteral node) { if (node.booleanValue() == true) { this.buffer.append("true"); //$NON-NLS-1$ } else { this.buffer.append("false"); //$NON-NLS-1$ } return false; } |
| ||||
/* * @see ASTVisitor#visit(BooleanLiteral) */ public boolean visit(BooleanLiteral node) { if (node.booleanValue() == true) { this.result.append("true"); //$NON-NLS-1$ } else { this.result.append("false"); //$NON-NLS-1$ } return false; } |
| ||||
/* * @see ASTVisitor#visit(BooleanLiteral) */ public boolean visit(BooleanLiteral node) { if (node.booleanValue() == true) { this.fBuffer.append("true"); //$NON-NLS-1$ } else { this.fBuffer.append("false"); //$NON-NLS-1$ } return false; } |
| |||
/* * @see ASTVisitor#visit(BooleanLiteral) */ public boolean visit(BooleanLiteral node) { if (node.booleanValue() == true) { this. [[#variable570f9600]].append("true"); //$NON-NLS-1$ } else { this. [[#variable570f9600]].append("false"); //$NON-NLS-1$ } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#570f9600]] | fBuffer |
1 | 2 | [[#570f9600]] | result |
1 | 3 | [[#570f9600]] | buffer |