CloneSet690


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.968ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14135
Closure/closure/goog/ui/flatbuttonrenderer.js
2474
Closure/closure/goog/ui/linkbuttonrenderer.js
33205
Closure/closure/goog/ui/roundedtabrenderer.js
Clone Instance
1
Line Count
4
Source Line
135
Source File
Closure/closure/goog/ui/flatbuttonrenderer.js

// Register a decorator factory function for Flat Buttons.
goog.ui.registry.setDecoratorByClassName(goog.ui.FlatButtonRenderer.CSS_CLASS,
    function ( )
               {
      // Uses goog.ui.Button, but with FlatButtonRenderer.
      return new goog.ui.Button(null, goog.ui.FlatButtonRenderer.getInstance( ));
               }                        );


Clone Instance
2
Line Count
4
Source Line
74
Source File
Closure/closure/goog/ui/linkbuttonrenderer.js

// Register a decorator factory function for Link Buttons.
goog.ui.registry.setDecoratorByClassName(goog.ui.LinkButtonRenderer.CSS_CLASS,
    function ( )
               {
      // Uses goog.ui.Button, but with LinkButtonRenderer.
      return new goog.ui.Button(null, goog.ui.LinkButtonRenderer.getInstance( ));
               }                        );


Clone Instance
3
Line Count
3
Source Line
205
Source File
Closure/closure/goog/ui/roundedtabrenderer.js

// Register a decorator factory function for goog.ui.Tabs using the rounded
// tab renderer.
goog.ui.registry.setDecoratorByClassName(goog.ui.RoundedTabRenderer.CSS_CLASS,
    function ( )
               {
      return new goog.ui.Tab(null, goog.ui.RoundedTabRenderer.getInstance( ));
               }                        );


Clone AbstractionParameter Count: 2Parameter Bindings

// Register a decorator factory function for goog.ui.Tabs using the rounded
// tab renderer.
// Register a decorator factory function for Flat Buttons.
// Register a decorator factory function for Link Buttons.
goog.ui.registry.setDecoratorByClassName(goog.ui. [[#variable3fddc000]].CSS_CLASS, function ( )
                                                                                   {
                                                                                     // Uses goog.ui.Button, but with FlatButtonRenderer.
                                                                                     // Uses goog.ui.Button, but with LinkButtonRenderer.
                                                                                     return new goog.ui. [[#variable1e2f7f80]](null,goog.ui. [[#variable3fddc000]].getInstance( ));
                                                                                   } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3fddc000]]
RoundedTabRenderer 
12[[#3fddc000]]
FlatButtonRenderer 
13[[#3fddc000]]
LinkButtonRenderer 
21[[#1e2f7f80]]
Tab 
22[[#1e2f7f80]]
Button 
23[[#1e2f7f80]]
Button