| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.992 | ReturnStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 181 | Closure/closure/goog/dom/browserrange/w3crange.js |
| 2 | 9 | 94 | Closure/closure/goog/dom/browserrange/webkitrange.js |
| ||||
return this.range_.compareBoundaryPoints(
otherEndpoint== goog.dom.RangeEndpoint.START
? (thisEndpoint== goog.dom.RangeEndpoint.START
? goog.global['Range'].START_TO_START
: goog.global['Range'].START_TO_END)
: (thisEndpoint== goog.dom.RangeEndpoint.START
? goog.global['Range'].END_TO_START
: goog.global['Range'].END_TO_END),
/** @type {Range} */
(range));
|
| ||||
return this.range_.compareBoundaryPoints(
otherEndpoint== goog.dom.RangeEndpoint.START
? (thisEndpoint== goog.dom.RangeEndpoint.START
? goog.global['Range'].START_TO_START
: goog.global['Range'].END_TO_START)
: // Sense reversed
(thisEndpoint== goog.dom.RangeEndpoint.START
? goog.global['Range'].START_TO_END
: // Sense reversed
goog.global['Range'].END_TO_END),
/** @type {Range} */
(range));
|
| |||
return this.range_.compareBoundaryPoints(otherEndpoint==goog.dom.RangeEndpoint.START
?(thisEndpoint==goog.dom.RangeEndpoint.START
?goog.global['Range'].START_TO_START
:goog.global['Range']. [[#variable5d88f5e0]])
: // Sense reversed
(thisEndpoint==goog.dom.RangeEndpoint.START
?goog.global['Range']. [[#variable5d88f5c0]]
: // Sense reversed
goog.global['Range'].END_TO_END),
/** @type {Range} */
(range));
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5d88f5e0]] | END_TO_START |
| 1 | 2 | [[#5d88f5e0]] | START_TO_END |
| 2 | 1 | [[#5d88f5c0]] | START_TO_END |
| 2 | 2 | [[#5d88f5c0]] | END_TO_START |