Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 268 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java |
2 | 8 | 352 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java |
| ||||
if (updatedCount == 0) return null; // not interesting block // resize statement collection if necessary if (updatedCount != this.statementCount) { this.blockDeclaration.statements = new Statement[updatedCount]; System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount); } else { this.blockDeclaration.statements = updatedStatements; } |
| ||||
if (updatedCount == 0) return null; // not interesting block // resize statement collection if necessary if (updatedCount != this.statementCount) { this.blockDeclaration.statements = new Statement[updatedCount]; System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount); } else { this.blockDeclaration.statements = updatedStatements; } |
| |||
if (updatedCount == 0) return null; // not interesting block // resize statement collection if necessary if (updatedCount != this.statementCount) { this.blockDeclaration.statements = new Statement[updatedCount]; System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount); } else { this.blockDeclaration.statements = updatedStatements; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |