A review is a filter that removes errors before they reach later stages. It is one of the most effective ways of improving quality, and it costs far less than testing alone.
Purpose of Reviews
Reviews find defects in work products such as requirements, designs and code, at the time when they are cheapest to fix. They spread knowledge in the team, help to keep standards, and give an early view of the real progress of the work. A review is done on a product and not on the person who made it. Reviews may be informal, such as a walkthrough in which the author explains the work to colleagues, or formal, such as an inspection, in which trained reviewers follow a set procedure and record results.
Definition: Formal technical review. A structured meeting in which technical staff examine a work product to find errors, check conformance to standards and record decisions.
The Formal Technical Review (FTR)
The FTR is a software quality assurance activity that is done by software engineers. Its goals are to find errors in function, logic or implementation, to verify that the software meets its requirements, to make sure that the software follows standards, and to make the work more manageable. A review meeting should involve three to five people, need about two hours of preparation by each person, and last no longer than two hours. It reviews a part of the product, and not the whole.
Roles and Guidelines
The producer is the author of the work product and asks for the review. The review leader checks that the product is ready, arranges the meeting and distributes the material. The reviewers study the material in advance and note their concerns. The recorder writes down every issue raised. At the end of the meeting, the group decides to accept the product, to accept it with minor changes, or to reject it so that it is reviewed again after rework. A review summary report and an issues list are produced. The guidelines are to review the product, not the producer, to set an agenda and keep to it, to limit debate, to state problems without trying to solve all of them in the meeting, and to take written notes.
Table 4.2: Roles in a formal technical review
| Role | Task | Output |
|---|---|---|
| Producer | Presents the product | Rework after the review |
| Review leader | Plans and runs the meeting | Review summary report |
| Reviewer | Studies the product in advance | List of concerns |
| Recorder | Records issues | Issues list |
Example 4.2: Review effectiveness
Problem: A review of a design finds 24 defects. Later, testing finds 6 more defects that were present in the design. Find the defect removal efficiency of the review.
Solution:
- The total defects present = 24 + 6 = 30.
- Efficiency = defects found by the review / total defects = 24 / 30.
Result: The review removed 80 percent of the defects.
found_review, found_later = 24, 6
total = found_review + found_later
print(round(found_review / total * 100, 1), "percent")
Output
80.0 percent
Common mistakes
- Reviewing the person instead of the work product.
- Holding a long meeting with a large group, which wastes time.
- Not recording the issues, so that they are never fixed.
Key takeaways
- Reviews find defects early and cost less than late testing.
- An FTR has a producer, a review leader, reviewers and a recorder.
- A review meeting is small and short, with advance preparation.
- The outcome is accept, accept with changes, or reject.
Practice questions
- What is a formal technical review?
- Who records the issues in an FTR?
- What are the three possible decisions of an FTR?
Answers to the practice questions
- A structured meeting in which technical staff examine a work product to find errors and check standards.
- The recorder.
- Accept, accept with minor changes, or reject.
Sources
- Official BCA syllabus Software Engineering, course code 26BCA403DS03, Unit IV
