CloneSet1141


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.972Block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15188
Closure/closure/goog/ui/submenurenderer.js
25193
Closure/closure/goog/ui/submenurenderer.js
Clone Instance
1
Line Count
5
Source Line
188
Source File
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);
                               }


Clone Instance
2
Line Count
5
Source Line
193
Source File
Closure/closure/goog/ui/submenurenderer.js

         {
    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);
         }


Clone AbstractionParameter Count: 3Parameter Bindings

{ 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#40949420]]
remove 
12[[#40949420]]
add 
21[[#409493c0]]
rightArrow 
22[[#409493c0]]
leftArrow 
31[[#40949360]]
leftArrow 
32[[#40949360]]
rightArrow