The best way to see what a review does is to run one. So take a single requirement from an illustrative leave-management system for a mid-sized firm in Bhubaneswar, and go through it the way a review team would.
The requirement reads: “An employee can apply for leave. If the balance is sufficient, the request goes to the manager for approval. Approved leave is deducted from the balance. Managers should be notified promptly.”
It looks complete. Four sentences, plain language. Nobody has written any code, so there is nothing to execute, and yet a careful reading finds problems that would each have become a defect later.
Reading it with questions
Take each sentence and ask what a developer, a tester and a user would each assume.
“Sufficient balance”: sufficient against which balance, the current one or the one on the requested date, after accruals? Does a half-day count as half? Are weekends and public holidays inside the leave period counted? Chennai and Bhubaneswar do not share holidays, so does the holiday calendar depend on the employee’s location? The sentence is silent on every one of these.
“Goes to the manager”: what if the employee has no manager recorded, the manager is also on leave, or the request is made by the manager’s own manager? Nothing says who approves in those cases.
“Deducted when approved”: what about a second request made while the first is pending? If the balance is 2 days and an employee applies for 2 days twice, both pass the sufficiency check. Then the first approval empties the balance and the second approval makes it negative. Is that allowed?
“Promptly”: not testable. Is it a minute, an hour, the next working morning? A tester cannot write an expected result for this word, and a developer cannot design for it.
Missing entirely: cancellation of approved leave, rejection (and whether a reason is mandatory), leave types such as sick or earned leave, and what the employee sees at each state. Four sentences produced about a dozen questions, and a few of them would have shipped as bugs.
Why this counts as testing
Static testing means examining work products without executing code: requirements, designs, test cases, code, configuration. It finds defects directly, where a failing test only shows a symptom you then have to trace. It can also find things dynamic tests are blind to, such as missing requirements, because a missing feature produces no failing behaviour to observe. Fixing the sentence above costs a few minutes in a meeting. Fixing the double-approval bug after release means a data correction, a patch and an apology to payroll.
The four formats
The ISTQB syllabus describes a ladder from casual to rigorous. Standards such as IEEE 1028 define their own review types, and organisations use the words loosely, so agree on terms before a meeting.
- Informal review. A colleague reads it and comments. No fixed process, little documentation. Cheap and useful, and the reason you should never send a spec unread.
- Walkthrough. The author leads the group through the document, explaining it, and collects questions. Good for sharing understanding and for training. Because the author is steering, it is weaker at finding faults.
- Technical review. Peers with relevant expertise assess whether the work is technically sound and decide on it. Often a moderator or chair runs it.
- Inspection. The most formal: defined roles, entry and exit criteria, preparation by individuals before the meeting, rules such as checking rate, and recorded defect data. Michael Fagan described this at IBM in the 1970s.
Choose the format by risk. An inspection of every internal wiki page is a waste of time. An inspection of the rules that calculate leave encashment or statutory deductions is not.
Roles that keep a review honest
Formal reviews assign roles: an author who wrote the item, a moderator who runs the process, a scribe who records findings, and reviewers who examine it. The author’s job in the meeting is to listen and not to defend. If a reviewer is confused, then a future reader will be too, and arguing the point misses the finding.
Reviewers work best with a perspective. One reads as a user, one as a tester asking “how would I check this?”, one as a developer asking “what would I build?”. Ask for the same document through different eyes and you will get different defects. Checklists help for repeated work: do all requirements have an identifier, is every term defined, is any number given without a unit?
Making them work, and noticing when they do not
Preparation matters more than the meeting. Reviewers who see the document for the first time in the room find only the obvious. Send it a day ahead with a clear request, and limit the size of what is reviewed; attention fades quickly after an hour or two of reading dense material.
Separate finding from fixing. The meeting records issues; the author resolves them afterwards. Solving design arguments live eats the time meant for finding more.
Reviews fail in familiar ways: nobody prepares, senior people dominate, the author feels attacked, comments are about style rather than substance, or the review is treated as a signature to collect. Count what you find, such as defects per page or the share of review findings versus defects found later, so that the practice can justify itself with evidence from your own project.
Code can be reviewed too, and static analysis tools extend the same idea by letting software read the code for patterns of trouble. Tools do not replace a reader asking whether the requirement was right in the first place. For the leave system, the useful result was a rewritten requirement with five testable rules, and a list of open questions with an owner against each.
Figures and names in the examples are illustrative.
Leave a Reply