if (this.useSeriesOffset) {
x1 = domainAxis.getCategorySeriesMiddle(dataset.getColumnKey(
column), dataset.getRowKey(row), dataset, this.itemMargin,
dataArea, plot.getDomainAxisEdge());
}
else {
x1 = domainAxis.getCategoryMiddle(column, getColumnCount(),
dataArea, plot.getDomainAxisEdge());
}
if (this.useSeriesOffset) {
x1 = domainAxis.getCategorySeriesMiddle(dataset.getColumnKey(
column), dataset.getRowKey(row), dataset,
this.itemMargin, dataArea, plot.getDomainAxisEdge());
}
else {
x1 = domainAxis.getCategoryMiddle(column, getColumnCount(),
dataArea, plot.getDomainAxisEdge());
}
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineAndShapeRenderer.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/ScatterRenderer.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (this.useSeriesOffset) {↵ | | 1 | if (this.useSeriesOffset) {↵
|
2 | x1 = domainAxis.getCategorySeriesMiddle(dataset.getColumnKey(↵ | | 2 | x1 = domainAxis.getCategorySeriesMiddle(dataset.getColumnKey(↵
|
3 | column), dataset.getRowKey(row), dataset, this.itemMargin,↵ | | 3 | column), dataset.getRowKey(row), dataset,↵
|
4 | dataArea, plot.getDomainAxisEdge());↵ | | 4 | this.itemMargin, dataArea, plot.getDomainAxisEdge());↵
|
5 | }↵ | | 5 | }↵
|
6 | else {↵ | | 6 | else {↵
|
7 | x1 = domainAxis.getCategoryMiddle(column, getColumnCount(),↵ | | 7 | x1 = domainAxis.getCategoryMiddle(column, getColumnCount(),↵
|
8 | dataArea, plot.getDomainAxisEdge());↵ | | 8 | dataArea, plot.getDomainAxisEdge());↵
|
9 | } | | 9 | }
|
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 |