CloneSet733


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20330.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120141
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredInitializer.java
220228
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredMethod.java
320186
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredType.java
Clone Instance
1
Line Count
20
Source Line
141
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredInitializer.java

        if (localTypes == null) {
                localTypes = new RecoveredType[5];
                localTypeCount = 0;
        }
        else   {
                if (localTypeCount == localTypes.length) {
                        System.arraycopy(
                                localTypes, 
                                0, 
                                (localTypes = new RecoveredType[2 * localTypeCount]), 
                                0, 
                                localTypeCount);
                }
        }
        RecoveredType element = new RecoveredType(typeDeclaration, this, bracketBalanceValue);
        localTypes[localTypeCount++ ] = element;
        /* consider that if the opening brace was not found, it is there */
        if ( !foundOpeningBrace) {
                foundOpeningBrace = true;
                this.bracketBalance++;
        }


Clone Instance
2
Line Count
20
Source Line
228
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredMethod.java

        if (localTypes == null) {
                localTypes = new RecoveredType[5];
                localTypeCount = 0;
        }
        else   {
                if (localTypeCount == localTypes.length) {
                        System.arraycopy(
                                localTypes, 
                                0, 
                                (localTypes = new RecoveredType[2 * localTypeCount]), 
                                0, 
                                localTypeCount);
                }
        }
        RecoveredType element = new RecoveredType(typeDeclaration, this, bracketBalanceValue);
        localTypes[localTypeCount++ ] = element;
        /* consider that if the opening brace was not found, it is there */
        if ( !foundOpeningBrace) {
                foundOpeningBrace = true;
                this.bracketBalance++;
        }


Clone Instance
3
Line Count
20
Source Line
186
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredType.java

        if (memberTypes == null) {
                memberTypes = new RecoveredType[5];
                memberTypeCount = 0;
        }
        else   {
                if (memberTypeCount == memberTypes.length) {
                        System.arraycopy(
                                memberTypes, 
                                0, 
                                (memberTypes = new RecoveredType[2 * memberTypeCount]), 
                                0, 
                                memberTypeCount);
                }
        }
        RecoveredType element = new RecoveredType(memberTypeDeclaration, this, bracketBalanceValue);
        memberTypes[memberTypeCount++ ] = element;
        /* consider that if the opening brace was not found, it is there */
        if ( !foundOpeningBrace) {
                foundOpeningBrace = true;
                this.bracketBalance++;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variableb2ad18e0]]== null) {
   [[#variableb2ad18e0]]= new RecoveredType[5];
   [[#variable632ed680]]= 0;
}
else {
  if ( [[#variable632ed680]]== [[#variableb2ad18e0]].length) {
    System.arraycopy( [[#variableb2ad18e0]], 0, ( [[#variableb2ad18e0]]= new RecoveredType[2 *  [[#variable632ed680]]]), 0,  [[#variable632ed680]]);
  }
}
RecoveredType element = new RecoveredType( [[#variable632ed6a0]], this, bracketBalanceValue);
 [[#variableb2ad18e0]][ [[#variable632ed680]]++ ] = element;
/* consider that if the opening brace was not found, it is there */
if ( !foundOpeningBrace) {
  foundOpeningBrace = true;
  this.bracketBalance++;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2ad18e0]]
localTypes 
12[[#b2ad18e0]]
memberTypes 
13[[#b2ad18e0]]
localTypes 
21[[#632ed680]]
localTypeCount 
22[[#632ed680]]
memberTypeCount 
23[[#632ed680]]
localTypeCount 
31[[#632ed6a0]]
typeDeclaration 
32[[#632ed6a0]]
memberTypeDeclaration 
33[[#632ed6a0]]
typeDeclaration