Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.971 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 64 | Closure/closure/goog/graphics/ext/coordinates.js |
2 | 2 | 76 | 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, '%'); } ; |
| ||||
/** * 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'); } ; |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3bf9cda0]] | isPixels_ |
1 | 2 | [[#3bf9cda0]] | isPercent_ |
2 | 1 | [[#3bf9cd40]] | 'px' |
2 | 2 | [[#3bf9cd40]] | '%' |