CloneSet6082


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1591
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaExceptionBreakpointPage.java
25187
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaLineBreakpointPage.java
Clone Instance
1
Line Count
5
Source Line
91
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaExceptionBreakpointPage.java

        /**
         * validates the exception breakpoint
         */
        private void validateExceptionBreakpoint() {
                if (fEnabledButton.getSelection() && !(fCaughtButton.getSelection() || fUncaughtButton.getSelection())) {
                        addErrorMessage(fgExceptionBreakpointError);
                }
                else   {
                        removeErrorMessage(fgExceptionBreakpointError);
                }
        }


Clone Instance
2
Line Count
5
Source Line
187
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaLineBreakpointPage.java

        /**
         * Validates the watchpoint...if we are one
         */
        private void validateWatchpoint() {
                if (fEnabledButton.getSelection() && !(fFieldAccess.getSelection() || fFieldModification.getSelection())) {
                        addErrorMessage(fgWatchpointError);
                }
                else   {
                        removeErrorMessage(fgWatchpointError);
                }
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Validates the watchpoint...if we are one
         */
/**
         * validates the exception breakpoint
         */
private void [[#variable7d0dbae0]]() {
  if (fEnabledButton.getSelection() && !( [[#variable7d0dba60]].getSelection() || [[#variable7d0db9e0]].getSelection())) {
    addErrorMessage( [[#variable7d0db960]]);
  }
  else {
    removeErrorMessage( [[#variable7d0db960]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d0dbae0]]
validateWatchpoint 
12[[#7d0dbae0]]
validateExceptionBreakpoint 
21[[#7d0dba60]]
fFieldAccess 
22[[#7d0dba60]]
fCaughtButton 
31[[#7d0db9e0]]
fFieldModification 
32[[#7d0db9e0]]
fUncaughtButton 
41[[#7d0db960]]
fgWatchpointError 
42[[#7d0db960]]
fgExceptionBreakpointError