Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 712 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
2 | 6 | 720 | 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); } |
| ||||
if (fMethodStubsButtons.isSelected(IDX_SETUP)) { createSetUp(type, imports); } if (fMethodStubsButtons.isSelected(IDX_TEARDOWN)) { createTearDown(type, imports); } |
| |||
if (fMethodStubsButtons.isSelected( [[#variablea38b2280]])) { [[#variablea38b21e0]](type, imports); } if (fMethodStubsButtons.isSelected( [[#variablea38b2180]])) { [[#variablea386d6e0]](type, imports); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a38b2280]] | IDX_SETUP_CLASS |
1 | 2 | [[#a38b2280]] | IDX_SETUP |
2 | 1 | [[#a38b21e0]] | createSetUpClass |
2 | 2 | [[#a38b21e0]] | createSetUp |
3 | 1 | [[#a38b2180]] | IDX_TEARDOWN_CLASS |
3 | 2 | [[#a38b2180]] | IDX_TEARDOWN |
4 | 1 | [[#a386d6e0]] | createTearDownClass |
4 | 2 | [[#a386d6e0]] | createTearDown |