Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 4 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 852 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
2 | 2 | 856 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
3 | 2 | 860 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java |
4 | 2 | 864 | 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$ } |
| ||||
private void createTearDown(IType type, ImportsManager imports) throws CoreException { createSetupStubs(type, "tearDown", false, "org.junit.After", imports); //$NON-NLS-1$ //$NON-NLS-2$ } |
| ||||
private void createSetUpClass(IType type, ImportsManager imports) throws CoreException { createSetupStubs(type, "setUpBeforeClass", true, "org.junit.BeforeClass", imports); //$NON-NLS-1$ //$NON-NLS-2$ } |
| ||||
private void createTearDownClass(IType type, ImportsManager imports) throws CoreException { createSetupStubs(type, "tearDownAfterClass", true, "org.junit.AfterClass", imports); //$NON-NLS-1$ //$NON-NLS-2$ } |
| |||
private void [[#variable580ffca0]](IType type, ImportsManager imports) throws CoreException { createSetupStubs(type, [[#variable580ffc40]], [[#variable580ffbc0]], [[#variable580ffb40]], imports); //$NON-NLS-1$ //$NON-NLS-2$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#580ffca0]] | createSetUp |
1 | 2 | [[#580ffca0]] | createTearDown |
1 | 3 | [[#580ffca0]] | createSetUpClass |
1 | 4 | [[#580ffca0]] | createTearDownClass |
2 | 1 | [[#580ffc40]] | "setUp" |
2 | 2 | [[#580ffc40]] | "tearDown" |
2 | 3 | [[#580ffc40]] | "setUpBeforeClass" |
2 | 4 | [[#580ffc40]] | "tearDownAfterClass" |
3 | 1 | [[#580ffbc0]] | false |
3 | 2 | [[#580ffbc0]] | false |
3 | 3 | [[#580ffbc0]] | true |
3 | 4 | [[#580ffbc0]] | true |
4 | 1 | [[#580ffb40]] | "org.junit.Before" |
4 | 2 | [[#580ffb40]] | "org.junit.After" |
4 | 3 | [[#580ffb40]] | "org.junit.BeforeClass" |
4 | 4 | [[#580ffb40]] | "org.junit.AfterClass" |