CloneSet1540


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11240.951SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111124
Closure/closure/goog/testing/mockclassfactory.js
211142
Closure/closure/goog/testing/mockclassfactory.js
Clone Instance
1
Line Count
11
Source Line
124
Source File
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_;
                                                                 } ;


Clone Instance
2
Line Count
11
Source Line
142
Source File
Closure/closure/goog/testing/mockclassfactory.js

/**
 * 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_;
                                                             } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3d908820]]
getNamespace 
12[[#3d908820]]
getOriginalClass 
21[[#3d9087c0]]
namespace_ 
22[[#3d9087c0]]
originalClass_ 
31[[#3d908700]]
getClassName 
32[[#3d908700]]
getProxy 
41[[#3afd7ae0]]
className_ 
42[[#3afd7ae0]]
proxy_