CloneSet3870


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16313
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java
26637
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java
Clone Instance
1
Line Count
6
Source Line
313
Source File
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;
                            }


Clone Instance
2
Line Count
6
Source Line
637
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java

                            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;
                            }


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94d71b20]]
BreakpointFieldLocator 
12[[#94d71b20]]
BreakpointMethodLocator 
21[[#94d71a80]]
fieldName 
22[[#94d71a80]]
methodName 
31[[#94d71460]]
getFieldName 
32[[#94d71460]]
getMethodName 
41[[#94d71ac0]]
ManageWatchpointActionDelegate_CantAdd 
42[[#94d71ac0]]
ManageMethodBreakpointActionDelegate_CantAdd