Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 4 | 0.951 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 124 | Closure/closure/goog/testing/mockclassfactory.js |
2 | 11 | 142 | Closure/closure/goog/testing/mockclassfactory.js |
| ||||
/** * A getter for this record's namespace. * @return {Object} The namespace. */ goog.testing.MockClassRecord.prototype.getNamespace= function ( ) { return this.namespace_; } ; /** * A getter for this record's class name. * @return {string} The name of the class referenced by this record. */ goog.testing.MockClassRecord.prototype.getClassName= function ( ) { return this.className_; } ; |
| ||||
/** * A getter for the original class. * @return {Function} The original class implementation before mocking. */ goog.testing.MockClassRecord.prototype.getOriginalClass= function ( ) { return this.originalClass_; } ; /** * A getter for the proxy being used as a replacement for the original class. * @return {Function} The proxy. */ goog.testing.MockClassRecord.prototype.getProxy= function ( ) { return this.proxy_; } ; |
| |||
/** * A getter for this record's namespace. * @return {Object} The namespace. */ /** * A getter for the original class. * @return {Function} The original class implementation before mocking. */ goog.testing.MockClassRecord.prototype. [[#variable3d908820]]= function ( ) { return this. [[#variable3d9087c0]]; } ; /** * A getter for this record's class name. * @return {string} The name of the class referenced by this record. */ /** * A getter for the proxy being used as a replacement for the original class. * @return {Function} The proxy. */ goog.testing.MockClassRecord.prototype. [[#variable3d908700]]= function ( ) { return this. [[#variable3afd7ae0]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3d908820]] | getNamespace |
1 | 2 | [[#3d908820]] | getOriginalClass |
2 | 1 | [[#3d9087c0]] | namespace_ |
2 | 2 | [[#3d9087c0]] | originalClass_ |
3 | 1 | [[#3d908700]] | getClassName |
3 | 2 | [[#3d908700]] | getProxy |
4 | 1 | [[#3afd7ae0]] | className_ |
4 | 2 | [[#3afd7ae0]] | proxy_ |