Skip to content

PR Health & Cycle Time

Track pull request patterns across your organization — size distributions, review velocity, and bottlenecks.

Size Distribution

PRs are classified into size buckets by both file count and lines of code:

By files changed:

BucketFiles
XS1-2
S3-5
M6-15
L16-30
XL30+

By lines of code:

BucketLOC
XS< 50
S50-199
M200-499
L500-999
XL1000+

Cycle Time Metrics

All time metrics use only merged PRs (need a complete lifecycle):

  • Time to first review: PR opened → first review received
  • Time to merge: PR opened → merged
  • Percentiles: p50, p75, p90 using linear interpolation

Track how PR patterns evolve week over week:

  • PR count per week
  • Average files changed
  • Average review time
  • Average merge time

Helps spot trends like growing PR sizes or slowing review cycles before they become problems.

Size-to-Review Correlation

ShipLens computes the Pearson correlation between PR size and time to first review. A strong positive correlation means larger PRs sit longer waiting for review — a sign your team may need to adopt smaller PR practices.

Per-Contributor Breakdown

PR stats grouped by author:

  • Average files changed
  • Average lines of code
  • Percentage of small PRs (XS + S)
  • Percentage of large PRs (L + XL)

Helps identify contributors who consistently ship small, reviewable PRs vs. those who create review bottlenecks.

Open PRs

Real-time view of currently open PRs across all projects:

  • Age (time since opened)
  • Size bucket
  • Time waiting for review
  • Sorted by staleness

Built with intelligence, not surveillance.