CloneSet701


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.993IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19100
Closure/closure/goog/net/xpc/nativemessagingtransport.js
27261
Closure/closure/goog/net/xpc/nativemessagingtransport.js
Clone Instance
1
Line Count
9
Source Line
100
Source File
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);
                                                               }


Clone Instance
2
Line Count
7
Source Line
261
Source File
Closure/closure/goog/net/xpc/nativemessagingtransport.js

    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);
                                                                 }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#44ee2d20]]
listen 
12[[#44ee2d20]]
unlisten