| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 4 | 0.979 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 271 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java |
| 2 | 10 | 283 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java |
| ||||
{
if (file != null) {
IWorkbenchPage p = JavaPlugin.getActivePage();
if (p != null) {
IEditorPart editorPart = IDE.openEditor(p, file, activate);
initializeHighlightRange(editorPart);
return editorPart;
}
}
return null;
}
|
| ||||
{
if (input != null) {
IWorkbenchPage p = JavaPlugin.getActivePage();
if (p != null) {
IEditorPart editorPart = p.openEditor(input, editorID, activate);
initializeHighlightRange(editorPart);
return editorPart;
}
}
return null;
}
|
| |||
{
if ( [[#variableb37f2d00]]!= null) {
IWorkbenchPage p = JavaPlugin.getActivePage();
if (p != null) {
IEditorPart editorPart = [[#variableb37f2ca0]].openEditor( [[#variableb37f2c00]], [[#variableb37f2b80]], activate);
initializeHighlightRange(editorPart);
return editorPart;
}
}
return null;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b37f2d00]] | file |
| 1 | 2 | [[#b37f2d00]] | input |
| 2 | 1 | [[#b37f2ca0]] | IDE |
| 2 | 2 | [[#b37f2ca0]] | p |
| 3 | 1 | [[#b37f2c00]] | p |
| 3 | 2 | [[#b37f2c00]] | input |
| 4 | 1 | [[#b37f2b80]] | file |
| 4 | 2 | [[#b37f2b80]] | editorID |