Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 2 | 0.988 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 55 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMovePackageParticipant.java |
2 | 6 | 53 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java |
3 | 6 | 61 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenamePackageParticipant.java |
4 | 6 | 68 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenameProjectParticipant.java |
| ||||
ICompilationUnit cu = destBreakpointPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName()); IJavaElement element = BreakpointChange.findElement(cu, breakpointType); if (element != null) { if (element instanceof IType) { IType destType = (IType) element; changes.add(createTypeChange(javaBreakpoint, destType, breakpointType)); } } |
| ||||
ICompilationUnit cu = destPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName()); IJavaElement element = BreakpointChange.findElement(cu, breakpointType); if (element != null) { if (element instanceof IType) { IType destType = (IType) element; changes.add(createTypeChange(javaBreakpoint, destType, breakpointType)); } } |
| ||||
ICompilationUnit cu = destBreakpointPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName()); IJavaElement element = BreakpointChange.findElement(cu, breakpointType); if (element != null) { if (element instanceof IType) { IType destType = (IType) element; changes.add(createTypeChange(javaBreakpoint, destType, breakpointType)); } } |
| ||||
ICompilationUnit destCU = destPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName()); IJavaElement element = BreakpointChange.findElement(destCU, breakpointType); if (element != null) { if (element instanceof IType) { IType destType = (IType) element; changes.add(createTypeChange(javaBreakpoint, destType, breakpointType)); } } |
| |||
ICompilationUnit [[#variablebbc423c0]]= [[#variablebbc423e0]].getCompilationUnit(breakpointType.getCompilationUnit().getElementName()); IJavaElement element = BreakpointChange.findElement( [[#variablebbc423c0]], breakpointType); if (element != null) { if (element instanceof IType) { IType destType = (IType) element; changes.add(createTypeChange(javaBreakpoint, destType, breakpointType)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bbc423c0]] | cu |
1 | 2 | [[#bbc423c0]] | destCU |
1 | 3 | [[#bbc423c0]] | cu |
1 | 4 | [[#bbc423c0]] | cu |
2 | 1 | [[#bbc423e0]] | destBreakpointPackage |
2 | 2 | [[#bbc423e0]] | destPackage |
2 | 3 | [[#bbc423e0]] | destPackage |
2 | 4 | [[#bbc423e0]] | destBreakpointPackage |