JcmdProcess jp = new JcmdProcess(jcmdDir);
// cwd not implemented in this version
jp.doExec(cmdLine);
return jp;
PluginResURLConnection c = new PluginResURLConnection(url);
c.connect();
return c;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/jeditshell/jcmd/JcmdProcess.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/proto/jeditresource/Handler.java
|
Method name: JcmdProcess exec(String, String, String)
|
|
Method name: URLConnection openConnection(URL)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | JcmdProcess jp = new JcmdProcess(jcmdDir);↵ | | |
|
2 | // cwd not implemented in this version↵ | | |
|
3 | jp.doExec(cmdLine↵ | | 1 | PluginResURLConnection c = new PluginResURLConnection(url);↵
|
4 | );↵ | | 2 | c.connect();↵
|
5 | return jp; | | 3 | return c;
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |