| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.975 | Expression |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 341 | Closure/closure/goog/ui/deprecatedbutton.js |
| 2 | 3 | 89 | Closure/closure/goog/ui/nativebuttonrenderer.js |
| ||||
element.tagName== 'BUTTON'
||(element.tagName== 'INPUT'
&& (element.type== 'BUTTON'
||element.type== 'SUBMIT'
||element.type== 'RESET'))
|
| ||||
element.tagName== 'BUTTON'
||(element.tagName== 'INPUT'
&& (element.type== 'button'
||element.type== 'submit'
||element.type== 'reset'))
|
| |||
element.tagName=='BUTTON'
|| (element.tagName=='INPUT'
&& (element.type== [[#variable440d1740]]
|| element.type== [[#variable440d16e0]]
|| element.type== [[#variable440d1680]]))
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#440d1740]] | 'button' |
| 1 | 2 | [[#440d1740]] | 'BUTTON' |
| 2 | 1 | [[#440d16e0]] | 'submit' |
| 2 | 2 | [[#440d16e0]] | 'SUBMIT' |
| 3 | 1 | [[#440d1680]] | 'reset' |
| 3 | 2 | [[#440d1680]] | 'RESET' |