Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.970 | IterationStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 205 | Closure/closure/goog/dom/multirange.js |
2 | 2 | 325 | Closure/closure/goog/dom/multirange.js |
| ||||
for (var i= 0, len= this.getTextRangeCount( ); i< len; i++){ nodes.push(this.getTextRange(i).getContainer( )); } |
| ||||
for (var i= 0, len= this.getTextRangeCount( ); i< len; i++){ selection.addRange(this.getTextRange(i).getBrowserRangeObject( )); } |
| |||
for (var i=0, len=this.getTextRangeCount( ); i<len; i++) { [[#variable3edca480]]. [[#variable3edca420]](this.getTextRange(i). [[#variable3edca3c0]]( )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3edca480]] | selection |
1 | 2 | [[#3edca480]] | nodes |
2 | 1 | [[#3edca420]] | addRange |
2 | 2 | [[#3edca420]] | push |
3 | 1 | [[#3edca3c0]] | getBrowserRangeObject |
3 | 2 | [[#3edca3c0]] | getContainer |