CloneSet1524


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.964IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1389
Closure/closure/goog/positioning/viewportclientposition.js
2395
Closure/closure/goog/positioning/viewportclientposition.js
Clone Instance
1
Line Count
3
Source Line
89
Source File
Closure/closure/goog/positioning/viewportclientposition.js

  // Outside left or right edge of viewport, try try to flip it horizontally.
  if (status&  goog.positioning.OverflowStatus.FAILED_LEFT
      ||status&  goog.positioning.OverflowStatus.FAILED_RIGHT)
                                                             {
    corner=  goog.positioning.flipCornerHorizontal(corner);
                                                             }


Clone Instance
2
Line Count
3
Source Line
95
Source File
Closure/closure/goog/positioning/viewportclientposition.js

  // Outside top or bottom edge of viewport, try try to flip it vertically.
  if (status&  goog.positioning.OverflowStatus.FAILED_TOP
      ||status&  goog.positioning.OverflowStatus.FAILED_BOTTOM)
                                                              {
    corner=  goog.positioning.flipCornerVertical(corner);
                                                              }


Clone AbstractionParameter Count: 3Parameter Bindings

// Outside top or bottom edge of viewport, try try to flip it vertically.
// Outside left or right edge of viewport, try try to flip it horizontally.
if (status&goog.positioning.OverflowStatus. [[#variable62fda820]]
    || status&goog.positioning.OverflowStatus. [[#variable62fda7a0]])
  { corner=goog.positioning. [[#variable62fda6c0]](corner);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62fda820]]
FAILED_TOP 
12[[#62fda820]]
FAILED_LEFT 
21[[#62fda7a0]]
FAILED_BOTTOM 
22[[#62fda7a0]]
FAILED_RIGHT 
31[[#62fda6c0]]
flipCornerVertical 
32[[#62fda6c0]]
flipCornerHorizontal