Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.951 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 165 | Closure/closure/goog/ui/popupcolorpicker.js |
2 | 10 | 144 | Closure/closure/goog/ui/popupdatepicker.js |
| ||||
/** * ColorPickers cannot be used to decorate pre-existing html, since the * structure they build is fairly complicated. * @param {Element} element Element to decorate. * @return {boolean} Returns always false. */ goog.ui.PopupColorPicker.prototype.canDecorate= function (element){ return false; } ; /** * @return {goog.ui.ColorPicker} The color picker instance. */ goog.ui.PopupColorPicker.prototype.getColorPicker= function ( ) { return this.colorPicker_; } ; |
| ||||
/** * DatePicker cannot be used to decorate pre-existing html, since they're * not based on Components. * @param {Element} element Element to decorate. * @return {boolean} Returns always false. */ goog.ui.PopupDatePicker.prototype.canDecorate= function (element){ return false; } ; /** * @return {goog.ui.DatePicker} The date picker instance. */ goog.ui.PopupDatePicker.prototype.getDatePicker= function ( ) { return this.datePicker_; } ; |
| |||
/** * ColorPickers cannot be used to decorate pre-existing html, since the * structure they build is fairly complicated. * @param {Element} element Element to decorate. * @return {boolean} Returns always false. */ /** * DatePicker cannot be used to decorate pre-existing html, since they're * not based on Components. * @param {Element} element Element to decorate. * @return {boolean} Returns always false. */ goog.ui. [[#variable1edeaa20]].prototype.canDecorate= function (element) { return false; } ; /** * @return {goog.ui.ColorPicker} The color picker instance. */ /** * @return {goog.ui.DatePicker} The date picker instance. */ goog.ui. [[#variable1edeaa20]].prototype. [[#variable1edeaa60]]= function ( ) { return this. [[#variable1edeaa00]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1edeaa20]] | PopupColorPicker |
1 | 2 | [[#1edeaa20]] | PopupDatePicker |
2 | 1 | [[#1edeaa60]] | getColorPicker |
2 | 2 | [[#1edeaa60]] | getDatePicker |
3 | 1 | [[#1edeaa00]] | colorPicker_ |
3 | 2 | [[#1edeaa00]] | datePicker_ |