CloneSet752


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22260.951SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1191056
Closure/closure/goog/net/channelrequest.js
2221082
Closure/closure/goog/net/channelrequest.js
Clone Instance
1
Line Count
19
Source Line
1056
Source File
Closure/closure/goog/net/channelrequest.js

/**
 * Indicates whether the request was successful. Only valid after the handler
 * is called to indicate completion of the request.
 *
 * @return {boolean} True if the request succeeded.
 */
goog.net.ChannelRequest.prototype.getSuccess=  function ( )
                                                          {
  return this.successful_;
                                                          } ;
/**
 * If the request was not successful, returns the reason.
 *
 * @return {?goog.net.ChannelRequest.Error}  The last error.
 */
goog.net.ChannelRequest.prototype.getLastError=  function ( )
                                                            {
  return this.lastError_;
                                                            } ;
/**
 * Returns the status code of the last request.
 * @return {number} The status code of the last request.
 */
goog.net.ChannelRequest.prototype.getLastStatusCode=  function ( )
                                                                 {
  return this.lastStatusCode_;
                                                                 } ;


Clone Instance
2
Line Count
22
Source Line
1082
Source File
Closure/closure/goog/net/channelrequest.js

/**
 * Returns the session id for this channel.
 *
 * @return {string|undefined} The session ID.
 */
goog.net.ChannelRequest.prototype.getSessionId=  function ( )
                                                            {
  return this.sid_;
                                                            } ;
/**
 * Returns the request id for this request. Each request has a unique request
 * id and the request IDs are a sequential increasing count.
 *
 * @return {string|number|undefined} The request ID.
 */
goog.net.ChannelRequest.prototype.getRequestId=  function ( )
                                                            {
  return this.rid_;
                                                            } ;

/**
 * Returns the data for a post, if this request is a post.
 *
 * @return {?string} The POST data provided by the request initiator.
 */
goog.net.ChannelRequest.prototype.getPostData=  function ( )
                                                           {
  return this.postData_;
                                                           } ;


Clone AbstractionParameter Count: 6Parameter Bindings

/**
 * Returns the session id for this channel.
 *
 * @return {string|undefined} The session ID.
 */
/**
 * Indicates whether the request was successful. Only valid after the handler
 * is called to indicate completion of the request.
 *
 * @return {boolean} True if the request succeeded.
 */
goog.net.ChannelRequest.prototype. [[#variable3edb7bc0]]= function ( )
                                                          { return this. [[#variable3edb7a60]];
                                                          } ;
/**
 * Returns the request id for this request. Each request has a unique request
 * id and the request IDs are a sequential increasing count.
 *
 * @return {string|number|undefined} The request ID.
 */
/**
 * If the request was not successful, returns the reason.
 *
 * @return {?goog.net.ChannelRequest.Error}  The last error.
 */
goog.net.ChannelRequest.prototype. [[#variable3edb7a80]]= function ( )
                                                          { return this. [[#variable3edb7b40]];
                                                          } ;
/**
 * Returns the data for a post, if this request is a post.
 *
 * @return {?string} The POST data provided by the request initiator.
 */
/**
 * Returns the status code of the last request.
 * @return {number} The status code of the last request.
 */
goog.net.ChannelRequest.prototype. [[#variable3edb7980]]= function ( )
                                                          { return this. [[#variable3edb7900]];
                                                          } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3edb7bc0]]
getSessionId 
12[[#3edb7bc0]]
getSuccess 
21[[#3edb7a60]]
sid_ 
22[[#3edb7a60]]
successful_ 
31[[#3edb7a80]]
getRequestId 
32[[#3edb7a80]]
getLastError 
41[[#3edb7b40]]
rid_ 
42[[#3edb7b40]]
lastError_ 
51[[#3edb7980]]
getPostData 
52[[#3edb7980]]
getLastStatusCode 
61[[#3edb7900]]
postData_ 
62[[#3edb7900]]
lastStatusCode_