1/445
Looks like no tags are added yet.
Software Review & Inspection
The practice of examining software work
products to find defects early, before they become more expensive to
fix. Theory to Industry Practice
The lesson connects the Software
Development Life Cycle (SDLC) with static testing, emphasizing that
defects should be found before code is executed rather than waiting
until the testing phase. Software Development Life Cycle (SDLC)
The
software development process in which testing is often treated as a
later phase; the lesson emphasizes moving defect detection earlier.
Static Testing
Finding defects in software artifacts before a single
line of code is executed. Software Artifact
A work product that can be
reviewed, such as code, a document, a design, or a requirements
document. Informal Review
A casual, low-overhead review in which
teammates discuss code or walk through logic without official paperwork,
formal scheduling, or data tracking. Formal Review
A structured and
rigorous review with distinct phases, explicit entry and exit criteria,
defined participant roles, and documented findings. Informal Walkthrough
A review in which the author guides peers through the work to explain
its logic and receive feedback. Informal Walkthrough Profile
Its
primary objective is for the author to explain logic and get feedback;
it is commonly used in design and early coding; it is synchronous; it
tracks no metrics; and it has low process overhead. Technical Review
A
review that evaluates technical validity, design choices, and
specifications. Technical Review Profile
Its primary objective is to
evaluate technical validity, design choices, and specifications; it is
used in design, architecture, and code; it is synchronous; metrics are
optional; and it has medium process overhead. Fagan Inspection
A
rigorous, formal defect-detection process that uses strict roles and
checklists. Fagan Inspection Profile
Its primary objective is rigorous
defect detection using strict roles and checklists; it can be used for
requirements, design, and code; it is highly structured and synchronous;
it tracks metrics such as defect density and inspection rate; and it has
very high process overhead. Modern Code Review (MCR)
A continuous,
lightweight review approach focused on quality, asynchronous feedback
through pull requests, and knowledge sharing. Modern Code Review Profile
Its primary objective is continuous quality, asynchronous guardrails,
and knowledge sharing; it is used during coding and implementation; it
does not require a meeting; it tracks metrics such as cycle time and
comments per pull request; and it has low-to-medium process overhead.
Synchronous Review
A review in which participants meet and discuss the
work at the same time. Asynchronous Review
A review in which
participants provide feedback at different times, commonly through pull
requests or merge requests. Defect Density
A metric tracked in Fagan
Inspection to measure the concentration of defects in the inspected
work. Inspection Rate
A metric tracked in Fagan Inspection to measure
the rate at which inspection work is performed. Cycle Time
A metric
that can be tracked in Modern Code Review. Comments per Pull Request
A
metric that can be tracked in Modern Code Review. Michael Fagan
The
person who developed Fagan Inspection at IBM in the 1970s. IBM
The
organization where Michael Fagan developed Fagan Inspection in the
1970s. Fagan Inspection Roles
The five defined roles are Moderator,
Author, Reader, Reviewer/Inspector, and Recorder/Scribe. Moderator
The
person who manages the inspection process, keeps the team focused, and
prevents the meeting from turning into a personal critique of the
developer. Author
The person who created the artifact being inspected,
such as code, a document, or a design; the author cannot be the
moderator or the reader. Reader
The person who paraphrases the work
artifact aloud, line by line or section by section, during the
inspection meeting. Reviewer/Inspector
An expert who examines the
artifact from a particular perspective, such as security, scalability,
or testing, to identify defects. Recorder/Scribe
The person
responsible for documenting every defect found during the inspection.
Six Phases of Fagan Inspection
Planning, Overview, Preparation,
Inspection Meeting, Rework, and Follow-up. Planning
The first phase of
Fagan Inspection, in which the moderator checks entry criteria, assigns
roles, and schedules the inspection. Entry Criteria
Conditions that
must be satisfied before an inspection proceeds, such as code that
compiles or a complete requirements document. Overview
The phase in
which the author briefs the inspection team on the project’s high-level
goals and context. Preparation
The phase in which inspectors
individually study the artifact and use checklists to identify possible
issues before the meeting. Inspection Meeting
The phase in which the
reader paraphrases the work, the team identifies defects, and the scribe
records them. Rule #1 of the Inspection Meeting
Look for defects only;
do not try to solve or fix them during the inspection meeting. Rework
The phase in which the author uses the defect log to correct the
identified problems. Follow-up
The final phase in which the moderator
checks the fixes against the exit criteria to ensure that defects were
handled properly. Exit Criteria
Conditions used by the moderator
during follow-up to determine whether the inspection’s required fixes
have been properly handled. Defect Log
A documented record of defects
found during an inspection or review. Fagan Inspection in
Safety-Critical Systems
Fagan Inspections may still be used in
safety-critical fields such as aerospace, medical software, and
automotive systems. Code Review Workflow
The illustrated workflow
moves from developer work and code through testing and code review, then
to check-in and the code repository; review comments provide feedback on
the code. Pair Programming
An Extreme Programming technique in which
coding and reviewing happen together in real time instead of writing
code first and reviewing it later. Extreme Programming (XP)
The
development approach associated with Pair Programming in the lesson; its
diagram shows stories, requirements, test scenarios, release planning,
spikes, iterations, acceptance testing, customer approval, and small
releases. Driver
The pair programmer who sits at the keyboard and
focuses on immediate tactics, syntax, and writing clean lines of code.
Navigator
The pair programmer who focuses on the bigger picture,
including whether the user story is being fulfilled, edge cases,
security, and architectural patterns. Checklist-Based Review
A review
technique that uses checklists to focus reviewers on specific classes of
errors instead of trying to look for everything at once. Logic & Control
Flow
A checklist category focused on program logic and control flow;