| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 0 | 1.000 | StatementList[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 161 | Closure/closure/goog/ui/basicmenu.js |
| 2 | 8 | 181 | Closure/closure/goog/ui/basicmenu.js |
| ||||
if (!el) {
throw Error('setElement() called before create()');
}
if (item.getMenu( )){
throw Error('Menu item already added to a menu');
}
item.setMenu_(this );
|
| ||||
if (!el) {
throw Error('setElement() called before create()');
}
if (item.getMenu( )){
throw Error('Menu item already added to a menu');
}
item.setMenu_(this );
|
| |||
if (!el)
{ throw Error('setElement() called before create()');
}
if (item.getMenu( ))
{ throw Error('Menu item already added to a menu');
}
item.setMenu_(this );
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||