Cycle Time

The Cycle Time metric is an indicator of an organization's development velocity.

The Cycle Time indicates an organization's development velocity. The Cycle Time is the sum of four metrics, each of these metrics corresponding to a stage in the software development process:

3180

Metric Breakdown

CODING - Time to Issue PR from First Commit. This metric corresponds to the coding time and is the time elapsed from the first commit to creating a PR.

PICKUP - Time to First Review. This metric indicates how fast reviewers pick up their peers' PRs for review and is the time between when a PR is opened and the first time an engineer reviews that PR.

REVIEW - Time to Merge from First Review. This metric signifies how fast do submitters incorporate feedback from their peers in code review and is the time from a PR's first review to that PR being merged.

DEPLOY - Time to Deploy from Merge. This metric is an indicator of how fast code gets deployed into production and is the time between when a PR is merged to when it gets released into production.

What does each color indicate?

We've aggregated benchmark values from our platform for each stage of the cycle time. Green bars indicate leading values, yellow bars indicate average values, and red bars indicate below-average values.

  • For CODING:

Green: Less than 48 hours

Yellow: Between 48 and 72 hours

Red: More than 72 hours

  • For PICKUP:

Green: Less than 24 hours

Yellow: Between 24 and 72 hours

Red: More than 72 hours

  • For REVIEW:

Green: Less than 24 hours

Yellow: Between 24 and 72 hours

Red: More than 72 hours

  • For DEPLOY:

Green: Less than 10 hours

Yellow: Between 10 and 24 hours

Red: More than 24 hours

Pull Request Breakdown

To view the Pull Request breakdown of all the PRs analyzed in the selected time frame scroll down. Expand the Pull Request to find more data, such as commits, deploys, issues, and reviews associated with the PR, as well as the Lead Time of the Pull Request. There is also an option to ignore the PR so that it won't impact the Cycle Time.

On the right side of every PR, there is a "More" button, which you can click to expand the PR and a modal will appear, containing more information.

3018

PR Modal

  • On the left, all PRs from that category, grouped by repository.
  • Branch for the PR.
  • Status of the PR.
  • Time to first comment.
  • Open/Closed dates.
  • Work level - bars get filled based on difficulty.
  • The Cycle Time of the PR.
  • Risk: High/Medium/Low.
  • Description of the PR - follow the best practices.
  • Commits: the commits linked to the PR with an overview and a link to the commit.
  • Reviews: Reviewers are listed here.
  • Comments: All the comments for the PR.
  • Tickets: The tickets linked to the PR.
  • Deploys.

The modal also contains a "Go to commit" button when expanding specific commits, which takes you directly to the commit page in the Git Provider.

1601

Ignore Pull Requests

To ignore a pull request from the Cycle Time calculation you have two options:

  1. Exclude them from the list by selecting any number of PRs that you want ignored and then click on Exclude Selected Pull Requests from Metrics.

šŸ“˜

To add the PRs back to the calculation select them from the list and click on Include Selected Pull Requests in Metrics.

  1. By clicking on More to open the modal, you will have the option to Ignore the Pull Request by clicking on the three-dot menu in the Risk section.