Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.969 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 844 | Closure/closure/goog/ui/serverchart.js |
2 | 4 | 899 | Closure/closure/goog/ui/serverchart.js |
| ||||
/** * @return {boolean} Whether the chart is a grouped bar chart. */ goog.ui.ServerChart.prototype.isGroupedBarChart= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.HORIZONTAL_GROUPED_BAR ||type== goog.ui.ServerChart.ChartType.VERTICAL_GROUPED_BAR; } ; |
| ||||
/** * @return {boolean} Whether the chart is a vertical bar chart. */ goog.ui.ServerChart.prototype.isVerticalBarChart= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.VERTICAL_GROUPED_BAR ||type== goog.ui.ServerChart.ChartType.VERTICAL_STACKED_BAR; } ; |
| |||
/** * @return {boolean} Whether the chart is a vertical bar chart. */ /** * @return {boolean} Whether the chart is a grouped bar chart. */ goog.ui.ServerChart.prototype. [[#variable58167f80]]= function ( ) { var type=this.getType( ); return type==goog.ui.ServerChart.ChartType. [[#variable58167f20]] || type==goog.ui.ServerChart.ChartType. [[#variable58167da0]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58167f80]] | isVerticalBarChart |
1 | 2 | [[#58167f80]] | isGroupedBarChart |
2 | 1 | [[#58167f20]] | VERTICAL_GROUPED_BAR |
2 | 2 | [[#58167f20]] | HORIZONTAL_GROUPED_BAR |
3 | 1 | [[#58167da0]] | VERTICAL_STACKED_BAR |
3 | 2 | [[#58167da0]] | VERTICAL_GROUPED_BAR |