Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.987 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 150 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Block.java |
2 | 9 | 229 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SwitchStatement.java |
| ||||
/** * Returns the live list of statements in this block. Adding and * removing nodes from this list affects this node dynamically. * All nodes in this list must be <code>Statement</code>s; * attempts to add any other type of node will trigger an * exception. * * @return the live list of statements in this block * (element type: <code>Statement</code>) */ public List statements() { return this.statements; } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { return super.memSize() + 1 * 4; } |
| ||||
/** * Returns the live ordered list of statements for this switch statement. * Within this list, <code>SwitchCase</code> nodes mark the start of * the switch groups. * * @return the live list of statement nodes * (element type: <code>Statement</code>) */ public List statements() { return this.statements; } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { return super.memSize() + 2 * 4; } |
| |||
/** * Returns the live list of statements in this block. Adding and * removing nodes from this list affects this node dynamically. * All nodes in this list must be <code>Statement</code>s; * attempts to add any other type of node will trigger an * exception. * * @return the live list of statements in this block * (element type: <code>Statement</code>) */ /** * Returns the live ordered list of statements for this switch statement. * Within this list, <code>SwitchCase</code> nodes mark the start of * the switch groups. * * @return the live list of statement nodes * (element type: <code>Statement</code>) */ public List statements() { return this.statements; } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { return super.memSize() + [[#variablea1c10fc0]] * 4; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1c10fc0]] | 1 |
1 | 2 | [[#a1c10fc0]] | 2 |