Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.964 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 89 | Closure/closure/goog/positioning/viewportclientposition.js |
2 | 3 | 95 | 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); } |
| ||||
// 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); } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62fda820]] | FAILED_TOP |
1 | 2 | [[#62fda820]] | FAILED_LEFT |
2 | 1 | [[#62fda7a0]] | FAILED_BOTTOM |
2 | 2 | [[#62fda7a0]] | FAILED_RIGHT |
3 | 1 | [[#62fda6c0]] | flipCornerVertical |
3 | 2 | [[#62fda6c0]] | flipCornerHorizontal |