Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 215 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
2 | 4 | 417 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
3 | 4 | 978 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| ||||
/* * @see ASTVisitor#visit(ArrayType) */ public boolean visit(ArrayType node) { getChildNode(node, ArrayType.COMPONENT_TYPE_PROPERTY).accept(this ); this.result.append("[]"); //$NON-NLS-1$ return false; } |
| ||||
/* * @see ASTVisitor#visit(ExpressionStatement) */ public boolean visit(ExpressionStatement node) { getChildNode(node, ExpressionStatement.EXPRESSION_PROPERTY).accept(this ); this.result.append(';'); return false; } |
| ||||
/* * @see ASTVisitor#visit(TypeLiteral) */ public boolean visit(TypeLiteral node) { getChildNode(node, TypeLiteral.TYPE_PROPERTY).accept(this ); this.result.append(".class"); //$NON-NLS-1$ return false; } |
| |||
/* * @see ASTVisitor#visit(ArrayType) */ /* * @see ASTVisitor#visit(ExpressionStatement) */ /* * @see ASTVisitor#visit(TypeLiteral) */ public boolean visit( [[#variable601d89c0]] node) { getChildNode(node, [[#variable601d89c0]]. [[#variable601d8960]]).accept(this ); this.result.append( [[#variable601d8900]]); //$NON-NLS-1$ return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#601d89c0]] | ArrayType |
1 | 2 | [[#601d89c0]] | ExpressionStatement |
1 | 3 | [[#601d89c0]] | TypeLiteral |
2 | 1 | [[#601d8960]] | COMPONENT_TYPE_PROPERTY |
2 | 2 | [[#601d8960]] | EXPRESSION_PROPERTY |
2 | 3 | [[#601d8960]] | TYPE_PROPERTY |
3 | 1 | [[#601d8900]] | "[]" |
3 | 2 | [[#601d8900]] | ';' |
3 | 3 | [[#601d8900]] | ".class" |