PR Size

What

This metric gives the average size of the PR (or LoC changes). This helps understand the impact of the PR, the time taken to review, the risk involved, time to pickup, and more. This metric also shows on graph the Industry best practice level of the LoC per PR (~300LoC).

The changes in the lines of code (both additions, deletions) are included in this metric and indicates the size of the pull request.

Why

Smaller PR sizes are always preferred because:

  1. Carry less risk as changes are minimal
  2. Easier to review because of number of changes
  3. Faster pickup times because of less risk, and easier to review

Subscribe to Hatica's blog

Get bi-weekly emails with the latest from Hatica's blog

Share this article:

Ready to dive in? Start your free trial today

Overview dashboard from Hatica