CloneSet1511


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2201.000IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12352
Closure/closure/goog/ui/basicmenu.js
22405
Closure/closure/goog/ui/basicmenu.js
Clone Instance
1
Line Count
2
Source Line
352
Source File
Closure/closure/goog/ui/basicmenu.js

  // Highlight menu item
  if (el
      ||    !this.activeItem_
      ||                         !this.activeItem_.hasOpenSubmenu( )){
    goog.ui.AttachableMenu.prototype.setSelectedItem.call(this, el);
                                                                     }


Clone Instance
2
Line Count
2
Source Line
405
Source File
Closure/closure/goog/ui/basicmenu.js

  if (el
      ||    !this.activeItem_
      ||                         !this.activeItem_.hasOpenSubmenu( )){
    goog.ui.AttachableMenu.prototype.setSelectedItem.call(this, el);
                                                                     }


Clone AbstractionParameter Count: 0Parameter Bindings

// Highlight menu item
if (el
    || !this.activeItem_
    || !this.activeItem_.hasOpenSubmenu( ))
  { goog.ui.AttachableMenu.prototype.setSelectedItem.call(this,el);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None