Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.985 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 90 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizard.java |
2 | 3 | 140 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/UpdateTestSuite.java |
3 | 4 | 2040 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
ISourceRange range = suiteMethod.getSourceRange(); IBuffer buf = cu.getBuffer(); String originalContent = buf.getText(range.getOffset(), range.getLength()); |
| ||||
ISourceRange range = fSuiteMethod.getSourceRange(); IBuffer buf = fTestSuite.getBuffer(); String originalContent = buf.getText(range.getOffset(), range.getLength()); |
| ||||
ISourceRange range = createdType.getSourceRange(); IBuffer buf = cu.getBuffer(); String originalContent = buf.getText(range.getOffset(), range.getLength()); |
| |||
ISourceRange range = [[#variable99e48f60]].getSourceRange(); IBuffer buf = [[#variable9b4cad80]].getBuffer(); String originalContent = buf.getText(range.getOffset(), range.getLength()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99e48f60]] | fSuiteMethod |
1 | 2 | [[#99e48f60]] | createdType |
1 | 3 | [[#99e48f60]] | suiteMethod |
2 | 1 | [[#9b4cad80]] | fTestSuite |
2 | 2 | [[#9b4cad80]] | cu |
2 | 3 | [[#9b4cad80]] | cu |