Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 4 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1040 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 5 | 1000 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
3 | 5 | 1317 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
/* * @see ASTVisitor#visit(ParenthesizedExpression) */ public boolean visit(ParenthesizedExpression node) { this.buffer.append("("); //$NON-NLS-1$ node.getExpression().accept(this ); this.buffer.append(")"); //$NON-NLS-1$ return false; } |
| ||||
/* * @see ASTVisitor#visit(ParenthesizedExpression) */ public boolean visit(ParenthesizedExpression node) { this.fBuffer.append("("); //$NON-NLS-1$ node.getExpression().accept(this ); this.fBuffer.append(")"); //$NON-NLS-1$ return false; } |
| ||||
/* * @see ASTVisitor#visit(ThrowStatement) */ public boolean visit(ThrowStatement node) { this.fBuffer.append("throw "); //$NON-NLS-1$ node.getExpression().accept(this ); this.fBuffer.append(";"); //$NON-NLS-1$ return false; } |
| |||
/* * @see ASTVisitor#visit(ParenthesizedExpression) */ /* * @see ASTVisitor#visit(ThrowStatement) */ public boolean visit( [[#variable53938e60]] node) { this. [[#variable53938e00]].append( [[#variable53938d80]]); //$NON-NLS-1$ node.getExpression().accept(this ); this. [[#variable53938e00]].append( [[#variable53938ca0]]); //$NON-NLS-1$ return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53938e60]] | ParenthesizedExpression |
1 | 2 | [[#53938e60]] | ThrowStatement |
1 | 3 | [[#53938e60]] | ParenthesizedExpression |
2 | 1 | [[#53938e00]] | fBuffer |
2 | 2 | [[#53938e00]] | fBuffer |
2 | 3 | [[#53938e00]] | buffer |
3 | 1 | [[#53938d80]] | "(" |
3 | 2 | [[#53938d80]] | "throw " |
3 | 3 | [[#53938d80]] | "(" |
4 | 1 | [[#53938ca0]] | ")" |
4 | 2 | [[#53938ca0]] | ";" |
4 | 3 | [[#53938ca0]] | ")" |