CloneSet3164


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2440.960class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12852
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
22856
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
32860
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
42864
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
Clone Instance
1
Line Count
2
Source Line
852
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

        private void createSetUp(IType type, ImportsManager imports) throws CoreException {
                createSetupStubs(type, "setUp", false, "org.junit.Before", imports); //$NON-NLS-1$ //$NON-NLS-2$
        }


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

        private void createTearDown(IType type, ImportsManager imports) throws CoreException {
                createSetupStubs(type, "tearDown", false, "org.junit.After", imports); //$NON-NLS-1$ //$NON-NLS-2$
        }


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

        private void createSetUpClass(IType type, ImportsManager imports) throws CoreException {
                createSetupStubs(type, "setUpBeforeClass", true, "org.junit.BeforeClass", imports); //$NON-NLS-1$ //$NON-NLS-2$
        }


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

        private void createTearDownClass(IType type, ImportsManager imports) throws CoreException {
                createSetupStubs(type, "tearDownAfterClass", true, "org.junit.AfterClass", imports); //$NON-NLS-1$ //$NON-NLS-2$
        }


Clone AbstractionParameter Count: 4Parameter Bindings

private void [[#variable580ffca0]](IType type, ImportsManager imports) throws CoreException {
  createSetupStubs(type,  [[#variable580ffc40]],  [[#variable580ffbc0]],  [[#variable580ffb40]], imports); //$NON-NLS-1$ //$NON-NLS-2$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#580ffca0]]
createSetUp 
12[[#580ffca0]]
createTearDown 
13[[#580ffca0]]
createSetUpClass 
14[[#580ffca0]]
createTearDownClass 
21[[#580ffc40]]
"setUp" 
22[[#580ffc40]]
"tearDown" 
23[[#580ffc40]]
"setUpBeforeClass" 
24[[#580ffc40]]
"tearDownAfterClass" 
31[[#580ffbc0]]
false 
32[[#580ffbc0]]
false 
33[[#580ffbc0]]
true 
34[[#580ffbc0]]
true 
41[[#580ffb40]]
"org.junit.Before" 
42[[#580ffb40]]
"org.junit.After" 
43[[#580ffb40]]
"org.junit.BeforeClass" 
44[[#580ffb40]]
"org.junit.AfterClass"