| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.971 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 217 | Closure/closure/goog/testing/style/layoutasserts.js |
| 2 | 5 | 257 | Closure/closure/goog/testing/style/layoutasserts.js |
| ||||
var otherElementRect= goog.style.getBounds(otherElement);
_assert(commentArg(1, arguments),
elementRect.left< otherElementRect.left,
'Elements should be left to right.');
|
| ||||
var otherElementRect= goog.style.getBounds(otherElement);
_assert(commentArg(1, arguments),
elementRect.top< otherElementRect.top,
'Elements should be top to bottom.');
|
| |||
var otherElementRect=goog.style.getBounds(otherElement); _assert(commentArg(1,arguments),elementRect. [[#variable21186920]]<otherElementRect. [[#variable21186920]], [[#variable21186f80]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#21186920]] | left |
| 1 | 2 | [[#21186920]] | top |
| 2 | 1 | [[#21186f80]] | 'Elements should be left to right.' |
| 2 | 2 | [[#21186f80]] | 'Elements should be top to bottom.' |