How it works
The review efficiency index is a composite metric that combines three code review metrics into a single 0-100 score. It helps you understand how effective your team’s code review process is by measuring resolution rates, review quality, and turnaround time. A higher score indicates a more effective review process - comments are being resolved, reviews are high quality, and turnaround is fast.Calculation
The review efficiency index uses percentile-based normalization to combine metrics with different scales. Each component is converted to a percentile rank (0-100) based on global benchmarks, then combined with equal weighting by default. Admins can change the weights for the organization or a team under Settings → Weights → Metrics. Formula:Component metrics
Percentile normalization
Since these metrics have different scales (percentages, scores, time), we convert each to a percentile rank before combining them:- Your value is compared against global benchmark data from all organizations
- A percentile rank (0-100) indicates where you fall in that distribution
- For “lower is better” metrics (turnaround time), the percentile is inverted so that higher always means better
Technical details
How are components calculated?
How are components calculated?
Comment resolution rate
- Measures the percentage of suggestion comments that the PR author addressed with a later commit or a clear reply
- Formula:
Resolved Comments / Total Suggestion Comments
- Uses a sigmoid transformation to scale raw review ratings to 0-100
- Formula:
100 / (1 + e^(-(rating - 800) / 250)) - A rating of 800 maps to approximately 50
- See review quality for more details
- Measures the median time from a review request to the review, or from the latest code update if your organization tracks turnaround from code updates
- See review turnaround for more details
What if a component is missing?
What if a component is missing?
All three component metrics must be present to calculate the efficiency index. If any component is missing for a given time period, that data point is skipped.This ensures the score is always based on complete data rather than partial calculations.
What data sources are used?
What data sources are used?
The review efficiency index pulls data from:
- GitHub
- GitLab
- Bitbucket
