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:
Hatica logoEngineering Analytics to boost developer productivity
SOC2 monitoring powered by Vanta
GDPR monitoring powered by Vanta

Request Demo

Learn how Hatica can help you build effective engineering teams with data-driven insights

© 2019-2021 Hatica. All rights reserved.