double dy = (double)free_height / (double)total_height;
for (int r = 0; r < nrows; r++) {
row_heights[r] = (int) ((double)row_heights[r] * dy);
}
double dy = (double)free_height / (double)total_height;
for (int r = 0; r < nrows; r++) {
row_heights[r] = (int) ((double)row_heights[r] * dy);
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/installer/VariableGridLayout.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/VariableGridLayout.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | double dy = (double)free_height / (double)total_height;↵ | | 1 | double dy = (double)free_height / (double)total_height;↵
|
2 | for (int r = 0; r < nrows; r++) {↵ | | 2 | for (int r = 0; r < nrows; r++) {↵
|
3 | row_heights[r] = (int) ((double)row_heights[r] * dy);↵ | | 3 | row_heights[r] = (int) ((double)row_heights[r] * dy);↵
|
4 | } | | 4 | }
|
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 |