Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 11 | 2 | 0.973 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 223 | Closure/closure/goog/ui/button.js |
2 | 4 | 215 | Closure/closure/goog/ui/colormenubutton.js |
3 | 3 | 1329 | Closure/closure/goog/ui/control.js |
4 | 4 | 65 | Closure/closure/goog/ui/custombutton.js |
5 | 6 | 102 | Closure/closure/goog/ui/filterobservingmenuitem.js |
6 | 4 | 751 | Closure/closure/goog/ui/menubutton.js |
7 | 4 | 121 | Closure/closure/goog/ui/menuitem.js |
8 | 3 | 111 | Closure/closure/goog/ui/tab.js |
9 | 4 | 62 | Closure/closure/goog/ui/toolbarbutton.js |
10 | 4 | 63 | Closure/closure/goog/ui/toolbarmenubutton.js |
11 | 5 | 191 | Closure/closure/goog/ui/tristatemenuitem.js |
| ||||
// Register a decorator factory function for goog.ui.Buttons. goog.ui.registry.setDecoratorByClassName(goog.ui.ButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.Button(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.ColorMenuButtons. goog.ui.registry.setDecoratorByClassName( goog.ui.ColorMenuButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.ColorMenuButton(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.Controls. goog.ui.registry.setDecoratorByClassName(goog.ui.ControlRenderer.CSS_CLASS, function ( ) { return new goog.ui.Control(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.CustomButtons. goog.ui.registry.setDecoratorByClassName(goog.ui.CustomButtonRenderer.CSS_CLASS, function ( ) { // CustomButton defaults to using CustomButtonRenderer. return new goog.ui.CustomButton(null); } ); |
| ||||
// Register a decorator factory function for // goog.ui.FilterObservingMenuItemRenderer. goog.ui.registry.setDecoratorByClassName( goog.ui.FilterObservingMenuItemRenderer.CSS_CLASS, function ( ) { // FilterObservingMenuItem defaults to using // FilterObservingMenuItemRenderer. return new goog.ui.FilterObservingMenuItem(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.MenuButtons. goog.ui.registry.setDecoratorByClassName(goog.ui.MenuButtonRenderer.CSS_CLASS, function ( ) { // MenuButton defaults to using MenuButtonRenderer. return new goog.ui.MenuButton(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.MenuItems. goog.ui.registry.setDecoratorByClassName(goog.ui.MenuItemRenderer.CSS_CLASS, function ( ) { // MenuItem defaults to using MenuItemRenderer. return new goog.ui.MenuItem(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.Tabs. goog.ui.registry.setDecoratorByClassName(goog.ui.TabRenderer.CSS_CLASS, function ( ) { return new goog.ui.Tab(null); } ); |
| ||||
// Registers a decorator factory function for toolbar buttons. goog.ui.registry.setDecoratorByClassName( goog.ui.ToolbarButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.ToolbarButton(null); } ); |
| ||||
// Registers a decorator factory function for toolbar menu buttons. goog.ui.registry.setDecoratorByClassName( goog.ui.ToolbarMenuButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.ToolbarMenuButton(null); } ); |
| ||||
// Register a decorator factory function for goog.ui.TriStateMenuItemRenderer. goog.ui.registry.setDecoratorByClassName( goog.ui.TriStateMenuItemRenderer.CSS_CLASS, function ( ) { // TriStateMenuItem defaults to using TriStateMenuItemRenderer. return new goog.ui.TriStateMenuItem(null); } ); |
| |||
// Register a decorator factory function for goog.ui.Buttons. // Register a decorator factory function for goog.ui.ColorMenuButtons. // Register a decorator factory function for goog.ui.Controls. // Register a decorator factory function for goog.ui.CustomButtons. // Register a decorator factory function for // goog.ui.FilterObservingMenuItemRenderer. // Register a decorator factory function for goog.ui.MenuButtons. // Register a decorator factory function for goog.ui.MenuItems. // Register a decorator factory function for goog.ui.Tabs. // Registers a decorator factory function for toolbar buttons. // Registers a decorator factory function for toolbar menu buttons. // Register a decorator factory function for goog.ui.TriStateMenuItemRenderer. goog.ui.registry.setDecoratorByClassName(goog.ui. [[#variable4862be80]].CSS_CLASS, function ( ) { // CustomButton defaults to using CustomButtonRenderer. // FilterObservingMenuItem defaults to using // FilterObservingMenuItemRenderer. // MenuButton defaults to using MenuButtonRenderer. // MenuItem defaults to using MenuItemRenderer. // TriStateMenuItem defaults to using TriStateMenuItemRenderer. return new goog.ui. [[#variable4862be40]](null); } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4862be80]] | ButtonRenderer |
1 | 2 | [[#4862be80]] | ColorMenuButtonRenderer |
1 | 3 | [[#4862be80]] | ControlRenderer |
1 | 4 | [[#4862be80]] | CustomButtonRenderer |
1 | 5 | [[#4862be80]] | FilterObservingMenuItemRenderer |
1 | 6 | [[#4862be80]] | MenuButtonRenderer |
1 | 7 | [[#4862be80]] | MenuItemRenderer |
1 | 8 | [[#4862be80]] | TabRenderer |
1 | 9 | [[#4862be80]] | ToolbarButtonRenderer |
1 | 10 | [[#4862be80]] | ToolbarMenuButtonRenderer |
1 | 11 | [[#4862be80]] | TriStateMenuItemRenderer |
2 | 1 | [[#4862be40]] | Button |
2 | 2 | [[#4862be40]] | ColorMenuButton |
2 | 3 | [[#4862be40]] | Control |
2 | 4 | [[#4862be40]] | CustomButton |
2 | 5 | [[#4862be40]] | FilterObservingMenuItem |
2 | 6 | [[#4862be40]] | MenuButton |
2 | 7 | [[#4862be40]] | MenuItem |
2 | 8 | [[#4862be40]] | Tab |
2 | 9 | [[#4862be40]] | ToolbarButton |
2 | 10 | [[#4862be40]] | ToolbarMenuButton |
2 | 11 | [[#4862be40]] | TriStateMenuItem |