Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.993 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 100 | Closure/closure/goog/net/xpc/nativemessagingtransport.js |
2 | 7 | 261 | Closure/closure/goog/net/xpc/nativemessagingtransport.js |
| ||||
if (goog.net.xpc.NativeMessagingTransport.activeCount_== 0) { // Listen for message-events. These are fired on window in FF3 and on // document in Opera. goog.events.listen( window.postMessage ? window : document,'message',goog.net.xpc.NativeMessagingTransport.messageReceived_, false , goog.net.xpc.NativeMessagingTransport); } |
| ||||
if (goog.net.xpc.NativeMessagingTransport.activeCount_== 0) { goog.events.unlisten( window.postMessage ? window : document,'message',goog.net.xpc.NativeMessagingTransport.messageReceived_, false , goog.net.xpc.NativeMessagingTransport); } |
| |||
if (goog.net.xpc.NativeMessagingTransport.activeCount_==0) { // Listen for message-events. These are fired on window in FF3 and on // document in Opera. goog.events. [[#variable44ee2d20]](window.postMessage ?window :document,'message',goog.net.xpc.NativeMessagingTransport.messageReceived_, false ,goog.net.xpc.NativeMessagingTransport); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#44ee2d20]] | listen |
1 | 2 | [[#44ee2d20]] | unlisten |