Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 6 | 0.975 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 225 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocSpecificsWizardPage.java |
2 | 16 | 325 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java |
| ||||
fOverviewStatus = new StatusInfo(); if (fOverViewButton.getSelection()) { String filename = fOverViewText.getText(); if (filename.length() == 0) { fOverviewStatus.setError(JavadocExportMessages.JavadocSpecificsWizardPage_overviewnotfound_error); } else { File file = new File(filename); String ext = filename.substring(filename.lastIndexOf('.') + 1); if ( !file.isFile()) { fOverviewStatus.setError(JavadocExportMessages.JavadocSpecificsWizardPage_overviewnotfound_error); } else if ( !ext.equalsIgnoreCase("html")) { //$NON-NLS-1$ fOverviewStatus.setError(JavadocExportMessages.JavadocSpecificsWizardPage_overviewincorrect_error); } } } break; |
| ||||
fStyleSheetStatus = new StatusInfo(); if (fStyleSheetButton.getSelection()) { String filename = fStyleSheetText.getText(); if (filename.length() == 0) { fStyleSheetStatus.setError(JavadocExportMessages.JavadocSpecificsWizardPage_overviewnotfound_error); } else { File file = new File(filename); String ext = filename.substring(filename.lastIndexOf('.') + 1); if ( !file.isFile()) { fStyleSheetStatus.setError(JavadocExportMessages.JavadocStandardWizardPage_stylesheetnopath_error); } else if ( !ext.equalsIgnoreCase("css")) { //$NON-NLS-1$ fStyleSheetStatus.setError(JavadocExportMessages.JavadocStandardWizardPage_stylesheetnotcss_error); } } } break; |
| |||
[[#variable99b51580]]= new StatusInfo(); if ( [[#variable99b51500]].getSelection()) { String filename = [[#variable99b51460]].getText(); if (filename.length() == 0) { [[#variable99b51580]].setError(JavadocExportMessages.JavadocSpecificsWizardPage_overviewnotfound_error); } else { File file = new File(filename); String ext = filename.substring(filename.lastIndexOf('.') + 1); if ( !file.isFile()) { [[#variable99b51580]].setError(JavadocExportMessages. [[#variable99b513a0]]); } else if ( !ext.equalsIgnoreCase( [[#variable99b51320]])) { //$NON-NLS-1$ [[#variable99b51580]].setError(JavadocExportMessages. [[#variable99b512c0]]); } } } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99b51580]] | fOverviewStatus |
1 | 2 | [[#99b51580]] | fStyleSheetStatus |
2 | 1 | [[#99b51500]] | fOverViewButton |
2 | 2 | [[#99b51500]] | fStyleSheetButton |
3 | 1 | [[#99b51460]] | fOverViewText |
3 | 2 | [[#99b51460]] | fStyleSheetText |
4 | 1 | [[#99b513a0]] | JavadocSpecificsWizardPage_overviewnotfound_error |
4 | 2 | [[#99b513a0]] | JavadocStandardWizardPage_stylesheetnopath_error |
5 | 1 | [[#99b51320]] | "html" |
5 | 2 | [[#99b51320]] | "css" |
6 | 1 | [[#99b512c0]] | JavadocSpecificsWizardPage_overviewincorrect_error |
6 | 2 | [[#99b512c0]] | JavadocStandardWizardPage_stylesheetnotcss_error |