CloneSet1384


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1220.979ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11769
Closure/closure/goog/fx/abstractdragdrop.js
21770
Closure/closure/goog/fx/abstractdragdrop.js
Clone Instance
1
Line Count
1
Source Line
769
Source File
Closure/closure/goog/fx/abstractdragdrop.js

  // Subtract margin from drag element position twice, once to adjust the
  // position given by the original node and once for the drag node.
  pos.x+=  (parseInt(goog.style.getStyle_(el, 'marginLeft'), 10)
            ||                                                      0)*  2;


Clone Instance
2
Line Count
1
Source Line
770
Source File
Closure/closure/goog/fx/abstractdragdrop.js

  pos.y+=  (parseInt(goog.style.getStyle_(el, 'marginTop'), 10)
            ||                                                     0)*  2;


Clone AbstractionParameter Count: 2Parameter Bindings

// Subtract margin from drag element position twice, once to adjust the
// position given by the original node and once for the drag node.
pos. [[#variable1f26e6e0]]+=(parseInt(goog.style.getStyle_(el, [[#variable1f26e680]]),10)
                             || 0)*2;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f26e6e0]]
x 
12[[#1f26e6e0]]
y 
21[[#1f26e680]]
'marginLeft' 
22[[#1f26e680]]
'marginTop'