CloneSet8806


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.951block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15114
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
25135
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
Clone Instance
1
Line Count
5
Source Line
114
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java

                                                      {
                IWorkbenchWindow workBenchWindow = getActiveWorkbenchWindow();
                if (workBenchWindow == null)
                        return null;
                return workBenchWindow.getShell();
                                                      }


Clone Instance
2
Line Count
5
Source Line
135
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java

                                                     {
                IWorkbenchWindow activeWorkbenchWindow = getActiveWorkbenchWindow();
                if (activeWorkbenchWindow == null)
                        return null;
                return activeWorkbenchWindow.getActivePage();
                                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  IWorkbenchWindow  [[#variable9754b000]]= getActiveWorkbenchWindow();
  if ( [[#variable9754b000]]== null)
    return null;
  return [[#variable9754b000]]. [[#variable9754a460]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9754b000]]
activeWorkbenchWindow 
12[[#9754b000]]
workBenchWindow 
21[[#9754a460]]
getActivePage 
22[[#9754a460]]
getShell