CloneSet567


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21240.994statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121903
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java
221990
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java
Clone Instance
1
Line Count
21
Source Line
903
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java

                        if (this.extra == null) {
                                int length = vectorIndex + 1;
                                this.extra = new long[extraLength][];
                                for (int j = 0; j < extraLength; j++) {
                                        this.extra[j] = new long[length];
                                }
                                if (coverageTestFlag && coverageTestId == 16) {
                                        throw new AssertionFailedException("COVERAGE 16"); //$NON-NLS-1$
                                }
                        }
                        else {
                                int oldLength;
                                if (vectorIndex >= (oldLength = this.extra[0].length)) {
                                        int newLength = vectorIndex + 1;
                                        for (int j = 0; j < extraLength; j++) {
                                                System.arraycopy(this.extra[j], 0, 
                                                        (this.extra[j] = new long[newLength]), 0, 
                                                        oldLength);
                                        }
                                        if (coverageTestFlag && coverageTestId == 17) {
                                                throw new AssertionFailedException("COVERAGE 17"); //$NON-NLS-1$
                                        }
                                }
                        }


Clone Instance
2
Line Count
21
Source Line
990
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java

                        if (this.extra == null) {
                                int length = vectorIndex + 1;
                                this.extra = new long[extraLength][];
                                for (int j = 0; j < extraLength; j++) {
                                        this.extra[j] = new long[length];
                                }
                                if (coverageTestFlag && coverageTestId == 20) {
                                        throw new AssertionFailedException("COVERAGE 20"); //$NON-NLS-1$
                                }
                        }
                        else {
                                int oldLength;
                                if (vectorIndex >= (oldLength = this.extra[0].length)) {
                                        int newLength = vectorIndex + 1;
                                        for (int j = 0; j < extraLength; j++) {
                                                System.arraycopy(this.extra[j], 0, 
                                                        (this.extra[j] = new long[newLength]), 0, 
                                                        oldLength);
                                        }
                                        if (coverageTestFlag && coverageTestId == 21) {
                                                throw new AssertionFailedException("COVERAGE 21"); //$NON-NLS-1$
                                        }
                                }
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

if (this.extra == null) {
  int length = vectorIndex + 1;
  this.extra = new long[extraLength][];
  for (int j = 0; j < extraLength; j++) {
    this.extra[j] = new long[length];
  }
  if (coverageTestFlag && coverageTestId == [[#variable4ecf8440]]) {
    throw new AssertionFailedException( [[#variable4ecf8380]]); //$NON-NLS-1$
  }
}
else {
  int oldLength;
  if (vectorIndex >= (oldLength = this.extra[0].length)) {
    int newLength = vectorIndex + 1;
    for (int j = 0; j < extraLength; j++) {
      System.arraycopy(this.extra[j], 0, (this.extra[j] = new long[newLength]), 0, oldLength);
    }
    if (coverageTestFlag && coverageTestId == [[#variable4ecf82c0]]) {
      throw new AssertionFailedException( [[#variable4ecf81e0]]); //$NON-NLS-1$
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ecf8440]]
20 
12[[#4ecf8440]]
16 
21[[#4ecf8380]]
"COVERAGE 20" 
22[[#4ecf8380]]
"COVERAGE 16" 
31[[#4ecf82c0]]
21 
32[[#4ecf82c0]]
17 
41[[#4ecf81e0]]
"COVERAGE 21" 
42[[#4ecf81e0]]
"COVERAGE 17"