| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 19 | 2 | 4 | 0.972 | Cases[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 19 | 729 | Closure/closure/goog/ui/container.js |
| 2 | 19 | 749 | Closure/closure/goog/ui/container.js |
| ||||
case goog.events.KeyCodes.UP:
if (this.orientation_== goog.ui.Container.Orientation.VERTICAL) {
this.highlightPrevious( );
}
else {
return false;
}
break;
case goog.events.KeyCodes.LEFT:
if (this.orientation_== goog.ui.Container.Orientation.HORIZONTAL) {
if (this.isRightToLeft( )){
this.highlightNext( );
}
else {
this.highlightPrevious( );
}
}
else {
return false;
}
break;
|
| ||||
case goog.events.KeyCodes.DOWN:
if (this.orientation_== goog.ui.Container.Orientation.VERTICAL) {
this.highlightNext( );
}
else {
return false;
}
break;
case goog.events.KeyCodes.RIGHT:
if (this.orientation_== goog.ui.Container.Orientation.HORIZONTAL) {
if (this.isRightToLeft( )){
this.highlightPrevious( );
}
else {
this.highlightNext( );
}
}
else {
return false;
}
break;
|
| |||
case goog.events.KeyCodes. [[#variable1f1247e0]]:
if (this.orientation_==goog.ui.Container.Orientation.VERTICAL)
{ this. [[#variable1f125400]]( );
}
else
{ return false;
}
break;
case goog.events.KeyCodes. [[#variable1f125440]]:
if (this.orientation_==goog.ui.Container.Orientation.HORIZONTAL)
{ if (this.isRightToLeft( ))
{ this. [[#variable1f1251e0]]( );
}
else
{ this. [[#variable1f125400]]( );
}
}
else
{ return false;
}
break;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1f1247e0]] | DOWN |
| 1 | 2 | [[#1f1247e0]] | UP |
| 2 | 1 | [[#1f125400]] | highlightNext |
| 2 | 2 | [[#1f125400]] | highlightPrevious |
| 3 | 1 | [[#1f125440]] | RIGHT |
| 3 | 2 | [[#1f125440]] | LEFT |
| 4 | 1 | [[#1f1251e0]] | highlightPrevious |
| 4 | 2 | [[#1f1251e0]] | highlightNext |