CloneSet275


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.974StatementList[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19146
Closure/closure/goog/testing/style/layoutasserts.js
29193
Closure/closure/goog/testing/style/layoutasserts.js
Clone Instance
1
Line Count
9
Source Line
146
Source File
Closure/closure/goog/testing/style/layoutasserts.js

  var tolerance=  nonCommentArg(3, 3, arguments);
  var size=  goog.style.getSize(element);
  var elementWidth=  size.width;

  _assert(commentArg(1, arguments),
      goog.testing.style.layoutasserts.isWithinThreshold_(
          width, elementWidth, tolerance),
      'Element width('+  elementWidth+  ') should be within given width('+
      width+  ') with tolerance value of '+  tolerance+  '.');


Clone Instance
2
Line Count
9
Source Line
193
Source File
Closure/closure/goog/testing/style/layoutasserts.js

  var tolerance=  nonCommentArg(3, 3, arguments);
  var size=  goog.style.getSize(element);
  var elementHeight=  size.height;

  _assert(commentArg(1, arguments),
    goog.testing.style.layoutasserts.isWithinThreshold_(
        height, elementHeight, tolerance),
    'Element width('+  elementHeight+  ') should be within given width('+
    height+  ') with tolerance value of '+  tolerance+  '.');


Clone AbstractionParameter Count: 2Parameter Bindings

var tolerance=nonCommentArg(3,3,arguments);
var size=goog.style.getSize(element);
var [[#variable5c78de20]]=size. [[#variable583c1a00]];
_assert(commentArg(1,arguments),goog.testing.style.layoutasserts.isWithinThreshold_( [[#variable583c1a00]], [[#variable5c78de20]],tolerance),'Element width('+ [[#variable5c78de20]]+') should be within given width('+ [[#variable583c1a00]]+') with tolerance value of '+tolerance+'.');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c78de20]]
elementWidth 
12[[#5c78de20]]
elementHeight 
21[[#583c1a00]]
width 
22[[#583c1a00]]
height