CloneSet1642


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.973ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14389
Closure/closure/goog/testing/mock.js
24411
Closure/closure/goog/testing/mock.js
Clone Instance
1
Line Count
4
Source Line
389
Source File
Closure/closure/goog/testing/mock.js

/**
 * Allows the expectation to be called 0 or 1 times.
 * @return {goog.testing.Mock} This mock object.
 */
goog.testing.Mock.prototype.$atMostOnce=  function ( )
                                                     {
  this.$pendingExpectation.minCalls=  0;
  this.$pendingExpectation.maxCalls=  1;
  return this ;
                                                     } ;


Clone Instance
2
Line Count
4
Source Line
411
Source File
Closure/closure/goog/testing/mock.js

/**
 * Allows the expectation to be called any number of times.
 * @return {goog.testing.Mock} This mock object.
 */
goog.testing.Mock.prototype.$anyTimes=  function ( )
                                                   {
  this.$pendingExpectation.minCalls=  0;
  this.$pendingExpectation.maxCalls=  Infinity;
  return this ;
                                                   } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Allows the expectation to be called any number of times.
 * @return {goog.testing.Mock} This mock object.
 */
/**
 * Allows the expectation to be called 0 or 1 times.
 * @return {goog.testing.Mock} This mock object.
 */
goog.testing.Mock.prototype. [[#variable3b649540]]= function ( )
                                                    { this.$pendingExpectation.minCalls=0;
                                                      this.$pendingExpectation.maxCalls= [[#variable3b649460]];
                                                      return this ;
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3b649540]]
$anyTimes 
12[[#3b649540]]
$atMostOnce 
21[[#3b649460]]
Infinity 
22[[#3b649460]]
1