| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 4 | 0.953 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 372 | Closure/closure/goog/testing/net/xhrio.js |
| 2 | 11 | 410 | Closure/closure/goog/testing/net/xhrio.js |
| ||||
/**
* Returns the readystate.
* @return {number} goog.net.XmlHttp.ReadyState.*.
*/
goog.testing.net.XhrIo.prototype.getReadyState= function ( )
{
return this.readyState_;
} ;
/**
* Get the status from the Xhr object. Will only return correct result when
* called from the context of a callback.
* @return {number} Http status.
*/
goog.testing.net.XhrIo.prototype.getStatus= function ( )
{
return this.statusCode_;
} ;
|
| ||||
/**
* Gets the last error message.
* @return {string} Last error message.
*/
goog.testing.net.XhrIo.prototype.getLastError= function ( )
{
return this.lastError_;
} ;
/**
* Gets the last URI that was requested.
* @return {string} Last URI.
*/
goog.testing.net.XhrIo.prototype.getLastUri= function ( )
{
return this.lastUri_;
} ;
|
| |||
/**
* Gets the last error message.
* @return {string} Last error message.
*/
/**
* Returns the readystate.
* @return {number} goog.net.XmlHttp.ReadyState.*.
*/
goog.testing.net.XhrIo.prototype. [[#variable573f5480]]= function ( )
{ return this. [[#variable573f5380]];
} ;
/**
* Gets the last URI that was requested.
* @return {string} Last URI.
*/
/**
* Get the status from the Xhr object. Will only return correct result when
* called from the context of a callback.
* @return {number} Http status.
*/
goog.testing.net.XhrIo.prototype. [[#variable573f5400]]= function ( )
{ return this. [[#variable573f5240]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#573f5480]] | getLastError |
| 1 | 2 | [[#573f5480]] | getReadyState |
| 2 | 1 | [[#573f5380]] | lastError_ |
| 2 | 2 | [[#573f5380]] | readyState_ |
| 3 | 1 | [[#573f5400]] | getLastUri |
| 3 | 2 | [[#573f5400]] | getStatus |
| 4 | 1 | [[#573f5240]] | lastUri_ |
| 4 | 2 | [[#573f5240]] | statusCode_ |