CloneSet415


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19240.972Cases[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119729
Closure/closure/goog/ui/container.js
219749
Closure/closure/goog/ui/container.js
Clone Instance
1
Line Count
19
Source Line
729
Source File
Closure/closure/goog/ui/container.js

    case goog.events.KeyCodes.UP:
      if (this.orientation_==  goog.ui.Container.Orientation.VERTICAL) {
        this.highlightPrevious( );
                                                                       }
      else   {
        return false;
             }
      break;
    case goog.events.KeyCodes.LEFT:
      if (this.orientation_==  goog.ui.Container.Orientation.HORIZONTAL) {
        if (this.isRightToLeft( )){
          this.highlightNext( );
                                  }
        else   {
          this.highlightPrevious( );
               }
                                                                         }
      else   {
        return false;
             }
      break;


Clone Instance
2
Line Count
19
Source Line
749
Source File
Closure/closure/goog/ui/container.js

    case goog.events.KeyCodes.DOWN:
      if (this.orientation_==  goog.ui.Container.Orientation.VERTICAL) {
        this.highlightNext( );
                                                                       }
      else   {
        return false;
             }
      break;
    case goog.events.KeyCodes.RIGHT:
      if (this.orientation_==  goog.ui.Container.Orientation.HORIZONTAL) {
        if (this.isRightToLeft( )){
          this.highlightPrevious( );
                                  }
        else   {
          this.highlightNext( );
               }
                                                                         }
      else   {
        return false;
             }
      break;


Clone AbstractionParameter Count: 4Parameter Bindings

case goog.events.KeyCodes. [[#variable1f1247e0]]:
  if (this.orientation_==goog.ui.Container.Orientation.VERTICAL)
    { this. [[#variable1f125400]]( );
    }
  else
    { return false;
    }
  break;
case goog.events.KeyCodes. [[#variable1f125440]]:
  if (this.orientation_==goog.ui.Container.Orientation.HORIZONTAL)
    { if (this.isRightToLeft( ))
        { this. [[#variable1f1251e0]]( );
        }
      else
        { this. [[#variable1f125400]]( );
        }
    }
  else
    { return false;
    }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f1247e0]]
DOWN 
12[[#1f1247e0]]
UP 
21[[#1f125400]]
highlightNext 
22[[#1f125400]]
highlightPrevious 
31[[#1f125440]]
RIGHT 
32[[#1f125440]]
LEFT 
41[[#1f1251e0]]
highlightPrevious 
42[[#1f1251e0]]
highlightNext