PR Size


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.


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:

Engineering Analytics to boost developer productivity

SOC2 monitoring powered by Vanta
GDPR monitoring powered by Vanta