Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.952 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 403 | Closure/closure/goog/net/xhrio.js |
2 | 3 | 69 | Closure/closure/goog/net/xhriopool.js |
| ||||
// Add headers specific to this request if (opt_headers) { goog.structs.forEach(opt_headers, function (value, key){ headers.set(key, value); } ); } |
| ||||
if (headers) { goog.structs.forEach(headers, function (value, key){ xhrIo.headers.set(key, value); } ); } |
| |||
// Add headers specific to this request if ( [[#variable6317a300]]) { goog.structs.forEach( [[#variable6317a300]], function (value,key) { [[#variable6317a280]].set(key,value); } ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6317a300]] | headers |
1 | 2 | [[#6317a300]] | opt_headers |
2 | 1 | [[#6317a280]] | xhrIo.headers |
2 | 2 | [[#6317a280]] | headers |