CS FundamentalsHardProduct-company placement

A team's code review guideline says reviewers should check that each pull request has tests for new behaviour, follows the style guide, and has a clear description, and that PRs should be kept small. Why does PR size matter so much?

  1. A. Small PRs are faster to merge regardless of quality
  2. B. Git limits the size of a PR
  3. C. Large PRs cannot be built by CI
  4. D. Review effectiveness drops sharply for large changes: reviewers skim, miss defects and approve; small focused PRs get careful review and are easier to revert

Correct answer: D. Review effectiveness drops sharply for large changes: reviewers skim, miss defects and approve; small focused PRs get careful review and are easier to revert

Reviewers' attention is limited, so defect detection per line falls as change size grows. Small, single-purpose PRs give better reviews, faster feedback and safer rollbacks.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic