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.962 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 540 | Closure/closure/goog/net/xpc/iframepollingtransport.js |
2 | 3 | 272 | Closure/closure/goog/net/xpc/iframerelaytransport.js |
| ||||
// determine the service name and the payload var pos= s.indexOf(':'); var service= s.substr(0, pos); var payload= s.substring(pos+ 1); |
| ||||
var pos= frame.indexOf(':'); var service= frame.substring(0, pos); var payload= frame.substring(pos+ 1); |
| |||
// determine the service name and the payload var pos= [[#variable20db6780]].indexOf(':'); var service= [[#variable20db6780]]. [[#variable2109fc80]](0,pos); var payload= [[#variable20db6780]].substring(pos+1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20db6780]] | frame |
1 | 2 | [[#20db6780]] | s |
2 | 1 | [[#2109fc80]] | substring |
2 | 2 | [[#2109fc80]] | substr |