Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.954 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 330 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredType.java |
2 | 6 | 351 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredType.java |
| ||||
for (int i = 0; i < memberTypeCount; i++) { memberTypeDeclarations[existingCount + i] = memberTypes[i].updatedTypeDeclaration(); } typeDeclaration.memberTypes = memberTypeDeclarations; if (memberTypeDeclarations[memberTypeDeclarations.length - 1].declarationSourceEnd > lastEnd) { lastEnd = memberTypeDeclarations[memberTypeDeclarations.length - 1].declarationSourceEnd; } |
| ||||
for (int i = 0; i < fieldCount; i++) { fieldDeclarations[existingCount + i] = fields[i].updatedFieldDeclaration(); } typeDeclaration.fields = fieldDeclarations; if (fieldDeclarations[fieldDeclarations.length - 1].declarationSourceEnd > lastEnd) { lastEnd = fieldDeclarations[fieldDeclarations.length - 1].declarationSourceEnd; } |
| |||
for (int i = 0; i < [[#variable59e2b600]]; i++) { [[#variablea39ad8c0]][existingCount + i] = [[#variable59e2b740]][i]. [[#variable59e2b700]](); } typeDeclaration. [[#variable59e2b740]]= [[#variablea39ad8c0]]; if ( [[#variablea39ad8c0]][ [[#variablea39ad8c0]].length - 1].declarationSourceEnd > lastEnd) { lastEnd = [[#variablea39ad8c0]][ [[#variablea39ad8c0]].length - 1].declarationSourceEnd; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59e2b600]] | memberTypeCount |
1 | 2 | [[#59e2b600]] | fieldCount |
2 | 1 | [[#a39ad8c0]] | memberTypeDeclarations |
2 | 2 | [[#a39ad8c0]] | fieldDeclarations |
3 | 1 | [[#59e2b740]] | memberTypes |
3 | 2 | [[#59e2b740]] | fields |
4 | 1 | [[#59e2b700]] | updatedTypeDeclaration |
4 | 2 | [[#59e2b700]] | updatedFieldDeclaration |