Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 3 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 165 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java |
2 | 11 | 69 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredField.java |
3 | 11 | 80 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java |
4 | 11 | 113 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java |
| ||||
if (this.statements == null) { this.statements = new RecoveredStatement[5]; this.statementCount = 0; } else { if (this.statementCount == this.statements.length) { System.arraycopy( this.statements, 0, (this.statements = new RecoveredStatement[2 * this.statementCount]), 0, this.statementCount); } } |
| ||||
// Prepare anonymous type list if (this.anonymousTypes == null) { this.anonymousTypes = new RecoveredType[5]; this.anonymousTypeCount = 0; } else { if (this.anonymousTypeCount == this.anonymousTypes.length) { System.arraycopy( this.anonymousTypes, 0, (this.anonymousTypes = new RecoveredType[2 * this.anonymousTypeCount]), 0, this.anonymousTypeCount); } } |
| ||||
if (this.imports == null) { this.imports = new RecoveredImport[5]; this.importCount = 0; } else { if (this.importCount == this.imports.length) { System.arraycopy( this.imports, 0, (this.imports = new RecoveredImport[2 * this.importCount]), 0, this.importCount); } } |
| ||||
if (this.types == null) { this.types = new RecoveredType[5]; this.typeCount = 0; } else { if (this.typeCount == this.types.length) { System.arraycopy( this.types, 0, (this.types = new RecoveredType[2 * this.typeCount]), 0, this.typeCount); } } |
| |||
// Prepare anonymous type list if (this. [[#variable56bc2520]]== null) { this. [[#variable56bc2520]]= new [[#variable9af3a680]][5]; this. [[#variable9af3a6e0]]= 0; } else { if (this. [[#variable9af3a6e0]]== this. [[#variable56bc2520]].length) { System.arraycopy(this. [[#variable56bc2520]], 0, (this. [[#variable56bc2520]]= new [[#variable9af3a680]][2 * this. [[#variable9af3a6e0]]]), 0, this. [[#variable9af3a6e0]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56bc2520]] | imports |
1 | 2 | [[#56bc2520]] | types |
1 | 3 | [[#56bc2520]] | anonymousTypes |
1 | 4 | [[#56bc2520]] | statements |
2 | 1 | [[#9af3a680]] | RecoveredImport |
2 | 2 | [[#9af3a680]] | RecoveredType |
2 | 3 | [[#9af3a680]] | RecoveredType |
2 | 4 | [[#9af3a680]] | RecoveredStatement |
3 | 1 | [[#9af3a6e0]] | importCount |
3 | 2 | [[#9af3a6e0]] | typeCount |
3 | 3 | [[#9af3a6e0]] | anonymousTypeCount |
3 | 4 | [[#9af3a6e0]] | statementCount |