Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.954 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1104 | Closure/closure/goog/array/array.js |
2 | 4 | 164 | Closure/closure/goog/structs/circularbuffer.js |
| ||||
for (var i= 0; i< n; i++) { array[i]= value; } return array; |
| ||||
for (var i= 0; i< l; i++) { rv[i]= i; } return rv; |
| |||
for (var i=0; i< [[#variable1da24660]]; i++) { [[#variable1da246c0]][i]= [[#variable1da24740]]; } return [[#variable1da246c0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1da24660]] | l |
1 | 2 | [[#1da24660]] | n |
2 | 1 | [[#1da246c0]] | rv |
2 | 2 | [[#1da246c0]] | array |
3 | 1 | [[#1da24740]] | i |
3 | 2 | [[#1da24740]] | value |