CloneSet1227


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.950IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17207
Closure/closure/goog/dom/range.js
27218
Closure/closure/goog/dom/range.js
Clone Instance
1
Line Count
7
Source Line
207
Source File
Closure/closure/goog/dom/range.js

    if (child) {
      anchorNode=  child;
      anchorOffset=  0;
               }
    else   if (goog.dom.contains(anchorNode, focusNode)) {
      // If focus node is contained in anchorNode, it must be before the
      // end of the node.  Hence we are reversed.
      return true;
                                                         }


Clone Instance
2
Line Count
7
Source Line
218
Source File
Closure/closure/goog/dom/range.js

    if (child) {
      focusNode=  child;
      focusOffset=  0;
               }
    else   if (goog.dom.contains(focusNode, anchorNode)) {
      // If anchor node is contained in focusNode, it must be before the
      // end of the node.  Hence we are not reversed.
      return false;
                                                         }


Clone AbstractionParameter Count: 4Parameter Bindings

if (child)
  {  [[#variable4410ac00]]=child;
     [[#variable4410aba0]]=0;
  }
else
  if (goog.dom.contains( [[#variable4410ac00]], [[#variable4410ab40]]))
    {
      // If focus node is contained in anchorNode, it must be before the
      // end of the node.  Hence we are reversed.
      // If anchor node is contained in focusNode, it must be before the
      // end of the node.  Hence we are not reversed.
      return [[#variable4410aae0]];
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4410ac00]]
anchorNode 
12[[#4410ac00]]
focusNode 
21[[#4410aba0]]
anchorOffset 
22[[#4410aba0]]
focusOffset 
31[[#4410ab40]]
focusNode 
32[[#4410ab40]]
anchorNode 
41[[#4410aae0]]
true 
42[[#4410aae0]]
false