Question: How many code change commits are included in a change request?
The Change Request Commits metric counts the number of individual commits associated with a change request (such as a pull request). It lists each contributor who authored commits and includes references to parent commits. This count provides insights into repository activity patterns and the complexity of each change request: higher commit counts often signal complex or collaborative requests, potentially influencing the merging process and identifying contributors who actively work on more challenging changes.
This metric can also guide repository management by revealing local and community-wide patterns in change request sizes and participant counts. Understanding these patterns helps maintainers refine repository policies, spot outliers in commit behaviors, and assess inclusiveness by examining contributors who regularly submit commits through change requests. This metric may inform the diversity and inclusiveness of a project through exploration of the demographics of contributors who get commits accepted through a change request process.
Click to read more about this metric.
- Mining Git Logs — Use git logs to identify the commits associated with each change request.
- API Calls to Platforms — Retrieve data on commits and change requests from platform APIs, such as GitHub or GitLab.
- Lines of Code Added/Removed per Commit
- Change in Code Over Time — Measures the progression of changes in each commit.
- Iteration of Commits — Number of times the same file is modified in a change request.
- Files Changed per Commit
- Contributors per Commit
- Vinod Ahuja
- Kevin Lumbard
- Elizabeth Barron
- Sean Goggins
- Armstrong Foundjem
- Yigakpoa L. Samuel
To edit this metric please submit a Change Request here.
To reference this metric in software or publications, please use this stable URL: https://chaoss.community/?p=4731