Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 2 | 0.968 | SourceElements[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 59 | Closure/closure/goog/editor/plugins/basictextformatter.js |
2 | 9 | 61 | Closure/closure/goog/editor/plugins/enterhandler.js |
3 | 9 | 43 | Closure/closure/goog/editor/plugins/headerformatter.js |
| ||||
/** * Functions to style text (e.g. underline, make bold, etc.) * @constructor * @extends {goog.editor.Plugin} */ goog.editor.plugins.BasicTextFormatter= function ( ) { goog.editor.Plugin.call(this ); } ; goog.inherits(goog.editor.plugins.BasicTextFormatter, goog.editor.Plugin); /** @inheritDoc */ goog.editor.plugins.BasicTextFormatter.prototype.getTrogClassId= function ( ) { return 'BTF'; } ; |
| ||||
/** * Plugin to handle enter keys. This does all the crazy to normalize (as much as * is reasonable) what happens when you hit enter. This also handles the * special casing of hitting enter in a blockquote. * * In IE and Safari, the resulting HTML uses one DIV tag per line. In FireFox, * the resulting HTML uses BR tags at the end of each line. * * @constructor * @extends {goog.editor.Plugin} */ goog.editor.plugins.EnterHandler= function ( ) { goog.editor.Plugin.call(this ); } ; goog.inherits(goog.editor.plugins.EnterHandler, goog.editor.Plugin); /** @inheritDoc */ goog.editor.plugins.EnterHandler.prototype.getTrogClassId= function ( ) { return 'EnterHandler'; } ; |
| ||||
/** * Applies header styles to text. * @constructor * @extends {goog.editor.Plugin} */ goog.editor.plugins.HeaderFormatter= function ( ) { goog.editor.Plugin.call(this ); } ; goog.inherits(goog.editor.plugins.HeaderFormatter, goog.editor.Plugin); /** @inheritDoc */ goog.editor.plugins.HeaderFormatter.prototype.getTrogClassId= function ( ) { return 'HeaderFormatter'; } ; |
| |||
/** * Applies header styles to text. * @constructor * @extends {goog.editor.Plugin} */ /** * Plugin to handle enter keys. This does all the crazy to normalize (as much as * is reasonable) what happens when you hit enter. This also handles the * special casing of hitting enter in a blockquote. * * In IE and Safari, the resulting HTML uses one DIV tag per line. In FireFox, * the resulting HTML uses BR tags at the end of each line. * * @constructor * @extends {goog.editor.Plugin} */ /** * Functions to style text (e.g. underline, make bold, etc.) * @constructor * @extends {goog.editor.Plugin} */ goog.editor.plugins. [[#variable2120b5a0]]= function ( ) { goog.editor.Plugin.call(this ); } ; goog.inherits(goog.editor.plugins. [[#variable2120b5a0]],goog.editor.Plugin); /** @inheritDoc */ goog.editor.plugins. [[#variable2120b5a0]].prototype.getTrogClassId= function ( ) { return [[#variable2120b500]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2120b5a0]] | HeaderFormatter |
1 | 2 | [[#2120b5a0]] | EnterHandler |
1 | 3 | [[#2120b5a0]] | BasicTextFormatter |
2 | 1 | [[#2120b500]] | 'HeaderFormatter' |
2 | 2 | [[#2120b500]] | 'EnterHandler' |
2 | 3 | [[#2120b500]] | 'BTF' |