Skip to content

Create a service method to fetch each type of statistic

This is a collective issue. The checkboxes in this issue indicate whether an issue already exists for that sub-issue. To work on any of the checked sub-issues, navigate to the related issue and assign yourself. To work on any of the unchecked sub-issues, create an issue for it, assign yourself, and check it here. Once all items are checked, this issue can be closed.

We have identified the following list of statistics:

  • MRs created
  • Reviews done
  • Commits made
  • Lines of code added, removed, modified, survived -> comments, empty, code
  • Comments on issues, MRs -> length
  • MR approvals
  • Pipeline results
  • Test coverage
  • MR numbers (open, closed, merged)
  • Issues assigned, closed, created
  • Time tracking
  • Weights
  • Distribution
  • Labels
  • Commit messages
  • Languages used
  • Dates
  • Hour of day work -> "work hours"
  • Epics created, comments
  • Contribution per epic

Task description

  • For the statistic, add a service method to retrieve the data.
  • Return from the method only the relevant data for displaying and filtering.
  • You can return a record if #76 (closed) is not done yet, otherwise return the appropriate data corresponding to the solution described there.
  • If the functionality already exists, you do not have to do anything
Edited by Oana Milchi