| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 21 | 2 | 4 | 0.994 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 21 | 903 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/UnconditionalFlowInfo.java |
| 2 | 21 | 990 | 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$
}
}
}
|
| ||||
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$
}
}
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4ecf8440]] | 20 |
| 1 | 2 | [[#4ecf8440]] | 16 |
| 2 | 1 | [[#4ecf8380]] | "COVERAGE 20" |
| 2 | 2 | [[#4ecf8380]] | "COVERAGE 16" |
| 3 | 1 | [[#4ecf82c0]] | 21 |
| 3 | 2 | [[#4ecf82c0]] | 17 |
| 4 | 1 | [[#4ecf81e0]] | "COVERAGE 21" |
| 4 | 2 | [[#4ecf81e0]] | "COVERAGE 17" |