CloneSet296


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.963IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17213
Closure/closure/goog/ui/media/media.js
27222
Closure/closure/goog/ui/media/media.js
Clone Instance
1
Line Count
7
Source Line
213
Source File
Closure/closure/goog/ui/media/media.js

  // Only creates DOMs if the data is available.
  if (dataModel.getCaption( )){
    var caption=  domHelper.createElement('div');
    caption.className=  goog.getCssName(this.getCssClass( ),'caption');
    caption.appendChild(domHelper.createDom(
        'p', goog.getCssName(this.getCssClass( ),'caption-text'),
        dataModel.getCaption( )));
    domHelper.appendChild(div, caption);
                              }


Clone Instance
2
Line Count
7
Source Line
222
Source File
Closure/closure/goog/ui/media/media.js

  if (dataModel.getDescription( )){
    var description=  domHelper.createElement('div');
    description.className=  goog.getCssName(this.getCssClass( ),'description');
    description.appendChild(domHelper.createDom(
        'p', goog.getCssName(this.getCssClass( ),'description-text'),
        dataModel.getDescription( )));
    domHelper.appendChild(div, description);
                                  }


Clone AbstractionParameter Count: 4Parameter Bindings

// Only creates DOMs if the data is available.
if (dataModel. [[#variable56645840]]( ))
  { var [[#variable566457a0]]=domHelper.createElement('div');
     [[#variable566457a0]].className=goog.getCssName(this.getCssClass( ), [[#variable56645720]]);
     [[#variable566457a0]].appendChild(domHelper.createDom('p',goog.getCssName(this.getCssClass( ), [[#variable566456c0]]),dataModel. [[#variable56645840]]( )));
    domHelper.appendChild(div, [[#variable566457a0]]);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56645840]]
getCaption 
12[[#56645840]]
getDescription 
21[[#566457a0]]
caption 
22[[#566457a0]]
description 
31[[#56645720]]
'caption' 
32[[#56645720]]
'description' 
41[[#566456c0]]
'caption-text' 
42[[#566456c0]]
'description-text'