Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 6 | 0.953 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 157 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathEntry.java |
2 | 8 | 191 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation.java |
| ||||
String name = root.getAttribute("projectName"); //$NON-NLS-1$ if (isEmpty(name)) { abort(LaunchingMessages.RuntimeClasspathEntry_Unable_to_recover_runtime_class_path_entry___missing_project_name_4, null); } else { IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(name); setClasspathEntry(JavaCore.newProjectEntry(proj.getFullPath())); } break; |
| ||||
String name = root.getAttribute("name"); //$NON-NLS-1$ if (isEmpty(name)) { abort(LaunchingMessages.JavaProjectSourceLocation_Unable_to_initialize_source_location___missing_project_name_3, null); } else { IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(name); setJavaProject(JavaCore.create(proj)); } return; |
| |||
String name = root.getAttribute( [[#variableb69b9800]]); //$NON-NLS-1$ if (isEmpty(name)) { abort(LaunchingMessages. [[#variableb69b9780]], null); } else { IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(name); [[#variableb69b9740]](JavaCore. [[#variableb69b9620]]( [[#variableb0ff9940]])); } [[#variableb69b96c0]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b69b9800]] | "name" |
1 | 2 | [[#b69b9800]] | "projectName" |
2 | 1 | [[#b69b9780]] | JavaProjectSourceLocation_Unable_to_initialize_source_location___missing_project_name_3 |
2 | 2 | [[#b69b9780]] | RuntimeClasspathEntry_Unable_to_recover_runtime_class_path_entry___missing_project_name_4 |
3 | 1 | [[#b69b9740]] | setJavaProject |
3 | 2 | [[#b69b9740]] | setClasspathEntry |
4 | 1 | [[#b69b9620]] | create |
4 | 2 | [[#b69b9620]] | newProjectEntry |
5 | 1 | [[#b0ff9940]] | proj |
5 | 2 | [[#b0ff9940]] | proj.getFullPath() |
6 | 1 | [[#b69b96c0]] | return; |
6 | 2 | [[#b69b96c0]] | break; |