Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 4 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 247 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 4 | 231 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
3 | 4 | 560 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
/* * @see ASTVisitor#visit(ArrayType) */ public boolean visit(ArrayType node) { node.getComponentType().accept(this ); this.buffer.append("[]"); //$NON-NLS-1$ return false; } |
| ||||
/* * @see ASTVisitor#visit(ArrayType) */ public boolean visit(ArrayType node) { node.getComponentType().accept(this ); this.fBuffer.append("[]"); //$NON-NLS-1$ return false; } |
| ||||
/* * @see ASTVisitor#visit(ExpressionStatement) */ public boolean visit(ExpressionStatement node) { node.getExpression().accept(this ); this.fBuffer.append(";"); //$NON-NLS-1$ return false; } |
| |||
/* * @see ASTVisitor#visit(ArrayType) */ /* * @see ASTVisitor#visit(ExpressionStatement) */ public boolean visit( [[#variablea04f68a0]] node) { node. [[#variablea04f6820]]().accept(this ); this. [[#variablea04f67a0]].append( [[#variablea04f66a0]]); //$NON-NLS-1$ return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a04f68a0]] | ArrayType |
1 | 2 | [[#a04f68a0]] | ExpressionStatement |
1 | 3 | [[#a04f68a0]] | ArrayType |
2 | 1 | [[#a04f6820]] | getComponentType |
2 | 2 | [[#a04f6820]] | getExpression |
2 | 3 | [[#a04f6820]] | getComponentType |
3 | 1 | [[#a04f67a0]] | fBuffer |
3 | 2 | [[#a04f67a0]] | fBuffer |
3 | 3 | [[#a04f67a0]] | buffer |
4 | 1 | [[#a04f66a0]] | "[]" |
4 | 2 | [[#a04f66a0]] | ";" |
4 | 3 | [[#a04f66a0]] | "[]" |