Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.963 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1259 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 6 | 1216 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
if (node.isDefault()) { this.buffer.append("default :\n"); //$NON-NLS-1$ } else { this.buffer.append("case "); //$NON-NLS-1$ node.getExpression().accept(this ); this.buffer.append(":\n"); //$NON-NLS-1$ } |
| ||||
if (node.isDefault()) { this.fBuffer.append("default :"); //$NON-NLS-1$ } else { this.fBuffer.append("case "); //$NON-NLS-1$ node.getExpression().accept(this ); this.fBuffer.append(":"); //$NON-NLS-1$ } |
| |||
if (node.isDefault()) { this. [[#variableb4239b60]].append( [[#variableb4239ae0]]); //$NON-NLS-1$ } else { this. [[#variableb4239b60]].append("case "); //$NON-NLS-1$ node.getExpression().accept(this ); this. [[#variableb4239b60]].append( [[#variableb4239a40]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4239b60]] | fBuffer |
1 | 2 | [[#b4239b60]] | buffer |
2 | 1 | [[#b4239ae0]] | "default :" |
2 | 2 | [[#b4239ae0]] | "default :\n" |
3 | 1 | [[#b4239a40]] | ":" |
3 | 2 | [[#b4239a40]] | ":\n" |