CloneSet280


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.969SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1844
Closure/closure/goog/graphics/ext/ellipse.js
2844
Closure/closure/goog/graphics/ext/rectangle.js
Clone Instance
1
Line Count
8
Source Line
44
Source File
Closure/closure/goog/graphics/ext/ellipse.js

/**
 * Wrapper for a graphics ellipse element.
 * @param {goog.graphics.ext.Group} group Parent for this element.
 * @constructor
 * @extends {goog.graphics.ext.StrokeAndFillElement}
 */
goog.graphics.ext.Ellipse=  function (group){
  // Initialize with some stock values.
  var wrapper=  group.getGraphicsImplementation( ).drawEllipse(1, 1, 2, 2, null,
       null                                                    ,group.getWrapper( ));
  goog.graphics.ext.StrokeAndFillElement.call(this, group, wrapper);
                                            } ;
goog.inherits(goog.graphics.ext.Ellipse,
              goog.graphics.ext.StrokeAndFillElement);


Clone Instance
2
Line Count
8
Source Line
44
Source File
Closure/closure/goog/graphics/ext/rectangle.js

/**
 * Wrapper for a graphics rectangle element.
 * @param {goog.graphics.ext.Group} group Parent for this element.
 * @constructor
 * @extends {goog.graphics.ext.StrokeAndFillElement}
 */
goog.graphics.ext.Rectangle=  function (group){
  // Initialize with some stock values.
  var wrapper=  group.getGraphicsImplementation( ).drawRect(0, 0, 1, 1, null,
       null                                                 ,group.getWrapper( ));
  goog.graphics.ext.StrokeAndFillElement.call(this, group, wrapper);
                                              } ;
goog.inherits(goog.graphics.ext.Rectangle,
              goog.graphics.ext.StrokeAndFillElement);


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Wrapper for a graphics rectangle element.
 * @param {goog.graphics.ext.Group} group Parent for this element.
 * @constructor
 * @extends {goog.graphics.ext.StrokeAndFillElement}
 */
/**
 * Wrapper for a graphics ellipse element.
 * @param {goog.graphics.ext.Group} group Parent for this element.
 * @constructor
 * @extends {goog.graphics.ext.StrokeAndFillElement}
 */
goog.graphics.ext. [[#variable60d0ba00]]= function (group)
                                          {
                                            // Initialize with some stock values.
                                            var wrapper=group.getGraphicsImplementation( ). [[#variable58a7c600]]( [[#variable58a7ce00]], [[#variable58a7ce00]], [[#variable59c356e0]], [[#variable59c356e0]],null,null,group.getWrapper( ));
                                            goog.graphics.ext.StrokeAndFillElement.call(this,group,wrapper);
                                          } ;
goog.inherits(goog.graphics.ext. [[#variable60d0ba00]],goog.graphics.ext.StrokeAndFillElement);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60d0ba00]]
Rectangle 
12[[#60d0ba00]]
Ellipse 
21[[#58a7c600]]
drawRect 
22[[#58a7c600]]
drawEllipse 
31[[#58a7ce00]]
0 
32[[#58a7ce00]]
1 
41[[#59c356e0]]
1 
42[[#59c356e0]]
2