| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 4 | 0.952 | IfStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 384 | Closure/closure/goog/editor/plugins/removeformatting.js |
| 2 | 5 | 391 | Closure/closure/goog/editor/plugins/removeformatting.js |
| ||||
// Move start after the table.
if (startInTable) {
var textNode= dh.createTextNode('');
goog.dom.insertSiblingAfter(textNode, startInTable);
startNode= textNode;
startOffset= 0;
}
|
| ||||
// Move end before the table.
if (endInTable) {
var textNode= dh.createTextNode('');
goog.dom.insertSiblingBefore(textNode, endInTable);
endNode= textNode;
endOffset= 0;
}
|
| |||
// Move start after the table.
// Move end before the table.
if ( [[#variable1ee652c0]])
{ var textNode=dh.createTextNode('');
goog.dom. [[#variable1ee65220]](textNode, [[#variable1ee652c0]]);
[[#variable1ee65160]]=textNode;
[[#variable1ee65100]]=0;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1ee652c0]] | startInTable |
| 1 | 2 | [[#1ee652c0]] | endInTable |
| 2 | 1 | [[#1ee65220]] | insertSiblingAfter |
| 2 | 2 | [[#1ee65220]] | insertSiblingBefore |
| 3 | 1 | [[#1ee65160]] | startNode |
| 3 | 2 | [[#1ee65160]] | endNode |
| 4 | 1 | [[#1ee65100]] | startOffset |
| 4 | 2 | [[#1ee65100]] | endOffset |