Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.981 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 875 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java |
2 | 12 | 836 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java |
| ||||
if ( !node.isConstructor()) { if (node.getAST().apiLevel() == AST.JLS2_INTERNAL) { node.internalGetReturnType().accept(this ); } else { if (node.getReturnType2() != null) { node.getReturnType2().accept(this ); } else { // methods really ought to have a return type this.buffer.append("void"); //$NON-NLS-1$ } } this.buffer.append(" "); //$NON-NLS-1$ } |
| ||||
if ( !node.isConstructor()) { if (node.getAST().apiLevel() == AST.JLS2) { node.getReturnType().accept(this ); } else { if (node.getReturnType2() != null) { node.getReturnType2().accept(this ); } else { // methods really ought to have a return type this.fBuffer.append("void"); //$NON-NLS-1$ } } this.fBuffer.append(" "); //$NON-NLS-1$ } |
| |||
if ( !node.isConstructor()) { if (node.getAST().apiLevel() == AST. [[#variable54f7c7c0]]) { node. [[#variable54f7c6a0]]().accept(this ); } else { if (node.getReturnType2() != null) { node.getReturnType2().accept(this ); } else { // methods really ought to have a return type this. [[#variable54f7c700]].append("void"); //$NON-NLS-1$ } } this. [[#variable54f7c700]].append(" "); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54f7c7c0]] | JLS2 |
1 | 2 | [[#54f7c7c0]] | JLS2_INTERNAL |
2 | 1 | [[#54f7c6a0]] | getReturnType |
2 | 2 | [[#54f7c6a0]] | internalGetReturnType |
3 | 1 | [[#54f7c700]] | fBuffer |
3 | 2 | [[#54f7c700]] | buffer |