Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 6 | 0.951 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 208 | Closure/closure/goog/useragent/product.js |
2 | 11 | 226 | Closure/closure/goog/useragent/product.js |
3 | 12 | 243 | Closure/closure/goog/useragent/product.js |
| ||||
/** * Whether the code is running on the Firefox web browser. * @type {boolean} */ goog.userAgent.product.FIREFOX= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_FIREFOX :goog.userAgent.product.detectedFirefox_; /** * Whether the code is running on the Camino web browser. * @type {boolean} */ goog.userAgent.product.CAMINO= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_CAMINO :goog.userAgent.product.detectedCamino_; |
| ||||
/** * Whether the code is running on an iPhone or iPod touch. * @type {boolean} */ goog.userAgent.product.IPHONE= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_IPHONE :goog.userAgent.product.detectedIphone_; /** * Whether the code is running on an iPad. * @type {boolean} */ goog.userAgent.product.IPAD= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_IPAD :goog.userAgent.product.detectedIpad_; |
| ||||
/** * Whether the code is running on the default browser on an Android phone. * @type {boolean} */ goog.userAgent.product.ANDROID= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_ANDROID :goog.userAgent.product.detectedAndroid_; /** * Whether the code is running on the Chrome web browser. * @type {boolean} */ goog.userAgent.product.CHROME= goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product.ASSUME_CHROME :goog.userAgent.product.detectedChrome_; |
| |||
/** * Whether the code is running on the Firefox web browser. * @type {boolean} */ /** * Whether the code is running on an iPhone or iPod touch. * @type {boolean} */ /** * Whether the code is running on the default browser on an Android phone. * @type {boolean} */ goog.userAgent.product. [[#variable206e51e0]]=goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product. [[#variable206e5100]] :goog.userAgent.product. [[#variable206e5220]]; /** * Whether the code is running on the Camino web browser. * @type {boolean} */ /** * Whether the code is running on an iPad. * @type {boolean} */ /** * Whether the code is running on the Chrome web browser. * @type {boolean} */ goog.userAgent.product. [[#variable206e4620]]=goog.userAgent.product.PRODUCT_KNOWN_ ?goog.userAgent.product. [[#variable1fc49ba0]] :goog.userAgent.product. [[#variable206e5140]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#206e51e0]] | FIREFOX |
1 | 2 | [[#206e51e0]] | IPHONE |
1 | 3 | [[#206e51e0]] | ANDROID |
2 | 1 | [[#206e5100]] | ASSUME_FIREFOX |
2 | 2 | [[#206e5100]] | ASSUME_IPHONE |
2 | 3 | [[#206e5100]] | ASSUME_ANDROID |
3 | 1 | [[#206e5220]] | detectedFirefox_ |
3 | 2 | [[#206e5220]] | detectedIphone_ |
3 | 3 | [[#206e5220]] | detectedAndroid_ |
4 | 1 | [[#206e4620]] | CAMINO |
4 | 2 | [[#206e4620]] | IPAD |
4 | 3 | [[#206e4620]] | CHROME |
5 | 1 | [[#1fc49ba0]] | ASSUME_CAMINO |
5 | 2 | [[#1fc49ba0]] | ASSUME_IPAD |
5 | 3 | [[#1fc49ba0]] | ASSUME_CHROME |
6 | 1 | [[#206e5140]] | detectedCamino_ |
6 | 2 | [[#206e5140]] | detectedIpad_ |
6 | 3 | [[#206e5140]] | detectedChrome_ |