Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 4 | 3 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 774 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java |
2 | 10 | 826 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java |
3 | 10 | 863 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java |
4 | 10 | 881 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java |
| ||||
Runnable r = new Runnable() { public void run() { try { getSourceViewer().getDocument().replace(fSnippetEnd, 0, message); selectAndReveal(fSnippetEnd, message.length()); } catch (BadLocationException e) { } } }; async(r); |
| ||||
Runnable r = new Runnable() { public void run() { try { getSourceViewer().getDocument().replace(fSnippetStart, 0, errorString.toString()); selectAndReveal(fSnippetStart, errorString.length()); } catch (BadLocationException e) { } } }; async(r); |
| ||||
Runnable r = new Runnable() { public void run() { try { getSourceViewer().getDocument().replace(fSnippetEnd, 0, message); selectAndReveal(fSnippetEnd, message.length()); } catch (BadLocationException e) { } } }; async(r); |
| ||||
Runnable r = new Runnable() { public void run() { try { getSourceViewer().getDocument().replace(fSnippetEnd, 0, message); selectAndReveal(fSnippetEnd, message.length()); } catch (BadLocationException e) { } } }; async(r); |
| |||
Runnable r = new Runnable() { public void run() { try { getSourceViewer().getDocument().replace( [[#variable54d0d0c0]], 0, [[#variable54d0d080]]); selectAndReveal( [[#variable54d0d0c0]], [[#variable54d0da00]].length()); } catch (BadLocationException e) { } } }; async(r); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54d0d0c0]] | fSnippetEnd |
1 | 2 | [[#54d0d0c0]] | fSnippetStart |
1 | 3 | [[#54d0d0c0]] | fSnippetEnd |
1 | 4 | [[#54d0d0c0]] | fSnippetEnd |
2 | 1 | [[#54d0d080]] | message |
2 | 2 | [[#54d0d080]] | errorString.toString() |
2 | 3 | [[#54d0d080]] | message |
2 | 4 | [[#54d0d080]] | message |
3 | 1 | [[#54d0da00]] | message |
3 | 2 | [[#54d0da00]] | errorString |
3 | 3 | [[#54d0da00]] | message |
3 | 4 | [[#54d0da00]] | message |