Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 91 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaExceptionBreakpointPage.java |
2 | 5 | 187 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaLineBreakpointPage.java |
| ||||
/** * validates the exception breakpoint */ private void validateExceptionBreakpoint() { if (fEnabledButton.getSelection() && !(fCaughtButton.getSelection() || fUncaughtButton.getSelection())) { addErrorMessage(fgExceptionBreakpointError); } else { removeErrorMessage(fgExceptionBreakpointError); } } |
| ||||
/** * Validates the watchpoint...if we are one */ private void validateWatchpoint() { if (fEnabledButton.getSelection() && !(fFieldAccess.getSelection() || fFieldModification.getSelection())) { addErrorMessage(fgWatchpointError); } else { removeErrorMessage(fgWatchpointError); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d0dbae0]] | validateWatchpoint |
1 | 2 | [[#7d0dbae0]] | validateExceptionBreakpoint |
2 | 1 | [[#7d0dba60]] | fFieldAccess |
2 | 2 | [[#7d0dba60]] | fCaughtButton |
3 | 1 | [[#7d0db9e0]] | fFieldModification |
3 | 2 | [[#7d0db9e0]] | fUncaughtButton |
4 | 1 | [[#7d0db960]] | fgWatchpointError |
4 | 2 | [[#7d0db960]] | fgExceptionBreakpointError |