Coding Time

Coding time

Coding time is the span of elapsed time from the first commit on a branch until a pull request is created for that branch. This metric is computed for all branches, regardless of what was the source branch.


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.

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.