| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 3 | 0.965 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 244 | plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java |
| 2 | 8 | 253 | plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java |
| ||||
{ //$NON-NLS-1$
String testNameFile = args[i + 1];
try {
readTestNames(testNameFile);
} catch (IOException e) {
throw new IllegalArgumentException("Cannot read testname file."); //$NON-NLS-1$
}
i++;
}
|
| ||||
{ //$NON-NLS-1$
String testFailuresFile = args[i + 1];
try {
readFailureNames(testFailuresFile);
} catch (IOException e) {
throw new IllegalArgumentException("Cannot read testfailures file."); //$NON-NLS-1$
}
i++;
}
|
| |||
{ //$NON-NLS-1$
String [[#variable601ba760]]= args[i + 1];
try {
[[#variable601ba700]]( [[#variable601ba760]]);
}
catch (IOException e) {
throw new IllegalArgumentException( [[#variable601ba680]]); //$NON-NLS-1$
}
i++;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#601ba760]] | testNameFile |
| 1 | 2 | [[#601ba760]] | testFailuresFile |
| 2 | 1 | [[#601ba700]] | readTestNames |
| 2 | 2 | [[#601ba700]] | readFailureNames |
| 3 | 1 | [[#601ba680]] | "Cannot read testname file." |
| 3 | 2 | [[#601ba680]] | "Cannot read testfailures file." |