Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.996 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 514 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
2 | 7 | 521 | 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(); } |
| ||||
{ // 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(); } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ec27aa0]] | getJUnit4ClasspathEntry |
1 | 2 | [[#5ec27aa0]] | getJUnit3ClasspathEntry |