| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 2 | 0.971 | StatementList[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 72 | Closure/closure/goog/gears/managedresourcestore.js |
| 2 | 14 | 62 | Closure/closure/goog/gears/urlcapture.js |
| ||||
this.name_= goog.gears.makeSafeFileName(name);
if (name!= this.name_) {
this.logger_.info(
'managed resource store name '+ name+ '->'+ this.name_);
}
this.requiredCookie_= requiredCookie
? String(requiredCookie)
: null;
|
| ||||
/**
* Name of resource store.
* @type {string}
* @private
*/
this.storeName_= goog.gears.makeSafeFileName(name);
if (name!= this.storeName_) {
this.logger_.info(
'local store name '+ name+ '->'+ this.storeName_);
}
/**
* A cookie that must be present for the store to be active.
* Should have the form "foo=bar". String cast is a safety measure since
* Gears behaves very badly when it gets an unexpected data type.
* @type {?string}
* @private
*/
this.requiredCookie_= requiredCookie
? String(requiredCookie)
: null;
|
| |||
/**
* Name of resource store.
* @type {string}
* @private
*/
this. [[#variable62e1dbe0]]=goog.gears.makeSafeFileName(name);
if (name!=this. [[#variable62e1dbe0]])
{ this.logger_.info( [[#variable2002a820]]+name+'->'+this. [[#variable62e1dbe0]]);
}
/**
* A cookie that must be present for the store to be active.
* Should have the form "foo=bar". String cast is a safety measure since
* Gears behaves very badly when it gets an unexpected data type.
* @type {?string}
* @private
*/
this.requiredCookie_=requiredCookie
?String(requiredCookie)
:null;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#62e1dbe0]] | name_ |
| 1 | 2 | [[#62e1dbe0]] | storeName_ |
| 2 | 1 | [[#2002a820]] | 'managed resource store name ' |
| 2 | 2 | [[#2002a820]] | 'local store name ' |