CloneSet9120


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.974statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13429
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java
22683
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java
Clone Instance
1
Line Count
3
Source Line
429
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java

                        config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, ""); //$NON-NLS-1$
                         //workaround for bug 65399
                        config.setAttribute(JUnitBaseLaunchConfiguration.TESTNAME_ATTR, ""); //$NON-NLS-1$


Clone Instance
2
Line Count
2
Source Line
683
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java

                        // We set empty attributes for project & main type so that when one config is
                        // compared to another, the existence of empty attributes doesn't cause an
                        // incorrect result (the performApply() method can result in empty values
                        // for these attributes being set on a config if there is nothing in the
                        // corresponding text boxes)
                        config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); //$NON-NLS-1$
                        config.setAttribute(JUnitBaseLaunchConfiguration.LAUNCH_CONTAINER_ATTR, ""); //$NON-NLS-1$


Clone AbstractionParameter Count: 2Parameter Bindings

// We set empty attributes for project & main type so that when one config is
// compared to another, the existence of empty attributes doesn't cause an
// incorrect result (the performApply() method can result in empty values
// for these attributes being set on a config if there is nothing in the
// corresponding text boxes)
config.setAttribute(IJavaLaunchConfigurationConstants. [[#variablebb094080]], ""); //$NON-NLS-1$
//workaround for bug 65399
config.setAttribute(JUnitBaseLaunchConfiguration. [[#variablebb097b00]], ""); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb094080]]
ATTR_PROJECT_NAME 
12[[#bb094080]]
ATTR_MAIN_TYPE_NAME 
21[[#bb097b00]]
LAUNCH_CONTAINER_ATTR 
22[[#bb097b00]]
TESTNAME_ATTR