Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.963 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 285 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LayeredBarRenderer.java |
2 | 10 | 431 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LayeredBarRenderer.java |
| |||||
double widthFactor = 1.0; double seriesBarWidth = getSeriesBarWidth(row); if ( !Double.isNaN(seriesBarWidth)) { widthFactor = seriesBarWidth; } rectHeight = widthFactor * state.getBarWidth(); rectY = rectY + (1 - widthFactor) * state.getBarWidth() / 2.0; if (seriesCount > 1) { shift = rectHeight * 0.20 / (seriesCount - 1); } |
| |||||
double widthFactor = 1.0; double seriesBarWidth = getSeriesBarWidth(row); if ( !Double.isNaN(seriesBarWidth)) { widthFactor = seriesBarWidth; } rectWidth = widthFactor * state.getBarWidth(); rectX = rectX + (1 - widthFactor) * state.getBarWidth() / 2.0; if (seriesCount > 1) { // needs to be improved !!! shift = rectWidth * 0.20 / (seriesCount - 1); } |
| |||
double widthFactor = 1.0; double seriesBarWidth = getSeriesBarWidth(row); if ( !Double.isNaN(seriesBarWidth)) { widthFactor = seriesBarWidth; } [[#variable18d19260]]= widthFactor * state.getBarWidth(); [[#variable18d22540]]= [[#variable18d22540]] + (1 - widthFactor) * state.getBarWidth() / 2.0; if (seriesCount > 1) { // needs to be improved !!! shift = [[#variable18d19260]] * 0.20 / (seriesCount - 1); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d19260]] | rectHeight |
1 | 2 | [[#18d19260]] | rectWidth |
2 | 1 | [[#18d22540]] | rectY |
2 | 2 | [[#18d22540]] | rectX |