CloneSet778


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11430.957statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111165
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java
21169
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredField.java
31180
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java
411113
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java
Clone Instance
1
Line Count
11
Source Line
165
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.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);
                }
        }


Clone Instance
2
Line Count
11
Source Line
69
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredField.java

                // 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);
                        }
                }


Clone Instance
3
Line Count
11
Source Line
80
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java

        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);
                }
        }


Clone Instance
4
Line Count
11
Source Line
113
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredUnit.java

        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);
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56bc2520]]
imports 
12[[#56bc2520]]
types 
13[[#56bc2520]]
anonymousTypes 
14[[#56bc2520]]
statements 
21[[#9af3a680]]
RecoveredImport 
22[[#9af3a680]]
RecoveredType 
23[[#9af3a680]]
RecoveredType 
24[[#9af3a680]]
RecoveredStatement 
31[[#9af3a6e0]]
importCount 
32[[#9af3a6e0]]
typeCount 
33[[#9af3a6e0]]
anonymousTypeCount 
34[[#9af3a6e0]]
statementCount