| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.991 | Block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 125 | Closure/closure/goog/dom/xml.js |
| 2 | 6 | 150 | Closure/closure/goog/dom/xml.js |
| ||||
{
var doc= goog.dom.getOwnerDocument(node);
if (typeof doc.setProperty!= 'undefined') {
doc.setProperty('SelectionLanguage', 'XPath');
}
return node.selectSingleNode(path);
}
|
| ||||
{
var doc= goog.dom.getOwnerDocument(node);
if (typeof doc.setProperty!= 'undefined') {
doc.setProperty('SelectionLanguage', 'XPath');
}
return node.selectNodes(path);
}
|
| |||
{ var doc=goog.dom.getOwnerDocument(node);
if (typeof doc.setProperty!='undefined')
{ doc.setProperty('SelectionLanguage','XPath');
}
return node. [[#variable1ff4ef60]](path);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1ff4ef60]] | selectSingleNode |
| 1 | 2 | [[#1ff4ef60]] | selectNodes |