Fagan inspection
A Fagan inspection is a process of trying to find defects in documents during various phases of the software development process. It is named after Michael Fagan, who is credited with the invention of formal software inspections.
Fagan inspection defines a process as a certain activity with pre-specified entry and exit criteria. In every process for which entry and exit criteria are specified, Fagan inspections can be used to validate if the output of the process complies with the exit criteria specified for the process. Fagan inspection uses a group review method to evaluate the output of a given process.
Examples
Examples of activities for which Fagan inspection can be used are:- Requirement specification
- Software/Information System architecture
- Programming
- Software testing
Usage
Criteria
Entry criteria are the criteria or requirements which must be met to enter a specific process. For example, for Fagan inspections the high- and low-level documents must comply with specific entry criteria before they can be used for a formal inspection process.Exit criteria are the criteria or requirements which must be met to complete a specific process. For example, for Fagan inspections the low-level document must comply with specific exit criteria before the development process can be taken to the next phase.
The exit criteria are specified in a high-level document, which is then used as the standard to which the operation result is compared during the inspection. Any failure of the low-level document to satisfy the high-level requirements specified in the high-level document are called defects. Minor defects do not threaten the correct functioning of the software, but may be small errors such as spelling mistakes or unaesthetic positioning of controls in a graphical user interface.
Typical operations
A typical Fagan inspection consists of the following operations:- Planning
- * Preparation of materials
- * Arranging of participants
- * Arranging of meeting place
- Overview
- * Group education of participants on the materials under review
- * Assignment of roles
- Preparation
- * The participants review the item to be inspected and supporting material to prepare for the meeting noting any questions or possible defects
- * The participants prepare their roles
- Inspection meeting
- * Actual finding of defect
- Rework
- * Rework is the step in software inspection in which the defects found during the inspection meeting are resolved by the author, designer or programmer. On the basis of the list of defects the low-level document is corrected until the requirements in the high-level document are met.
- Follow-up
- * In the follow-up phase of software inspections all defects found in the inspection meeting should be corrected. The moderator is responsible for verifying that this is indeed the case. They should verify that all defects are fixed and no new defects are inserted while trying to fix the initial defects. It is crucial that all defects be corrected, as the costs of fixing them in a later phase of the project can be 10 to 100 times higher compared to the current costs.
Follow-up
If verification fails, go back to the rework process.
Roles
The inspection process is normally performed by members of the same team that is implementing the project. The participants fulfill different roles within the inspection process:- Author/Designer/Coder: the person who wrote the low-level document
- Reader: paraphrases the low-level document
- Reviewers: reviews the low-level document from a testing standpoint
- Moderator: responsible for the inspection session, functions as a coach
Benefits and results
Together with the qualitative benefits mentioned above major "cost improvements" can be reached as the avoidance and earlier detection of errors will reduce the amount of resources needed for debugging in later phases of the project.
In practice very positive results have been reported by large corporations such as IBM, indicating that 80% to 90% of defects can be found and savings in resources up to 25% can be reached.
Improvements
Although the Fagan inspection method has been proved to be very effective, improvements have been suggested by multiple researchers. M. Genuchten for example has been researching the usage of an Electronic Meeting System to improve the productivity of the meetings with positive resultsOther researchers propose the usage of software that keeps a database of detected errors and automatically scans program code for these common errors. This again should result in improved productivity.