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
- Computed using the commit and pull request activity.
- GIT/VCS tools provide the data used to analyse the commit activity, i.e., first commit timestamp to PR creation time.
Industry benchmarks
- For most high-performing teams, coding time <2 days.
Dashboards where this metric is used
- Dev Metric Grid
- Dev Cycle time
Use cases of this metric
- Coding time metrics highlight areas of the codebase that require frequent changes due to low quality, enabling targeted improvements.
- Longer coding times for unfamiliar contributors indicate the need for additional support or training to reduce learning curves.
- Monitoring coding time helps track the impact of poorly specced tasks and changing requirements, prompting clearer task definitions to streamline coding processes.