KPI Tree

GitHub Metric

Engineering

PR Approval Rate = PRs Approved on First Review / Total PRs Reviewed × 100

Pull Request Approval Rate measures the percentage of pull requests that are approved without requiring changes on their first review cycle. A high rate indicates well-aligned coding standards, effective planning, and good communication between authors and reviewers.

GitHubEngineering

Pull Request Approval Rate

Pull Request Approval Rate measures the percentage of pull requests that are approved without requiring changes on their first review cycle. A high rate indicates well-aligned coding standards, effective planning, and good communication between authors and reviewers.

How to calculate pull request approval rate

PR Approval Rate = PRs Approved on First Review / Total PRs Reviewed × 100

Why pull request approval rate matters for GitHub users

A low first-review approval rate signals misalignment between what authors produce and what reviewers expect. This wastes time on both sides - authors rework code while reviewers re-review, extending cycle times and reducing throughput.

For GitHub teams, tracking approval rate reveals whether coding standards are clear, whether PR descriptions provide sufficient context, and whether pair programming or design reviews upstream could prevent downstream churn.

Understand and act on pull request approval rate with KPI Tree

Sync pull request review data from GitHub into your warehouse and compute approval rate in KPI Tree. Link it to code review quality score and cycle time to understand its impact on delivery speed.

Assign RACI ownership to team leads and use the metric to guide improvements in PR templates, coding standards documentation, and upstream collaboration practices.

Get started with your GitHub data

Query using MCP
MCP

Pull metrics from GitHub directly through the Model Context Protocol.

Data Warehouse
SnowflakeBigQueryDatabricksRedshift

Connect your existing warehouse where GitHub data already lands.

Professional Services
FivetranSnowflakedbt

Our professional services team can build you turn-key AI foundations in a matter of weeks. Data warehouse on Snowflake/BigQuery, ELT with Fivetran, all modelled in dbt with a semantic layer.

Related GitHub metrics

Code Review Quality Score

Engineering

Metric Definition

Code Review Quality Score evaluates the substantiveness of pull request reviews by weighting factors such as comment depth, suggestions made, files reviewed versus files changed, and time spent. It distinguishes meaningful reviews from rubber-stamp approvals. Higher scores correlate with fewer post-merge defects.

View metric

Code Review Velocity

Engineering

Metric Definition

Code Review Velocity = Median(First Review Timestamp − PR Ready Timestamp)

Code Review Velocity measures the elapsed time from when a pull request is opened or marked ready for review to when the first substantive review is submitted. It is a key driver of lead time for changes. Long review waits are one of the most common causes of developer context-switching.

View metric

Pull Request Bottleneck Analysis

Engineering

Metric Definition

Pull Request Bottleneck Analysis examines the stages of the PR lifecycle - authoring, review wait, review-in-progress, CI execution, and merge - to identify where delays accumulate. It transforms aggregate cycle time into an actionable breakdown that pinpoints specific process failures.

View metric

Code Churn Rate

Engineering

Metric Definition

Code Churn Rate = Lines Re-changed Within N Days / Total Lines Changed × 100

Code Churn Rate quantifies the percentage of lines changed within a short window after their initial commit. High churn often indicates unclear requirements, premature coding, or inadequate design reviews. It is a proxy for wasted engineering effort.

View metric

Empower your team to understand and act on GitHub data

Map what drives your metrics, measure progress at any grain, prove what works statistically, and deliver personalised action plans to every team member.

Experience That Matters

Built by a team that's been in your shoes

Our team brings deep experience from leading Data, Growth and People teams at some of the fastest growing scaleups in Europe through to IPO and beyond. We've faced the same challenges you're facing now.

Checkout.com
Planet
UK Government
Travelex
BT
Sainsbury's
Goldman Sachs
Dojo
Redpin
Farfetch
Just Eat for Business