Pr Size

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.

Smaller PR tends to get reviewed and merged more quickly.

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

App inputs to this metric:

GIT/VCS tools

Use cases:

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

Some More References: