CloneSet1443


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.970statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116204
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMDebugger.java
216240
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMRunner.java
Clone Instance
1
Line Count
16
Source Line
204
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMDebugger.java

                                File workingDir = getWorkingDir(config);
                                p = exec(cmdLine, workingDir, envp);
                                if (p == null) {
                                        return;
                                }

                                // check for cancellation
                                if (monitor.isCanceled()) {
                                        p.destroy();
                                        return;
                                }

                                IProcess process = newProcess(launch, p, renderProcessLabel(cmdLine), getDefaultProcessMap());
                                process.setAttribute(IProcess.ATTR_CMDLINE, renderCommandLine(cmdLine));
                                subMonitor.worked(1);
                                subMonitor.subTask(LaunchingMessages.StandardVMDebugger_Establishing_debug_connection____5);


Clone Instance
2
Line Count
16
Source Line
240
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMRunner.java

                File workingDir = getWorkingDir(config);
                p = exec(cmdLine, workingDir, envp);
                if (p == null) {
                        return;
                }

                // check for cancellation
                if (monitor.isCanceled()) {
                        p.destroy();
                        return;
                }

                IProcess process = newProcess(launch, p, renderProcessLabel(cmdLine), getDefaultProcessMap());
                process.setAttribute(IProcess.ATTR_CMDLINE, renderCommandLine(cmdLine));
                subMonitor.worked(1);
                subMonitor.done();


Clone AbstractionParameter Count: 2Parameter Bindings

File workingDir = getWorkingDir(config);
p = exec(cmdLine, workingDir, envp);
if (p == null) {
  return;
}
// check for cancellation
if (monitor.isCanceled()) {
  p.destroy();
  return;
}
IProcess process = newProcess(launch, p, renderProcessLabel(cmdLine), getDefaultProcessMap());
process.setAttribute(IProcess.ATTR_CMDLINE, renderCommandLine(cmdLine));
subMonitor.worked(1);
subMonitor. [[#variable9c611020]] [[#variableb91e4ae0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c611020]]
done 
12[[#9c611020]]
subTask 
21[[#b91e4ae0]]
() 
22[[#b91e4ae0]]
(LaunchingMessages.StandardVMDebugger_Establishing_debug_connection____5)