1

Codacy Product Showcase: April 2024

Group 370
2

Codacy Security Adds Thousands of New SAST Rules With Semgrep Integration

Group 370
3

Open source projects: merging schedules

In this article:
Subscribe to our blog:

When do open source projects merge their pull requests?

I was curious about the merging time patterns of pull requests from open source projects. So I extracted all the merging events from Github during the month of October, and plotted them. A total of 441,927 merged pull requests were analyzed (here’s the data).

Let’s take a look into it.

open source projects
Number of pull request merges per hour

You can see that there’s an interesting build up during the day.

Teams prefer to merge their pull requests during the afternoon.

As the day moves on, there is a merging build up in an interesting saw effect.

3pm seems to be the prefered time to merge.

Number of pull request merges per day of the week
Number of pull request merges per day of the week

If we turn attention to the days of the week we also see some interesting data points come out.

Developers prefer to merge on Thursdays and there’s a clear build up from Monday to Thursday and then it comes down on Friday.

There’s a surprising number of merges in the weekend. This might be something present in open source projects but maybe not true for all industry.

Looking at this chart, you can also see when features/bug fixes tend to be finished. Teams prefer to finish features on Thursday.

This might be interesting also because it shows clear preference between hours of the day and days of the week. So the next time you’re planning your sprint, bear this in mind.


Edit: We just published an ebook: “The Ultimate Guide to Code Review” based on a survey of 680+ developers. Enjoy!


About Codacy

Codacy is used by thousands of developers to analyze billions of lines of code every day!

Getting started is easy – and free! Just use your  GitHub, Bitbucket or Google account to sign up.

GET STARTED

RELATED
BLOG POSTS

Visualizing pull request lifespan vs programming languages
The way pull requests are made, closed and merged has been intriguing me for a while. Pull requests have slowly become the standard flow of operations...
Open pull request: what would happened if you merged all open PR?
We really don’t know what would happen if we merged all open pull request (PR).
How to avoid merge pull request limbo
Sometimes git merge pull requests can take time and become long-lived, a source of frustration for many developers. Long-lived pull requests are pull...

Automate code
reviews on your commits and pull request

Group 13