CloneSet8158


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.977statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15639
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java
25665
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java
Clone Instance
1
Line Count
5
Source Line
639
Source File
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;
                        }


Clone Instance
2
Line Count
5
Source Line
665
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java

                        // check whether location is empty
                        if (location.length() == 0) {
                                setErrorMessage(null);
                                setMessage(NewWizardMessages.JavaProjectWizardFirstPage_Message_enterLocation);
                                setPageComplete(false);
                                return;
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#529906a0]]
location 
12[[#529906a0]]
name 
21[[#529905e0]]
JavaProjectWizardFirstPage_Message_enterLocation 
22[[#529905e0]]
JavaProjectWizardFirstPage_Message_enterProjectName