Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 79 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTracePageParticipant.java |
2 | 7 | 91 | 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); } |
| ||||
{ // remove EOF submissions IWorkbench workbench = PlatformUI.getWorkbench(); IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport(); IWorkbenchContextSupport contextSupport = workbench.getContextSupport(); commandSupport.removeHandlerSubmission(fHandlerSubmission); contextSupport.removeEnabledSubmission(fEnabledSubmission); } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b51276c0]] | commandSupport |
1 | 2 | [[#b51276c0]] | contextSupport |
2 | 1 | [[#b5127680]] | removeHandlerSubmission |
2 | 2 | [[#b5127680]] | addEnabledSubmission |
3 | 1 | [[#b5127620]] | fHandlerSubmission |
3 | 2 | [[#b5127620]] | fEnabledSubmission |
4 | 1 | [[#b5868ae0]] | contextSupport |
4 | 2 | [[#b5868ae0]] | commandSupport |
5 | 1 | [[#a154b440]] | removeEnabledSubmission |
5 | 2 | [[#a154b440]] | addHandlerSubmission |
6 | 1 | [[#b5126220]] | fEnabledSubmission |
6 | 2 | [[#b5126220]] | fHandlerSubmission |