At a fairly large company we have a number of teams that are not always the best at doing code reviews. These teams have come to us and asked us to provide some metrics that will help them set OKRs (i.e., team level goals). The interest here is not around making decisions. Instead these teams understand that they have an issue and want a motivating and trackable number to help incentivize them to get better.
Some metrics that we care about are
- time to first review from publish
- time to review given you reviewed it at all
- how often do revisions get accepted without change
These are especially interesting to know for a given code review approximate size.
Internally we already have tooling to track a fair amount of this and teams use this tool on a regular basis.
As an example of the type of data and dashboards we provide this is for my team: