CloneSet5115


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.957block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1779
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTracePageParticipant.java
2791
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTracePageParticipant.java
Clone Instance
1
Line Count
7
Source Line
79
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTracePageParticipant.java

                                {
        // add EOF submissions
                IWorkbench workbench = PlatformUI.getWorkbench();
                IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
                IWorkbenchContextSupport contextSupport = workbench.getContextSupport();
                contextSupport.addEnabledSubmission(fEnabledSubmission);
                commandSupport.addHandlerSubmission(fHandlerSubmission);
                                }


Clone Instance
2
Line Count
7
Source Line
91
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTracePageParticipant.java

                                  {
        // remove EOF submissions
                IWorkbench workbench = PlatformUI.getWorkbench();
                IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
                IWorkbenchContextSupport contextSupport = workbench.getContextSupport();
                commandSupport.removeHandlerSubmission(fHandlerSubmission);
                contextSupport.removeEnabledSubmission(fEnabledSubmission);
                                  }


Clone AbstractionParameter Count: 6Parameter Bindings

{
  // remove EOF submissions
  // add EOF submissions
  IWorkbench workbench = PlatformUI.getWorkbench();
  IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
  IWorkbenchContextSupport contextSupport = workbench.getContextSupport();
   [[#variableb51276c0]]. [[#variableb5127680]]( [[#variableb5127620]]);
   [[#variableb5868ae0]]. [[#variablea154b440]]( [[#variableb5126220]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b51276c0]]
commandSupport 
12[[#b51276c0]]
contextSupport 
21[[#b5127680]]
removeHandlerSubmission 
22[[#b5127680]]
addEnabledSubmission 
31[[#b5127620]]
fHandlerSubmission 
32[[#b5127620]]
fEnabledSubmission 
41[[#b5868ae0]]
contextSupport 
42[[#b5868ae0]]
commandSupport 
51[[#a154b440]]
removeEnabledSubmission 
52[[#a154b440]]
addHandlerSubmission 
61[[#b5126220]]
fEnabledSubmission 
62[[#b5126220]]
fHandlerSubmission