CloneSet438


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.979FunctionDeclaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15535
Closure/closure/goog/testing/asserts.js
25547
Closure/closure/goog/testing/asserts.js
Clone Instance
1
Line Count
5
Source Line
535
Source File
Closure/closure/goog/testing/asserts.js

/**
 * @param {*} a
 * @param {*=} opt_b
 */
function assertEvaluatesToTrue(a, opt_b) {
  _validateArguments(1, arguments);
  var value=  nonCommentArg(1, 1, arguments);
  if (!value) {
    _assert(commentArg(1, arguments), false ,'Expected to evaluate to true');
              }
                                         }


Clone Instance
2
Line Count
5
Source Line
547
Source File
Closure/closure/goog/testing/asserts.js

/**
 * @param {*} a
 * @param {*=} opt_b
 */
function assertEvaluatesToFalse(a, opt_b) {
  _validateArguments(1, arguments);
  var value=  nonCommentArg(1, 1, arguments);
  if (value) {
    _assert(commentArg(1, arguments), false ,'Expected to evaluate to false');
             }
                                          }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * @param {*} a
 * @param {*=} opt_b
 */
function [[#variable215c9ca0]](a,opt_b)
{ _validateArguments(1,arguments);
  var value=nonCommentArg(1,1,arguments);
  if ( [[#variable215c9c20]])
    { _assert(commentArg(1,arguments), false , [[#variable215c9b80]]);
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#215c9ca0]]
assertEvaluatesToFalse 
12[[#215c9ca0]]
assertEvaluatesToTrue 
21[[#215c9c20]]
value 
22[[#215c9c20]]
!value 
31[[#215c9b80]]
'Expected to evaluate to false' 
32[[#215c9b80]]
'Expected to evaluate to true'