| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.977 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 1062 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
| 2 | 3 | 1067 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
| ||||
if (project.findType(JUnitPlugin.JUNIT4_ANNOTATION_NAME) == null) {
status.setWarning(WizardMessages.NewTestCaseWizardPageOne__error_junit4NotOnbuildpath);
return status;
}
|
| ||||
if (project.findType(JUnitPlugin.TEST_SUPERCLASS_NAME) == null) {
status.setWarning(WizardMessages.NewTestCaseWizardPageOne_error_junitNotOnbuildpath);
return status;
}
|
| |||
if (project.findType(JUnitPlugin. [[#variable72f5ae60]]) == null) {
status.setWarning(WizardMessages. [[#variable72f5adc0]]);
return status;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#72f5ae60]] | TEST_SUPERCLASS_NAME |
| 1 | 2 | [[#72f5ae60]] | JUNIT4_ANNOTATION_NAME |
| 2 | 1 | [[#72f5adc0]] | NewTestCaseWizardPageOne_error_junitNotOnbuildpath |
| 2 | 2 | [[#72f5adc0]] | NewTestCaseWizardPageOne__error_junit4NotOnbuildpath |