CloneSet1413


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.978ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1685
Closure/closure/goog/editor/node.js
2699
Closure/closure/goog/editor/node.js
Clone Instance
1
Line Count
6
Source Line
85
Source File
Closure/closure/goog/editor/node.js

/**
 * Get the right-most non-ignorable leaf node of the given node.
 * @param {Node} parent The parent ndoe.
 * @return {Node} The right-most non-ignorable leaf node.
 */
goog.editor.node.getRightMostLeaf=  function (parent){
  var temp;
  while (temp=  goog.editor.node.getLastChild(parent)) {
    parent=  temp;
                                                       }
  return parent;
                                                     } ;


Clone Instance
2
Line Count
6
Source Line
99
Source File
Closure/closure/goog/editor/node.js

/**
 * Get the left-most non-ignorable leaf node of the given node.
 * @param {Node} parent The parent ndoe.
 * @return {Node} The left-most non-ignorable leaf node.
 */
goog.editor.node.getLeftMostLeaf=  function (parent){
  var temp;
  while (temp=  goog.editor.node.getFirstChild(parent)) {
    parent=  temp;
                                                        }
  return parent;
                                                    } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Get the left-most non-ignorable leaf node of the given node.
 * @param {Node} parent The parent ndoe.
 * @return {Node} The left-most non-ignorable leaf node.
 */
/**
 * Get the right-most non-ignorable leaf node of the given node.
 * @param {Node} parent The parent ndoe.
 * @return {Node} The right-most non-ignorable leaf node.
 */
goog.editor.node. [[#variable6317c9e0]]= function (parent)
                                         { var temp;
                                           while (temp=goog.editor.node. [[#variable6317cf60]](parent))
                                             { parent=temp;
                                             }
                                           return parent;
                                         } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6317c9e0]]
getLeftMostLeaf 
12[[#6317c9e0]]
getRightMostLeaf 
21[[#6317cf60]]
getFirstChild 
22[[#6317cf60]]
getLastChild