| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 2 | 0.981 | Block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 535 | Closure/closure/goog/ui/editor/linkdialog.js |
| 2 | 7 | 545 | Closure/closure/goog/ui/editor/linkdialog.js |
| ||||
{
// The text is for an email address.
this.tabPane_.setSelectedTabId(
goog.ui.editor.LinkDialog.Id_.EMAIL_ADDRESS_TAB);
this.dom.getElement(goog.ui.editor.LinkDialog.Id_.EMAIL_ADDRESS_INPUT).value=
text;
this.setAutogenFlag_( true);
// TODO: Why disable right after enabling? What bug are we
// working around?
this.disableAutogenFlag_( true);
}
|
| ||||
{
// The text is for a web URL.
this.tabPane_.setSelectedTabId(goog.ui.editor.LinkDialog.Id_.ON_WEB_TAB);
this.dom.getElement(goog.ui.editor.LinkDialog.Id_.ON_WEB_INPUT).value=
text;
this.setAutogenFlag_( true);
this.disableAutogenFlag_( true);
}
|
| |||
{
// The text is for an email address.
// The text is for a web URL.
this.tabPane_.setSelectedTabId(goog.ui.editor.LinkDialog.Id_. [[#variable3cf39e00]]);
this.dom.getElement(goog.ui.editor.LinkDialog.Id_. [[#variable3cf39da0]]).value=text;
this.setAutogenFlag_( true);
// TODO: Why disable right after enabling? What bug are we
// working around?
this.disableAutogenFlag_( true);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3cf39e00]] | EMAIL_ADDRESS_TAB |
| 1 | 2 | [[#3cf39e00]] | ON_WEB_TAB |
| 2 | 1 | [[#3cf39da0]] | EMAIL_ADDRESS_INPUT |
| 2 | 2 | [[#3cf39da0]] | ON_WEB_INPUT |