Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 4 | 0.967 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 833 | Closure/closure/goog/ui/serverchart.js |
2 | 5 | 854 | Closure/closure/goog/ui/serverchart.js |
3 | 5 | 877 | Closure/closure/goog/ui/serverchart.js |
4 | 5 | 888 | Closure/closure/goog/ui/serverchart.js |
| ||||
/** * @return {boolean} Whether the chart is a pie chart. */ goog.ui.ServerChart.prototype.isPieChart= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.PIE ||type== goog.ui.ServerChart.ChartType.PIE3D ||type== goog.ui.ServerChart.ChartType.CONCENTRIC_PIE; } ; |
| ||||
/** * @return {boolean} Whether the chart is a horizontal bar chart. */ goog.ui.ServerChart.prototype.isHorizontalBarChart= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.BAR ||type== goog.ui.ServerChart.ChartType.HORIZONTAL_GROUPED_BAR ||type== goog.ui.ServerChart.ChartType.HORIZONTAL_STACKED_BAR; } ; |
| ||||
/** * @return {boolean} Whether the chart is a map. */ goog.ui.ServerChart.prototype.isMap= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.MAP ||type== goog.ui.ServerChart.ChartType.MAPUSA ||type== goog.ui.ServerChart.ChartType.MAPWORLD; } ; |
| ||||
/** * @return {boolean} Whether the chart is a stacked bar chart. */ goog.ui.ServerChart.prototype.isStackedBarChart= function ( ) { var type= this.getType( ); return type== goog.ui.ServerChart.ChartType.BAR ||type== goog.ui.ServerChart.ChartType.HORIZONTAL_STACKED_BAR ||type== goog.ui.ServerChart.ChartType.VERTICAL_STACKED_BAR; } ; |
| |||
/** * @return {boolean} Whether the chart is a stacked bar chart. */ /** * @return {boolean} Whether the chart is a map. */ /** * @return {boolean} Whether the chart is a horizontal bar chart. */ /** * @return {boolean} Whether the chart is a pie chart. */ goog.ui.ServerChart.prototype. [[#variable60cea320]]= function ( ) { var type=this.getType( ); return type==goog.ui.ServerChart.ChartType. [[#variable60cea2c0]] || type==goog.ui.ServerChart.ChartType. [[#variable60cea260]] || type==goog.ui.ServerChart.ChartType. [[#variable60cea200]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60cea320]] | isStackedBarChart |
1 | 2 | [[#60cea320]] | isMap |
1 | 3 | [[#60cea320]] | isHorizontalBarChart |
1 | 4 | [[#60cea320]] | isPieChart |
2 | 1 | [[#60cea2c0]] | BAR |
2 | 2 | [[#60cea2c0]] | MAP |
2 | 3 | [[#60cea2c0]] | BAR |
2 | 4 | [[#60cea2c0]] | PIE |
3 | 1 | [[#60cea260]] | HORIZONTAL_STACKED_BAR |
3 | 2 | [[#60cea260]] | MAPUSA |
3 | 3 | [[#60cea260]] | HORIZONTAL_GROUPED_BAR |
3 | 4 | [[#60cea260]] | PIE3D |
4 | 1 | [[#60cea200]] | VERTICAL_STACKED_BAR |
4 | 2 | [[#60cea200]] | MAPWORLD |
4 | 3 | [[#60cea200]] | HORIZONTAL_STACKED_BAR |
4 | 4 | [[#60cea200]] | CONCENTRIC_PIE |