CloneSet401


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12360.951SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112208
Closure/closure/goog/useragent/product.js
211226
Closure/closure/goog/useragent/product.js
312243
Closure/closure/goog/useragent/product.js
Clone Instance
1
Line Count
12
Source Line
208
Source File
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_;


Clone Instance
2
Line Count
11
Source Line
226
Source File
Closure/closure/goog/useragent/product.js

/**
 * 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_;


Clone Instance
3
Line Count
12
Source Line
243
Source File
Closure/closure/goog/useragent/product.js

/**
 * 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_;


Clone AbstractionParameter Count: 6Parameter Bindings

/**
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#206e51e0]]
FIREFOX 
12[[#206e51e0]]
IPHONE 
13[[#206e51e0]]
ANDROID 
21[[#206e5100]]
ASSUME_FIREFOX 
22[[#206e5100]]
ASSUME_IPHONE 
23[[#206e5100]]
ASSUME_ANDROID 
31[[#206e5220]]
detectedFirefox_ 
32[[#206e5220]]
detectedIphone_ 
33[[#206e5220]]
detectedAndroid_ 
41[[#206e4620]]
CAMINO 
42[[#206e4620]]
IPAD 
43[[#206e4620]]
CHROME 
51[[#1fc49ba0]]
ASSUME_CAMINO 
52[[#1fc49ba0]]
ASSUME_IPAD 
53[[#1fc49ba0]]
ASSUME_CHROME 
61[[#206e5140]]
detectedCamino_ 
62[[#206e5140]]
detectedIpad_ 
63[[#206e5140]]
detectedChrome_