Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.977 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 639 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java |
2 | 5 | 665 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java |
| ||||
// check whether the project name field is empty if (name.length() == 0) { setErrorMessage(null); setMessage(NewWizardMessages.JavaProjectWizardFirstPage_Message_enterProjectName); setPageComplete(false); return; } |
| ||||
// check whether location is empty if (location.length() == 0) { setErrorMessage(null); setMessage(NewWizardMessages.JavaProjectWizardFirstPage_Message_enterLocation); setPageComplete(false); return; } |
| |||
// check whether location is empty // check whether the project name field is empty if ( [[#variable529906a0]].length() == 0) { setErrorMessage(null); setMessage(NewWizardMessages. [[#variable529905e0]]); setPageComplete(false); return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#529906a0]] | location |
1 | 2 | [[#529906a0]] | name |
2 | 1 | [[#529905e0]] | JavaProjectWizardFirstPage_Message_enterLocation |
2 | 2 | [[#529905e0]] | JavaProjectWizardFirstPage_Message_enterProjectName |