CloneSet1713


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1264
Closure/closure/goog/graphics/ext/coordinates.js
2276
Closure/closure/goog/graphics/ext/coordinates.js
Clone Instance
1
Line Count
2
Source Line
64
Source File
Closure/closure/goog/graphics/ext/coordinates.js

/**
 * Determines if the given coordinate is a percent based coordinate or an
 * expression with a percent based component.
 * @param {string} coord The coordinate to test.
 * @return {boolean} Whether the coordinate contains the string '%'.
 * @private
 */
goog.graphics.ext.coordinates.isPercent_=  function (coord){
  return goog.string.contains(coord, '%');
                                                           } ;


Clone Instance
2
Line Count
2
Source Line
76
Source File
Closure/closure/goog/graphics/ext/coordinates.js

/**
 * Determines if the given coordinate is a pixel based coordinate or an
 * expression with a pixel based component.
 * @param {string} coord The coordinate to test.
 * @return {boolean} Whether the coordinate contains the string 'px'.
 * @private
 */
goog.graphics.ext.coordinates.isPixels_=  function (coord){
  return goog.string.contains(coord, 'px');
                                                          } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Determines if the given coordinate is a pixel based coordinate or an
 * expression with a pixel based component.
 * @param {string} coord The coordinate to test.
 * @return {boolean} Whether the coordinate contains the string 'px'.
 * @private
 */
/**
 * Determines if the given coordinate is a percent based coordinate or an
 * expression with a percent based component.
 * @param {string} coord The coordinate to test.
 * @return {boolean} Whether the coordinate contains the string '%'.
 * @private
 */
goog.graphics.ext.coordinates. [[#variable3bf9cda0]]= function (coord)
                                                      { return goog.string.contains(coord, [[#variable3bf9cd40]]);
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3bf9cda0]]
isPixels_ 
12[[#3bf9cda0]]
isPercent_ 
21[[#3bf9cd40]]
'px' 
22[[#3bf9cd40]]
'%'