| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 3 | 0.972 | Block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 188 | Closure/closure/goog/ui/submenurenderer.js |
| 2 | 5 | 193 | Closure/closure/goog/ui/submenurenderer.js |
| ||||
{
goog.dom.classes.add(arrow, goog.getCssName('goog-submenu-arrow-rtl'));
// Unicode character - Black left-pointing pointer iff aligned to end.
goog.dom.setTextContent(arrow, subMenu.isAlignedToEnd( )
?leftArrow
:rightArrow);
}
|
| ||||
{
goog.dom.classes.remove(arrow, goog.getCssName('goog-submenu-arrow-rtl'));
// Unicode character - Black right-pointing pointer iff aligned to end.
goog.dom.setTextContent(arrow, subMenu.isAlignedToEnd( )
?rightArrow
:leftArrow);
}
|
| |||
{ goog.dom.classes. [[#variable40949420]](arrow,goog.getCssName('goog-submenu-arrow-rtl'));
// Unicode character - Black right-pointing pointer iff aligned to end.
// Unicode character - Black left-pointing pointer iff aligned to end.
goog.dom.setTextContent(arrow,subMenu.isAlignedToEnd( )
? [[#variable409493c0]]
: [[#variable40949360]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#40949420]] | remove |
| 1 | 2 | [[#40949420]] | add |
| 2 | 1 | [[#409493c0]] | rightArrow |
| 2 | 2 | [[#409493c0]] | leftArrow |
| 3 | 1 | [[#40949360]] | leftArrow |
| 3 | 2 | [[#40949360]] | rightArrow |