Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.966 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 410 | Closure/closure/goog/net/crossdomainrpc.js |
2 | 5 | 419 | Closure/closure/goog/net/crossdomainrpc.js |
| ||||
// add parameters if (opt_params) { for (var name in opt_params) { var value= opt_params[name]; inputs.push(goog.net.CrossDomainRpc.createInputHtml_( goog.net.CrossDomainRpc.PARAM+ name, value)); } } |
| ||||
// add headers if (opt_headers) { for (var name in opt_headers) { var value= opt_headers[name]; inputs.push(goog.net.CrossDomainRpc.createInputHtml_( goog.net.CrossDomainRpc.HEADER+ name, value)); } } |
| |||
// add parameters // add headers if ( [[#variable6237c9e0]]) { for (var name in [[#variable6237c9e0]]) { var value= [[#variable6237c9e0]][name]; inputs.push(goog.net.CrossDomainRpc.createInputHtml_(goog.net.CrossDomainRpc. [[#variable6237cac0]]+name,value)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6237c9e0]] | opt_params |
1 | 2 | [[#6237c9e0]] | opt_headers |
2 | 1 | [[#6237cac0]] | PARAM |
2 | 2 | [[#6237cac0]] | HEADER |