Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.980 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 401 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java |
2 | 3 | 335 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| ||||
final String name = JavaModelUtil.getRenamedCUName(fSubType.getCompilationUnit(), fSuperName); final ICompilationUnit original = fSubType.getPackageFragment().getCompilationUnit(name); final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor, 20)); |
| ||||
final String name = JavaModelUtil.getRenamedCUName(declaring.getCompilationUnit(), fTypeName); final ICompilationUnit original = declaring.getPackageFragment().getCompilationUnit(name); final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor, 10)); |
| |||
final String name = JavaModelUtil.getRenamedCUName( [[#variable7dce48a0]].getCompilationUnit(), [[#variable536eeb00]]); final ICompilationUnit original = [[#variable7dce48a0]].getPackageFragment().getCompilationUnit(name); final ICompilationUnit copy = getSharedWorkingCopy(original.getPrimary(), new SubProgressMonitor(monitor, [[#variable7dce52a0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7dce48a0]] | fSubType |
1 | 2 | [[#7dce48a0]] | declaring |
2 | 1 | [[#536eeb00]] | fSuperName |
2 | 2 | [[#536eeb00]] | fTypeName |
3 | 1 | [[#7dce52a0]] | 20 |
3 | 2 | [[#7dce52a0]] | 10 |