Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 4 | 0.959 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1078 | Closure/closure/goog/ui/tree/basenode.js |
2 | 3 | 1087 | Closure/closure/goog/ui/tree/basenode.js |
3 | 3 | 1117 | Closure/closure/goog/ui/tree/basenode.js |
4 | 3 | 1126 | Closure/closure/goog/ui/tree/basenode.js |
5 | 3 | 297 | Closure/closure/goog/ui/tree/treecontrol.js |
| ||||
/** * @return {Element} The row is the div that is used to draw the node without * the children. */ goog.ui.tree.BaseNode.prototype.getRowElement= function ( ) { var el= this.getElement( ); return el ? /** @type {Element} */ (el.firstChild) : null; } ; |
| ||||
/** * @return {Element} The expanded icon element. */ goog.ui.tree.BaseNode.prototype.getExpandIconElement= function ( ) { var el= this.getRowElement( ); return el ? /** @type {Element} */ (el.firstChild) : null; } ; |
| ||||
/** * @return {Element} The element after the label. */ goog.ui.tree.BaseNode.prototype.getAfterLabelElement= function ( ) { var el= this.getRowElement( ); return el ? /** @type {Element} */ (el.lastChild) : null; } ; |
| ||||
/** * @return {Element} The div containing the children. */ goog.ui.tree.BaseNode.prototype.getChildrenElement= function ( ) { var el= this.getElement( ); return el ? /** @type {Element} */ (el.lastChild) : null; } ; |
| ||||
/** * @return {Element} The icon element. */ goog.ui.tree.TreeControl.prototype.getIconElement= function ( ) { var el= this.getRowElement( ); return el ? /** @type {Element} */ (el.firstChild) : null; } ; |
| |||
/** * @return {Element} The expanded icon element. */ /** * @return {Element} The div containing the children. */ /** * @return {Element} The element after the label. */ /** * @return {Element} The row is the div that is used to draw the node without * the children. */ /** * @return {Element} The icon element. */ goog.ui.tree. [[#variable574f4b60]].prototype. [[#variable574f49c0]]= function ( ) { var el=this. [[#variable574f47e0]]( ); return el ? /** @type {Element} */ (el. [[#variable574f4840]]) :null; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#574f4b60]] | BaseNode |
1 | 2 | [[#574f4b60]] | BaseNode |
1 | 3 | [[#574f4b60]] | BaseNode |
1 | 4 | [[#574f4b60]] | BaseNode |
1 | 5 | [[#574f4b60]] | TreeControl |
2 | 1 | [[#574f49c0]] | getExpandIconElement |
2 | 2 | [[#574f49c0]] | getChildrenElement |
2 | 3 | [[#574f49c0]] | getAfterLabelElement |
2 | 4 | [[#574f49c0]] | getRowElement |
2 | 5 | [[#574f49c0]] | getIconElement |
3 | 1 | [[#574f47e0]] | getRowElement |
3 | 2 | [[#574f47e0]] | getElement |
3 | 3 | [[#574f47e0]] | getRowElement |
3 | 4 | [[#574f47e0]] | getElement |
3 | 5 | [[#574f47e0]] | getRowElement |
4 | 1 | [[#574f4840]] | firstChild |
4 | 2 | [[#574f4840]] | lastChild |
4 | 3 | [[#574f4840]] | lastChild |
4 | 4 | [[#574f4840]] | firstChild |
4 | 5 | [[#574f4840]] | firstChild |