CloneSet1204


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2320.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12459
Closure/closure/goog/gears/basestore.js
22470
Closure/closure/goog/gears/basestore.js
32479
Closure/closure/goog/gears/basestore.js
Clone Instance
1
Line Count
2
Source Line
459
Source File
Closure/closure/goog/gears/basestore.js

/**
 * Returns true if the table exists in the database
 *
 * @param {string} name The table name.
 * @return {boolean} Whether the table exists in the database.
 */
goog.gears.BaseStore.prototype.hasTable=  function (name){
  return this.hasInSchema_('table', name);
                                                         } ;


Clone Instance
2
Line Count
2
Source Line
470
Source File
Closure/closure/goog/gears/basestore.js

/**
 * Returns true if the index exists in the database
 *
 * @param {string} name The index name.
 * @return {boolean} Whether the index exists in the database.
 */
goog.gears.BaseStore.prototype.hasIndex=  function (name){
  return this.hasInSchema_('index', name);
                                                         } ;


Clone Instance
3
Line Count
2
Source Line
479
Source File
Closure/closure/goog/gears/basestore.js

/**
 * @param {string} name The name of the trigger.
 * @return {boolean} Whether the schema contains a trigger with the given name.
 */
goog.gears.BaseStore.prototype.hasTrigger=  function (name){
  return this.hasInSchema_('trigger', name);
                                                           } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * @param {string} name The name of the trigger.
 * @return {boolean} Whether the schema contains a trigger with the given name.
 */
/**
 * Returns true if the index exists in the database
 *
 * @param {string} name The index name.
 * @return {boolean} Whether the index exists in the database.
 */
/**
 * Returns true if the table exists in the database
 *
 * @param {string} name The table name.
 * @return {boolean} Whether the table exists in the database.
 */
goog.gears.BaseStore.prototype. [[#variable3cf98080]]= function (name)
                                                       { return this.hasInSchema_( [[#variable3cf98020]],name);
                                                       } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3cf98080]]
hasTrigger 
12[[#3cf98080]]
hasIndex 
13[[#3cf98080]]
hasTable 
21[[#3cf98020]]
'trigger' 
22[[#3cf98020]]
'index' 
23[[#3cf98020]]
'table'