CloneSet1764


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16250.980block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116209
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AppletLaunchConfigurationUtils.java
216161
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java
Clone Instance
1
Line Count
16
Source Line
209
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AppletLaunchConfigurationUtils.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();
                                          }
                                                                                                 }


Clone Instance
2
Line Count
16
Source Line
161
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java

                                                                                                                             {
                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();
                  }
                                                                                                                             }


Clone AbstractionParameter Count: 5Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56591a80]]
JUnitMessages 
12[[#56591a80]]
LauncherMessages 
21[[#56591a40]]
TestSearchEngine_message_searching 
22[[#56591a40]]
appletlauncher_search_task_inprogress 
31[[#56591280]]
CoreException 
32[[#56591280]]
JavaModelException 
41[[#56591860]]
e 
42[[#56591860]]
jme 
51[[#565919c0]]
JUnitPlugin 
52[[#565919c0]]
JDIDebugUIPlugin