2018-12-29

Tags: code-quality

Pull Request Size

I created Pull Request Size. It’s a GitHub app that you can install from here. It will tell you how large your Pull Requests are based on the lines of code changed.

Screenshot of pull-request-size

This is almost entirely borrowed from how kubernetes/kubernetes sizes their pull request, and it’s where I originally had the idea. I just managed to turn it into a GitHub application that anyone can install and use. You can find the Privacy Policy for the GitHub application here.

I’ve found that it’s a helpful reminder to always keep Pull Requests as small as possible! I think we know this scenario all too well.

10 lines of code = 10 issues.

500 lines of code = "looks fine."

Code reviews.

— I Am Devloper (@iamdevloper) November 5, 2013

The project is on github at https://github.com/noqcks/pull-request-size.