Docs
Coding Time

Coding time

Coding Time is the span of elapsed time from the first commit on a branch until a pull request is ready for review. For draft PRs, Coding Time includes the entire period the PR remains in draft status. This metric is computed for all branches, regardless of the source branch.

Coding-time

Computation of the metric

  1. Computed using the commit and pull request activity.
  2. GIT/VCS tools provide the data used to analyse the commit activity, i.e., first commit timestamp to PR creation time. GIT/VCS tools provide the data used to analyze the commit activity, measuring from the first commit timestamp to the time when the PR is moved from draft to ready-for-review.

Industry benchmarks

  1. For most high-performing teams, coding time <2 days.

Dashboards where this metric is used

  1. Dev Metric Grid
  2. Dev Cycle time

Use cases of this metric

  1. Coding time metrics highlight areas of the codebase that require frequent changes due to low quality, enabling targeted improvements.
  2. Longer coding times for unfamiliar contributors indicate the need for additional support or training to reduce learning curves.
  3. Monitoring coding time helps track the impact of poorly specced tasks and changing requirements, prompting clearer task definitions to streamline coding processes.