else if (orientation == PlotOrientation.VERTICAL) {
double h = usableSize * plot.getWeight() / this.totalWeight;
this.subplotAreas[i] = new Rectangle2D.Double(x, y,
adjustedPlotArea.getWidth(), h);
y = y + h + this.gap;
else if (orientation == PlotOrientation.HORIZONTAL) {
double h = usableSize * plot.getWeight() / this.totalWeight;
this.subplotArea[i] = new Rectangle2D.Double(x, y,
adjustedPlotArea.getWidth(), h);
y = y + h + this.gap;
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedDomainXYPlot.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeCategoryPlot.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | else if (orientation == PlotOrientation.VERTICAL) {↵ | | 1 | else if (orientation == PlotOrientation.HORIZONTAL) {↵
|
2 | double h = usableSize * plot.getWeight() / this.totalWeight;↵ | | 2 | double h = usableSize * plot.getWeight() / this.totalWeight;↵
|
3 | this.subplotAreas[i] = new Rectangle2D.Double(x, y,↵ | | 3 | this.subplotArea[i] = new Rectangle2D.Double(x, y, ↵
|
4 | adjustedPlotArea.getWidth(), h);↵ | | 4 | adjustedPlotArea.getWidth(), h);↵
|
5 | y = y + h + this.gap;↵ | | 5 | y = y + h + this.gap;↵
|
6 | | | 6 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |