CloneSet676


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.951ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17143
Closure/closure/goog/gears/urlcapture.js
27157
Closure/closure/goog/gears/urlcapture.js
Clone Instance
1
Line Count
7
Source Line
143
Source File
Closure/closure/goog/gears/urlcapture.js

/**
 * Lazy initializer for resource store.
 * @return {GearsResourceStore} Gears resource store.
 * @private
 */
goog.gears.UrlCapture.prototype.getResourceStore_=  function ( )
                                                               {
  if (!this.resourceStore_) {
    this.logger_.info('creating resource store: '+  this.storeName_);
    this.resourceStore_=  this.localServer_['createStore'](
        this.storeName_, this.requiredCookie_);
                            }
  return this.resourceStore_;
                                                               } ;


Clone Instance
2
Line Count
7
Source Line
157
Source File
Closure/closure/goog/gears/urlcapture.js

/**
 * Determine if the UrlCapture has been created.
 * @return {boolean} True if it has been created.
 */
goog.gears.UrlCapture.prototype.exists=  function ( )
                                                    {
  if (!this.resourceStore_) {
    this.logger_.info('opening resource store: '+  this.storeName_);
    this.resourceStore_=  this.localServer_['openStore'](
        this.storeName_, this.requiredCookie_);
                            }
  return !!this.resourceStore_;
                                                    } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Determine if the UrlCapture has been created.
 * @return {boolean} True if it has been created.
 */
/**
 * Lazy initializer for resource store.
 * @return {GearsResourceStore} Gears resource store.
 * @private
 */
goog.gears.UrlCapture.prototype. [[#variable1fbd0360]]= function ( )
                                                        { if (!this.resourceStore_)
                                                            { this.logger_.info( [[#variable1fbd0300]]+this.storeName_);
                                                              this.resourceStore_=this.localServer_[ [[#variable1fbd0280]]](this.storeName_,this.requiredCookie_);
                                                            }
                                                          return [[#variable1fbd0200]];
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1fbd0360]]
exists 
12[[#1fbd0360]]
getResourceStore_ 
21[[#1fbd0300]]
'opening resource store: ' 
22[[#1fbd0300]]
'creating resource store: ' 
31[[#1fbd0280]]
'openStore' 
32[[#1fbd0280]]
'createStore' 
41[[#1fbd0200]]
!!this.resourceStore_ 
42[[#1fbd0200]]
this.resourceStore_