| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 4 | 4 | 0.953 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 648 | Closure/closure/goog/net/xhrmanager.js |
| 2 | 11 | 666 | Closure/closure/goog/net/xhrmanager.js |
| 3 | 10 | 684 | Closure/closure/goog/net/xhrmanager.js |
| 4 | 12 | 745 | Closure/closure/goog/net/xhrmanager.js |
| ||||
/**
* Gets the uri.
* @return {string} The uri to make the request to.
*/
goog.net.XhrManager.Request.prototype.getUrl= function ( )
{
return this.url_;
} ;
/**
* Gets the send method.
* @return {string} The send method.
*/
goog.net.XhrManager.Request.prototype.getMethod= function ( )
{
return this.method_;
} ;
|
| ||||
/**
* Gets the post data.
* @return {string|undefined} The post data.
*/
goog.net.XhrManager.Request.prototype.getContent= function ( )
{
return this.content_;
} ;
/**
* Gets the map of headers.
* @return {Object|goog.structs.Map} The map of headers.
*/
goog.net.XhrManager.Request.prototype.getHeaders= function ( )
{
return this.headers_;
} ;
|
| ||||
/**
* Gets the maximum number of times the request should be retried.
* @return {number} The maximum number of times the request should be retried.
*/
goog.net.XhrManager.Request.prototype.getMaxRetries= function ( )
{
return this.maxRetries_;
} ;
/**
* Gets the number of attempts so far.
* @return {number} The number of attempts so far.
*/
goog.net.XhrManager.Request.prototype.getAttemptCount= function ( )
{
return this.attemptCount_;
} ;
|
| ||||
/**
* Gets the aborted status.
* @return {boolean} True if request was aborted, otherwise False.
*/
goog.net.XhrManager.Request.prototype.getAborted= function ( )
{
return this.aborted_;
} ;
/**
* Gets the callback attached to the events of the XhrIo object.
* @return {Function|undefined} The callback attached to the events of the
* XhrIo object.
*/
goog.net.XhrManager.Request.prototype.getXhrEventCallback= function ( )
{
return this.xhrEventCallback_;
} ;
|
| |||
/**
* Gets the post data.
* @return {string|undefined} The post data.
*/
/**
* Gets the maximum number of times the request should be retried.
* @return {number} The maximum number of times the request should be retried.
*/
/**
* Gets the aborted status.
* @return {boolean} True if request was aborted, otherwise False.
*/
/**
* Gets the uri.
* @return {string} The uri to make the request to.
*/
goog.net.XhrManager.Request.prototype. [[#variable46ee6100]]= function ( )
{ return this. [[#variable46ee60e0]];
} ;
/**
* Gets the map of headers.
* @return {Object|goog.structs.Map} The map of headers.
*/
/**
* Gets the number of attempts so far.
* @return {number} The number of attempts so far.
*/
/**
* Gets the callback attached to the events of the XhrIo object.
* @return {Function|undefined} The callback attached to the events of the
* XhrIo object.
*/
/**
* Gets the send method.
* @return {string} The send method.
*/
goog.net.XhrManager.Request.prototype. [[#variable62956500]]= function ( )
{ return this. [[#variable62b37ea0]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#46ee6100]] | getContent |
| 1 | 2 | [[#46ee6100]] | getMaxRetries |
| 1 | 3 | [[#46ee6100]] | getAborted |
| 1 | 4 | [[#46ee6100]] | getUrl |
| 2 | 1 | [[#46ee60e0]] | content_ |
| 2 | 2 | [[#46ee60e0]] | maxRetries_ |
| 2 | 3 | [[#46ee60e0]] | aborted_ |
| 2 | 4 | [[#46ee60e0]] | url_ |
| 3 | 1 | [[#62956500]] | getHeaders |
| 3 | 2 | [[#62956500]] | getAttemptCount |
| 3 | 3 | [[#62956500]] | getXhrEventCallback |
| 3 | 4 | [[#62956500]] | getMethod |
| 4 | 1 | [[#62b37ea0]] | headers_ |
| 4 | 2 | [[#62b37ea0]] | attemptCount_ |
| 4 | 3 | [[#62b37ea0]] | xhrEventCallback_ |
| 4 | 4 | [[#62b37ea0]] | method_ |