CloneSet1747


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.956ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12828
Closure/closure/goog/net/xhrio.js
22838
Closure/closure/goog/net/xhrio.js
Clone Instance
1
Line Count
2
Source Line
828
Source File
Closure/closure/goog/net/xhrio.js

/**
 * Get the response text from the Xhr object
 * Will only return correct result when called from the context of a callback
 * @return {string} Result from the server.
 */
goog.net.XhrIo.prototype.getResponseText=  function ( )
                                                      {
  return this.xhr_
         ?           this.xhr_.responseText
         :                                    '';
                                                      } ;


Clone Instance
2
Line Count
2
Source Line
838
Source File
Closure/closure/goog/net/xhrio.js

/**
 * Get the response XML from the Xhr object
 * Will only return correct result when called from the context of a callback
 * @return {Document} The DOM Document representing the XML file.
 */
goog.net.XhrIo.prototype.getResponseXml=  function ( )
                                                     {
  return this.xhr_
         ?           this.xhr_.responseXML
         :                                   null;
                                                     } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Get the response XML from the Xhr object
 * Will only return correct result when called from the context of a callback
 * @return {Document} The DOM Document representing the XML file.
 */
/**
 * Get the response text from the Xhr object
 * Will only return correct result when called from the context of a callback
 * @return {string} Result from the server.
 */
goog.net.XhrIo.prototype. [[#variable20d5c440]]= function ( )
                                                 { return this.xhr_
                                                          ?this.xhr_. [[#variable20d5c3c0]]
                                                          : [[#variable20d5c320]];
                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20d5c440]]
getResponseXml 
12[[#20d5c440]]
getResponseText 
21[[#20d5c3c0]]
responseXML 
22[[#20d5c3c0]]
responseText 
31[[#20d5c320]]
null 
32[[#20d5c320]]
''