Bug: wrong data in some charts
Similar to #485 (closed), many of the graphs and metrics related to closed reviews show bad data when there are GitLab repositories added to the project.
This is due to the fact that the indexes associated with GitLab repositories present the merged_at
field to differentiate the merged reviews from the declined ones (closed).
The metrics and graphs with errors detected for this cause are the following:
- Pull/Merge requests closed (metric)
- Reviews closed by weekday (chart)
- Reviews Closed Heatmap (chart)
- Mean and median duration (days) of all closed reviews (chart) (This one is hard to fix)
- Time to close (Reviews closed) (chart)
- Time open (average) (metric)
- Time open (median) (metric)
- Open reviews (metric)
- Reviews closed/created ratio (chart)
Also, some of these charts have a twin sister on the project comparison page (some of these with different functions), so they would have to be modified as well.