CloneSet2221


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.996executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17514
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
27521
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
Clone Instance
1
Line Count
7
Source Line
514
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                                       { // add and configure JUnit 3 //$NON-NLS-1$
                        String id = BUILD_PATH_PAGE_ID;
                        Map input = new HashMap();
                        IClasspathEntry newEntry = BuildPathSupport.getJUnit3ClasspathEntry();
                        input.put(BUILD_PATH_KEY_ADD_ENTRY, newEntry);
                        input.put(BUILD_PATH_BLOCK, Boolean.TRUE);
                        PreferencesUtil.createPropertyDialogOn(getShell(), javaProject, id, new String[] {
                                                                                                           id
                                                                                                         },      input).open();
                                       }


Clone Instance
2
Line Count
7
Source Line
521
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                                              { // add and configure JUnit 4 //$NON-NLS-1$
                        String id = BUILD_PATH_PAGE_ID;
                        Map input = new HashMap();
                        IClasspathEntry newEntry = BuildPathSupport.getJUnit4ClasspathEntry();
                        input.put(BUILD_PATH_KEY_ADD_ENTRY, newEntry);
                        input.put(BUILD_PATH_BLOCK, Boolean.TRUE);
                        PreferencesUtil.createPropertyDialogOn(getShell(), javaProject, id, new String[] {
                                                                                                           id
                                                                                                         },      input).open();
                                              }


Clone AbstractionParameter Count: 1Parameter Bindings

{ // add and configure JUnit 4 //$NON-NLS-1$ // add and configure JUnit 3 //$NON-NLS-1$
  String id = BUILD_PATH_PAGE_ID;
  Map input = new HashMap();
  IClasspathEntry newEntry = BuildPathSupport. [[#variable5ec27aa0]]();
  input.put(BUILD_PATH_KEY_ADD_ENTRY, newEntry);
  input.put(BUILD_PATH_BLOCK, Boolean.TRUE);
  PreferencesUtil.createPropertyDialogOn(getShell(), javaProject, id, new String[] {
                                                                                     id
                                                                                   }, input).open();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ec27aa0]]
getJUnit4ClasspathEntry 
12[[#5ec27aa0]]
getJUnit3ClasspathEntry