Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.980 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 200 | Closure/closure/goog/ui/style/app/buttonrenderer.js |
2 | 5 | 94 | Closure/closure/goog/ui/style/app/primaryactionbuttonrenderer.js |
| ||||
// Register a decorator factory function for goog.ui.style.app.ButtonRenderer. goog.ui.registry.setDecoratorByClassName( goog.ui.style.app.ButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.Button(null, goog.ui.style.app.ButtonRenderer.getInstance( )); } ); |
| ||||
// Register a decorator factory function for // goog.ui.style.app.PrimaryActionButtonRenderer. goog.ui.registry.setDecoratorByClassName( goog.ui.style.app.PrimaryActionButtonRenderer.CSS_CLASS, function ( ) { return new goog.ui.Button(null, goog.ui.style.app.PrimaryActionButtonRenderer.getInstance( )); } ); |
| |||
// Register a decorator factory function for goog.ui.style.app.ButtonRenderer. // Register a decorator factory function for // goog.ui.style.app.PrimaryActionButtonRenderer. goog.ui.registry.setDecoratorByClassName(goog.ui.style.app. [[#variable3edcb560]].CSS_CLASS, function ( ) { return new goog.ui.Button(null,goog.ui.style.app. [[#variable3edcb560]].getInstance( )); } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3edcb560]] | ButtonRenderer |
1 | 2 | [[#3edcb560]] | PrimaryActionButtonRenderer |