CloneSet4021


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6250.970statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16164
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java
26118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/MainMethodSearchEngine.java
Clone Instance
1
Line Count
6
Source Line
164
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java

                IRunnableWithProgress runnable = new IRunnableWithProgress() {
                         public void run(IProgressMonitor pm) throws InvocationTargetException {
                                 try {
                                         col[0] = doSearchTestMethods(element, testType, pm);
                                 } catch (CoreException e) {
                                         throw new InvocationTargetException(e);
                                   }
                         }
                                                 };


Clone Instance
2
Line Count
6
Source Line
118
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/MainMethodSearchEngine.java

                IRunnableWithProgress runnable = new IRunnableWithProgress() {
                         public void run(IProgressMonitor pm) throws InvocationTargetException {
                                 try {
                                         res[0] = searchMainMethods(pm, scope, style);
                                 } catch (CoreException e) {
                                         throw new InvocationTargetException(e);
                                   }
                         }
                                                 };


Clone AbstractionParameter Count: 5Parameter Bindings

IRunnableWithProgress runnable = new IRunnableWithProgress() {
                                   public void run(IProgressMonitor pm) throws InvocationTargetException {
                                     try {
                                        [[#variable57d904e0]][0] = [[#variable57d90440]]( [[#variable57d903c0]],  [[#variable57d90340]],  [[#variable57d902e0]]);
                                     }
                                     catch (CoreException e) {
                                       throw new InvocationTargetException(e);
                                     }
                                   }
                                 };
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57d904e0]]
col 
12[[#57d904e0]]
res 
21[[#57d90440]]
doSearchTestMethods 
22[[#57d90440]]
searchMainMethods 
31[[#57d903c0]]
element 
32[[#57d903c0]]
pm 
41[[#57d90340]]
testType 
42[[#57d90340]]
scope 
51[[#57d902e0]]
pm 
52[[#57d902e0]]
style