| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 5 | 0.951 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 669 | Closure/closure/goog/dom/dom_test.js |
| 2 | 4 | 679 | Closure/closure/goog/dom/dom_test.js |
| ||||
assertFalse('isFocusableTabIndex() must be false for no tab index',
goog.dom.isFocusableTabIndex(goog.dom.getElement('noTabIndex')));
assertFalse('isFocusableTabIndex() must be false for tab index -2',
goog.dom.isFocusableTabIndex(goog.dom.getElement('tabIndexNegative2')));
|
| ||||
assertTrue('isFocusableTabIndex() must be true for tab index 0',
goog.dom.isFocusableTabIndex(goog.dom.getElement('tabIndex0')));
assertTrue('isFocusableTabIndex() must be true for tab index 1',
goog.dom.isFocusableTabIndex(goog.dom.getElement('tabIndex1')));
|
| |||
[[#variable1dbf4e20]]( [[#variable1fd48640]],goog.dom.isFocusableTabIndex(goog.dom.getElement( [[#variable62f708c0]]))); [[#variable1dbf4e20]]( [[#variable1dbf5520]],goog.dom.isFocusableTabIndex(goog.dom.getElement( [[#variable62f71ea0]]))); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1dbf4e20]] | assertFalse |
| 1 | 2 | [[#1dbf4e20]] | assertTrue |
| 2 | 1 | [[#1fd48640]] | 'isFocusableTabIndex() must be false for no tab index' |
| 2 | 2 | [[#1fd48640]] | 'isFocusableTabIndex() must be true for tab index 0' |
| 3 | 1 | [[#62f708c0]] | 'noTabIndex' |
| 3 | 2 | [[#62f708c0]] | 'tabIndex0' |
| 4 | 1 | [[#1dbf5520]] | 'isFocusableTabIndex() must be false for tab index -2' |
| 4 | 2 | [[#1dbf5520]] | 'isFocusableTabIndex() must be true for tab index 1' |
| 5 | 1 | [[#62f71ea0]] | 'tabIndexNegative2' |
| 5 | 2 | [[#62f71ea0]] | 'tabIndex1' |