Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 5 | 0.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 209 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AppletLaunchConfigurationUtils.java |
2 | 16 | 161 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java |
| ||||
{ int nElements = elements.length; pm.beginTask(LauncherMessages.appletlauncher_search_task_inprogress, nElements); try { for (int i = 0; i < nElements; i++) { try { collectTypes(elements[i], new SubProgressMonitor(pm, 1), result); } catch (JavaModelException jme) { JDIDebugUIPlugin.log(jme.getStatus()); } if (pm.isCanceled()) { throw new InterruptedException(); } } } finally { pm.done(); } } |
| ||||
{ int nElements = elements.length; pm.beginTask(JUnitMessages.TestSearchEngine_message_searching, nElements); try { for (int i = 0; i < nElements; i++) { try { collectTypes(elements[i], new SubProgressMonitor(pm, 1), result); } catch (CoreException e) { JUnitPlugin.log(e.getStatus()); } if (pm.isCanceled()) { throw new InterruptedException(); } } } finally { pm.done(); } } |
| |||
{ int nElements = elements.length; pm.beginTask( [[#variable56591a80]]. [[#variable56591a40]], nElements); try { for (int i = 0; i < nElements; i++) { try { collectTypes(elements[i], new SubProgressMonitor(pm, 1), result); } catch ( [[#variable56591280]] [[#variable56591860]]) { [[#variable565919c0]].log( [[#variable56591860]].getStatus()); } if (pm.isCanceled()) { throw new InterruptedException(); } } } finally { pm.done(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56591a80]] | JUnitMessages |
1 | 2 | [[#56591a80]] | LauncherMessages |
2 | 1 | [[#56591a40]] | TestSearchEngine_message_searching |
2 | 2 | [[#56591a40]] | appletlauncher_search_task_inprogress |
3 | 1 | [[#56591280]] | CoreException |
3 | 2 | [[#56591280]] | JavaModelException |
4 | 1 | [[#56591860]] | e |
4 | 2 | [[#56591860]] | jme |
5 | 1 | [[#565919c0]] | JUnitPlugin |
5 | 2 | [[#565919c0]] | JDIDebugUIPlugin |