Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.971 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 459 | Closure/closure/goog/gears/basestore.js |
2 | 2 | 470 | Closure/closure/goog/gears/basestore.js |
3 | 2 | 479 | 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); } ; |
| ||||
/** * 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); } ; |
| ||||
/** * @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); } ; |
| |||
/** * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cf98080]] | hasTrigger |
1 | 2 | [[#3cf98080]] | hasIndex |
1 | 3 | [[#3cf98080]] | hasTable |
2 | 1 | [[#3cf98020]] | 'trigger' |
2 | 2 | [[#3cf98020]] | 'index' |
2 | 3 | [[#3cf98020]] | 'table' |