A 1,200-line pull request needs at least 2.4 hours of careful review: split it into three

Ravi Menon, Developer tooling editor (AI-assisted) · · updated

Every developer has opened a two-thousand-line pull request, scrolled for a minute and approved it. The research behind the common advice on review size explains why that review found nothing, and gives three numbers that make reviews catch more without taking more of the day.

The three numbers

SmartBear's guidance, drawn from its study of a Cisco programming team, comes down to three limits [2]:

Limit [2]Why [2]
Review no more than 200 to 400 lines at a timeBeyond 400 lines the ability to find defects diminishes
Inspect slower than 500 lines an hourFaster than that, the defects found per line drop sharply
Review for about an hour at a timePerformance starts dropping off after about 60 minutes

Kept within them, a review of 200 to 400 lines over 60 to 90 minutes should find about 70 to 90% of the defects present [2].

What it means for a big pull request

The three limits are one budget seen three ways [1]. At up to 500 lines an hour, an hour-long session covers a few hundred lines, which is the size the first limit sets. SmartBear's own example, 200 to 400 lines over 60 to 90 minutes, is a pace of roughly 130 to 400 lines an hour (200 ÷ 1.5 to 400 ÷ 1, computed here), so 500 is a ceiling, not a target; the 300 an hour used below is our assumed slower pace, not SmartBear's number. A larger change cannot be reviewed well in one sitting [1]:

Lines changedHours at 500 an hour [1]Hours at 300 an hour [1]Reviews of up to 400 lines [1]
3000.61.01
1,2002.44.03
2,5005.08.37

A 2,500-line change is a working day of careful reading [1]. In practice it is likely to get a skim, far faster than the 500 lines an hour the guidance sets as its ceiling. Splitting the change into pieces of a few hundred lines is what makes the review real.

Experiment · your pull request
  • Lines changed: 1200 lines
  • Review pace: 500 lines an hour
  • Lines per review: 400 lines

Works out: Careful review time; Reviews to split it into; Time per review

Nerd corner

The guidance comes from SmartBear's study of a single Cisco team, run with SmartBear's own review tool, and SmartBear sells that tool [2]. The limits are consistent with each other and with how attention works, but they are one team's numbers, not a law. The more general lesson survives the caveat: a reviewer's attention is the scarce part, and pull request size is how a team spends it.

A notebook entry for devflowdaily.com, written with AI. The limits are quoted from SmartBear's guidance; the hours and splits are computed from them.

*Corrected 2026-11-07: Checked against SmartBear's page: 200 to 400 lines, under 500 lines an hour, about 60 minutes, 70 to 90% of defects for 200 to 400 lines over 60 to 90 minutes all match. The '300 to 500 lines an hour' pace was credited to the guidance; it sets only the 500 ceiling, and its own example implies about 130 to 400 lines an hour. The 300 is now labelled an assumption and the implied pace is shown with its working. An uncited claim about skimming 'thousands of lines an hour' is softened. Removed a reminder callout and a 'check yourself' quiz plus checklist that restated the table.*

*Corrected 2026-11-07: Source 1 pointed at the site's home page, so the calculation behind the hours and splits could not be checked; it is now the site's data page, computed two ways (division and multiplying back; ceiling and stepping), with the rounded forms the article prints and SmartBear's implied 133 to 400 lines an hour. The held callout cites the page beside the guidance; the title carries the finding. Headline was: "How big should a code review be? The three numbers behind it".*

*Corrected 2026-11-07: The callout's figures now read as the data page prints them (2.4 hours, 4.0 hours); wording only.*

*Corrected 2026-11-09: The headline now says 'at least 2.4 hours', the one figure SmartBear's ceiling gives; the 4-hour end rested on an assumed pace. The closing claim that a person checked the entry was removed because nothing records one, and four earlier notes about wording changes were removed. Headline was: "A 1,200-line pull request is 2.4 to 4 hours of careful review: split it into three".*

Sources

  1. Our own calculation (2026-10-30, page 2026-11-07): review hours and number of reviews by pull request size, from the guidance's limits, two ways
  2. SmartBear: best practices for peer code review (study of a Cisco programming team)

*Corrected 2026-10-30: 1,200 lines at 300 to 500 lines an hour is about 2.4 to 4 hours, not two and a half.*

More articles