CloneSet5329


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16712
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
26720
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
Clone Instance
1
Line Count
6
Source Line
712
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                if (fMethodStubsButtons.isSelected(IDX_SETUP_CLASS)) {
                        createSetUpClass(type, imports);
                }

                if (fMethodStubsButtons.isSelected(IDX_TEARDOWN_CLASS)) {
                        createTearDownClass(type, imports);
                }


Clone Instance
2
Line Count
6
Source Line
720
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                if (fMethodStubsButtons.isSelected(IDX_SETUP)) {
                        createSetUp(type, imports);
                }

                if (fMethodStubsButtons.isSelected(IDX_TEARDOWN)) {
                        createTearDown(type, imports);
                }


Clone AbstractionParameter Count: 4Parameter Bindings

if (fMethodStubsButtons.isSelected( [[#variablea38b2280]])) {
   [[#variablea38b21e0]](type, imports);
}
if (fMethodStubsButtons.isSelected( [[#variablea38b2180]])) {
   [[#variablea386d6e0]](type, imports);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a38b2280]]
IDX_SETUP_CLASS 
12[[#a38b2280]]
IDX_SETUP 
21[[#a38b21e0]]
createSetUpClass 
22[[#a38b21e0]]
createSetUp 
31[[#a38b2180]]
IDX_TEARDOWN_CLASS 
32[[#a38b2180]]
IDX_TEARDOWN 
41[[#a386d6e0]]
createTearDownClass 
42[[#a386d6e0]]
createTearDown