CloneSet5381


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10250.955class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110578
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
210591
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
Clone Instance
1
Line Count
10
Source Line
578
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java

        private class RerunLastAction extends Action {
                public RerunLastAction() {
                        setText(JUnitMessages.TestRunnerViewPart_rerunaction_label);
                        setToolTipText(JUnitMessages.TestRunnerViewPart_rerunaction_tooltip);
                        JUnitPlugin.setLocalImageDescriptors(this, "relaunch.gif"); //$NON-NLS-1$
                        setEnabled(false);
                }

                public void run() {
                        rerunTestRun();
                }
        }


Clone Instance
2
Line Count
10
Source Line
591
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java

        private class RerunLastFailedFirstAction extends Action {
                public RerunLastFailedFirstAction() {
                        setText(JUnitMessages.TestRunnerViewPart_rerunfailuresaction_label);
                        setToolTipText(JUnitMessages.TestRunnerViewPart_rerunfailuresaction_tooltip);
                        JUnitPlugin.setLocalImageDescriptors(this, "relaunchf.gif"); //$NON-NLS-1$
                        setEnabled(false);
                }

                public void run() {
                        rerunTestFailedFirst();
                }
        }


Clone AbstractionParameter Count: 5Parameter Bindings

private class [[#variablea4f36120]]extends Action {
  public [[#variablea4f36120]]() {
    setText(JUnitMessages. [[#variablea4f36080]]);
    setToolTipText(JUnitMessages. [[#variablea529bfa0]]);
    JUnitPlugin.setLocalImageDescriptors(this,  [[#variablea529b480]]); //$NON-NLS-1$
    setEnabled(false);
  }

  public void run() {
     [[#variablea529bfc0]]();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4f36120]]
RerunLastAction 
12[[#a4f36120]]
RerunLastFailedFirstAction 
21[[#a4f36080]]
TestRunnerViewPart_rerunaction_label 
22[[#a4f36080]]
TestRunnerViewPart_rerunfailuresaction_label 
31[[#a529bfa0]]
TestRunnerViewPart_rerunaction_tooltip 
32[[#a529bfa0]]
TestRunnerViewPart_rerunfailuresaction_tooltip 
41[[#a529b480]]
"relaunch.gif" 
42[[#a529b480]]
"relaunchf.gif" 
51[[#a529bfc0]]
rerunTestRun 
52[[#a529bfc0]]
rerunTestFailedFirst