| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 13 | 2 | 2 | 0.985 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 85 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java |
| 2 | 13 | 101 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java |
| ||||
{
switch (eventKind) {
case DebugEvent.SUSPEND:
case DebugEvent.RESUME:
// refresh on suspend/resume
if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
handleSuspendResume();
}
break;
case DebugEvent.TERMINATE:
// clean the thread map when a thread terminates
handleThreadTerminate(javaThread);
break;
}
}
|
| ||||
{
switch (eventKind) {
case DebugEvent.SUSPEND:
case DebugEvent.RESUME:
// refresh on suspend/resume
if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
handleSuspendResume();
}
break;
case DebugEvent.TERMINATE:
// clean the maps when a target terminates
handleDebugTargetTerminate(target);
break;
}
}
|
| |||
{
switch (eventKind) {
case DebugEvent.SUSPEND:
case DebugEvent.RESUME:
// refresh on suspend/resume
if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
handleSuspendResume();
}
break;
case DebugEvent.TERMINATE:
[[#variableb41d8ca0]]( [[#variableb41d8be0]]);
break;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b41d8ca0]] | // clean the thread map when a thread terminates handleThreadTerminate |
| 1 | 2 | [[#b41d8ca0]] | // clean the maps when a target terminates handleDebugTargetTerminate |
| 2 | 1 | [[#b41d8be0]] | javaThread |
| 2 | 2 | [[#b41d8be0]] | target |