if (this.source != null) {
if (this.extract == TableOrder.BY_ROW) {
result = this.source.getColumnCount();
}
else if (this.extract == TableOrder.BY_COLUMN) {
result = this.source.getRowCount();
if (this.source != null) {
if (this.extract == TableOrder.BY_ROW) {
result = this.source.getColumnKeys();
}
else if (this.extract == TableOrder.BY_COLUMN) {
result = this.source.getRowKeys();
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/data/category/CategoryToPieDataset.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/data/category/CategoryToPieDataset.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (this.source != null) {↵ | | 1 | if (this.source != null) {↵
|
2 | if (this.extract == TableOrder.BY_ROW) {↵ | | 2 | if (this.extract == TableOrder.BY_ROW) {↵
|
3 | result = this.source.getColumnCount();↵ | | 3 | result = this.source.getColumnKeys();↵
|
4 | }↵ | | 4 | }↵
|
5 | else if (this.extract == TableOrder.BY_COLUMN) {↵ | | 5 | else if (this.extract == TableOrder.BY_COLUMN) {↵
|
6 | result = this.source.getRowCount();↵ | | 6 | result = this.source.getRowKeys();↵
|
7 | | | 7 |
|
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 |