Documentation

Metric Definitions

This section describes how each metric is calculated. Metrics are calculated using all repositories that you have permitted the Github App access to.

Merge Rate

Total number of pull requests merged divided by the total number of weekdays in a given timeframe.

Comment Rate

Total number of comments issued divided by the number of opened pull requests for a given timeframe.

Pick Up Time

Average amount of time that pull requests spend awaiting a first review. Reviews by Bots are excluded.

Average PR Size

Average number of lines of code changed for pull requests opened during a given timeframe.

PRs with 2500+ lines of code are excluded.

PR Review Breakdown

Total number of PR reviews issued by review type: approval, changes requested, or commented.

Open-to-Approval Time

Average amount of time that PRs spend waiting for approval to be merged.

Open-to-Merge Time

Average amount of time that PRs sit in the 'open' state before being merged. Closed PRs are excluded.

Webhooks

The Github App works by consuming webhooks from Github. In the event that Github has an outage impacting webhooks, and is unable to deliver webhooks, data for any Github activity that occurred during the duration of the outage will also be missing from GitInsights.

Historic Data

The Github App will begin consuming webhooks to build metrics going forward from the time at which the Github App is installed. The Github App will also fetch metrics/activity for the prior 30 days. One caveat: historic data (pull requests and associated reviews/comments) will only be fetched for the default branches of your repositories.

© 2024 GitInsights. All Rights Reserved.

Home Terms of Service Privacy Policy Support Documentation