Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.966 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 313 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java |
2 | 6 | 637 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java |
| ||||
BreakpointMethodLocator locator = new BreakpointMethodLocator(textSelection.getOffset()); compilationUnit.accept(locator); String methodName = locator.getMethodName(); if (methodName == null) { report(ActionMessages.ManageMethodBreakpointActionDelegate_CantAdd, part); return Status.OK_STATUS; } |
| ||||
BreakpointFieldLocator locator = new BreakpointFieldLocator(textSelection.getOffset()); compilationUnit.accept(locator); String fieldName = locator.getFieldName(); if (fieldName == null) { report(ActionMessages.ManageWatchpointActionDelegate_CantAdd, part); return Status.OK_STATUS; } |
| |||
[[#variable94d71b20]] locator = new [[#variable94d71b20]](textSelection.getOffset()); compilationUnit.accept(locator); String [[#variable94d71a80]]= locator. [[#variable94d71460]](); if ( [[#variable94d71a80]]== null) { report(ActionMessages. [[#variable94d71ac0]], part); return Status.OK_STATUS; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94d71b20]] | BreakpointFieldLocator |
1 | 2 | [[#94d71b20]] | BreakpointMethodLocator |
2 | 1 | [[#94d71a80]] | fieldName |
2 | 2 | [[#94d71a80]] | methodName |
3 | 1 | [[#94d71460]] | getFieldName |
3 | 2 | [[#94d71460]] | getMethodName |
4 | 1 | [[#94d71ac0]] | ManageWatchpointActionDelegate_CantAdd |
4 | 2 | [[#94d71ac0]] | ManageMethodBreakpointActionDelegate_CantAdd |