| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 6 | 1 | 0.975 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 122 | Closure/closure/goog/useragent/flash.js |
| 2 | 3 | 95 | Closure/closure/goog/useragent/iphoto.js |
| 3 | 3 | 102 | Closure/closure/goog/useragent/jscript.js |
| 4 | 3 | 114 | Closure/closure/goog/useragent/picasa.js |
| 5 | 3 | 78 | Closure/closure/goog/useragent/platform.js |
| 6 | 3 | 108 | Closure/closure/goog/useragent/product_isversion.js |
| ||||
/**
* Whether the installed flash version is as new or newer than a given version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed flash version is as new or newer
* than a given version.
*/
goog.userAgent.flash.isVersion= function (version){
return goog.string.compareVersions(goog.userAgent.flash.VERSION,
version)>= 0;
} ;
|
| ||||
/**
* Whether the installed version of iPhoto is as new or newer than a given
* version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed version of iPhoto is as new or newer
* than a given version.
*/
goog.userAgent.iphoto.isVersion= function (version){
return goog.string.compareVersions(
goog.userAgent.iphoto.VERSION, version)>= 0;
} ;
|
| ||||
/**
* Whether the installed version of JScript is as new or newer than a given
* version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed version of JScript is as new or
* newer than the given version.
*/
goog.userAgent.jscript.isVersion= function (version){
return goog.string.compareVersions(goog.userAgent.jscript.VERSION,
version)>= 0;
} ;
|
| ||||
/**
* Whether the installed Picasa version is as new or newer than a given version.
* This is not yet relevant, we can't detect the true Picasa version number yet,
* but this may be possible in future Picasa releases.
* @param {string} version The version to check.
* @return {boolean} Whether the installed Picasa version is as new or newer
* than a given version.
*/
goog.userAgent.picasa.isVersion= function (version){
return goog.string.compareVersions(
goog.userAgent.picasa.VERSION, version)>= 0;
} ;
|
| ||||
/**
* Whether the user agent platform version is higher or the same as the given
* version.
*
* @param {string|number} version The version to check.
* @return {boolean} Whether the user agent platform version is higher or the
* same as the given version.
*/
goog.userAgent.platform.isVersion= function (version){
return goog.string.compareVersions(
goog.userAgent.platform.VERSION, version)>= 0;
} ;
|
| ||||
/**
* Whether the user agent product version is higher or the same as the given
* version.
*
* @param {string|number} version The version to check.
* @return {boolean} Whether the user agent product version is higher or the
* same as the given version.
*/
goog.userAgent.product.isVersion= function (version){
return goog.string.compareVersions(
goog.userAgent.product.VERSION, version)>= 0;
} ;
|
| |||
/**
* Whether the installed flash version is as new or newer than a given version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed flash version is as new or newer
* than a given version.
*/
/**
* Whether the installed version of iPhoto is as new or newer than a given
* version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed version of iPhoto is as new or newer
* than a given version.
*/
/**
* Whether the installed version of JScript is as new or newer than a given
* version.
* @param {string} version The version to check.
* @return {boolean} Whether the installed version of JScript is as new or
* newer than the given version.
*/
/**
* Whether the installed Picasa version is as new or newer than a given version.
* This is not yet relevant, we can't detect the true Picasa version number yet,
* but this may be possible in future Picasa releases.
* @param {string} version The version to check.
* @return {boolean} Whether the installed Picasa version is as new or newer
* than a given version.
*/
/**
* Whether the user agent platform version is higher or the same as the given
* version.
*
* @param {string|number} version The version to check.
* @return {boolean} Whether the user agent platform version is higher or the
* same as the given version.
*/
/**
* Whether the user agent product version is higher or the same as the given
* version.
*
* @param {string|number} version The version to check.
* @return {boolean} Whether the user agent product version is higher or the
* same as the given version.
*/
goog.userAgent. [[#variable5b9c3580]].isVersion= function (version)
{ return goog.string.compareVersions(goog.userAgent. [[#variable5b9c3580]].VERSION,version)>=0;
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5b9c3580]] | flash |
| 1 | 2 | [[#5b9c3580]] | iphoto |
| 1 | 3 | [[#5b9c3580]] | jscript |
| 1 | 4 | [[#5b9c3580]] | picasa |
| 1 | 5 | [[#5b9c3580]] | platform |
| 1 | 6 | [[#5b9c3580]] | product |