Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.977 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 422 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 7 | 400 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
/* * @see ASTVisitor#visit(ConditionalExpression) */ public boolean visit(ConditionalExpression node) { node.getExpression().accept(this ); this.buffer.append(" ? "); //$NON-NLS-1$ node.getThenExpression().accept(this ); this.buffer.append(" : "); //$NON-NLS-1$ node.getElseExpression().accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(ConditionalExpression) */ public boolean visit(ConditionalExpression node) { node.getExpression().accept(this ); this.fBuffer.append("?"); //$NON-NLS-1$ node.getThenExpression().accept(this ); this.fBuffer.append(":"); //$NON-NLS-1$ node.getElseExpression().accept(this ); return false; } |
| |||
/* * @see ASTVisitor#visit(ConditionalExpression) */ public boolean visit(ConditionalExpression node) { node.getExpression().accept(this ); this. [[#variable5fa5e000]].append( [[#variable601d9f80]]); //$NON-NLS-1$ node.getThenExpression().accept(this ); this. [[#variable5fa5e000]].append( [[#variable601d9ec0]]); //$NON-NLS-1$ node.getElseExpression().accept(this ); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fa5e000]] | fBuffer |
1 | 2 | [[#5fa5e000]] | buffer |
2 | 1 | [[#601d9f80]] | "?" |
2 | 2 | [[#601d9f80]] | " ? " |
3 | 1 | [[#601d9ec0]] | ":" |
3 | 2 | [[#601d9ec0]] | " : " |