Analytics show how reviews affect your team’s throughput, from cycle time to how often engineers act on Sourcery’s comments. They live on the Analytics page in the dashboard and are included on every plan for GitHub organizations. GitLab accounts don’t have the Analytics page yet.
Most numbers cover the pull requests merged in the period you pick. Pull requests opened by dependency bots, such as Dependabot and Renovate, are left out.
Term Meaning Human review A review from a person. Sourcery review A review Sourcery posted, including each re-review after new commits. Accepted A Sourcery comment that a later Sourcery review found had been addressed.
Cycle time runs from opening a pull request to merging it. Dev cycle time starts at the first commit instead. Dev Cycle Time and Median Cycle Time per Week use dev cycle time; the rest use cycle time.
The stage charts split that time up:
Stage From To Pre-Review First commit Ready for review Pickup Ready for review First human review Review First human review First human approval Merge First human approval Merge
Metric What it means PRs Merged Pull requests merged in the period. Median Cycle Time Typical time from opening a pull request to merging it. Time to First Review Typical wait from ready for review to the first human review. Sourcery Acceptance Rate Share of Sourcery’s comments that were accepted. Median PR Size Typical lines added plus lines deleted. Human Review Coverage Share of merged pull requests that a person reviewed. PR Cycle Time by Stage How long each stage takes, week by week. Review Decision Distribution Human reviews by outcome: approved, commented, or changes requested. PRs Merged per Week Pull requests merged each week. PR Size Distribution How many merged pull requests fall in each size range.
Metric What it means Median Pre-Review Time Typical Pre-Review stage. Median Time to First Review Typical Pickup stage. Median Time to Approval Typical Review stage. Median Merge Time Typical Merge stage. Dev Cycle Time Typical time from the first commit to merge. Cycle Time Stages Over Time Each stage, week by week. PR Size vs Cycle Time Each merged pull request’s size against its cycle time. Cycle Time Distribution How many merged pull requests fall in each cycle-time range. PR Size Distribution How many merged pull requests fall in each size range. Recent PRs Merged pull requests with their size, cycle time, and stage times.
Metric What it means Sourcery Reviews Reviews Sourcery posted on the merged pull requests. Human Reviews Reviews people posted on the merged pull requests. Sourcery Comment Acceptance Share of Sourcery’s comments that were accepted. Human Review Coverage Share of merged pull requests that a person reviewed. Avg Revision Rounds Rounds of fixes after a reviewer requested changes, per pull request. Human Time to Review Typical wait from ready for review to the first human review. Human and Sourcery Reviews Total reviews and comments from Sourcery and from people. Review Decisions Sourcery’s and people’s reviews by outcome. Acceptance by Category Sourcery comments posted and accepted, by category. Acceptance Rate Trend Sourcery’s acceptance rate, week by week. Comment Status Breakdown Sourcery’s comments each week: accepted, resolved on GitHub, outdated, or still open. Sourcery Comment Details Each Sourcery comment and whether it was dealt with.
Metric What it means Active Developers People who merged a pull request in the period. Avg PRs/Dev/Week Pull requests each developer merges in a typical active week. Avg Coding Days/Week Days a developer commits in a typical active week. Active Reviewers People who reviewed a pull request in the period. Top PR Authors The developers who merged the most pull requests. Top Reviewers The people who reviewed the most pull requests. Developer Activity by Week Pull requests opened and merged, and reviews given, each week. Developer Metrics One row per developer.
Metric What it means Repositories Tracked Repositories with a pull request merged in the period. Most Active Repo The repository with the most merged pull requests. Slowest Repo The repository with the longest typical cycle time. Repos by PR Volume Repositories ranked by merged pull requests. Revert Rate by Repo Share of merged pull requests that revert an earlier change. Review Coverage by Repo Share of merged pull requests reviewed by anyone, and by a person. Repository Metrics One row per repository.
Review Coverage here counts Sourcery’s reviews, so a repository Sourcery reviews shows close to full coverage.
Metric What it means PRs Merged per Week Pull requests merged each week. Median Cycle Time per Week Typical dev cycle time, week by week. Median PR Size per Week Typical pull request size, week by week. Review Coverage per Week Share of merged pull requests reviewed by a person, and by Sourcery. Sourcery Acceptance Rate per Week Sourcery’s acceptance rate, week by week. Active Developers per Week People who merged a pull request each week. Time to First Review Typical wait for the first review from Sourcery, and from a person.
Run a pilot Use these numbers to judge a Sourcery trial. Plans What each plan includes.