Commits per day
Commits per day
Commits per day is the average number of commits a developer creates per Coding day.
Which reports use Commits per day?
Find Commits per day in:
What does Commits per day measure?
Use Commits per day to gain insights into an engineer’s work habits. Encourage engineers to make small commits frequently. This allows them to test often and take mental breaks. Small and frequent commits also help maintain good code quality and keep PR reviews easy to understand for reviewers.
How is Commits per day calculated?
Commits per day is calculated as the total number of included commits divided by the total number of Coding days for the selected time period.
Average Commits per day = Number of commits/Number of Coding days
Flow calculates Commits per day for individuals and teams.
For individual calculations, included commits is the total number of included commits for one engineer. Coding days is the total number of Coding days for that engineer.
For organization and team calculations, included commits is the total number of included commits for each engineer. Coding days is the total number of Coding days for each engineer.
Example Commits per day calculation
Let's say we have two engineers on a team. One engineer codes three days in a particular week with a total of 10 commits. The other code was one day in that same week, with a total of two commits. The following week, the first engineer takes some much-needed time off and therefore does not make any commits. The second engineer codes for five days with a total of 14 commits.
Here's how Flow calculates the Commits per day for that team:
Calculate total Coding days. Flow sums the total Coding days of each team member during the time period. Here, the total Coding days would be
3 + 1 + 5 = 9.Calculate total commits. Flow sums the total commits of each team member during the time period. Here, the total commits would be
10 + 2 + 14 = 26.Calculate Commits per day. Flow divides the total commits by the total Coding days. Here, we get
26 / 9 = 2.88Commits per day.
What data is included in Commits per day?
Commits per day include commits that are:
By a user who isn’t excluded from reports or by a hidden user
By a user who is a contributor on a team, when looking at team reports
Not excluded by outlier detection
Not a merge commit
Not in a deleted branch or orphaned
Need support? Create a request with our support team.
