Applying sampling to improve software inspections

Thomas Thelin, Håkan Ahrefors, Per Runeson, Claes Wohlin

Research output: Contribution to journalArticlepeer-review


The main objective of software inspections is to find faults in software documents. The benefits of inspections are reported from researchers as well as software organizations. However, inspections are time consuming and the resources may not be sufficient to inspect all documents. Sampling of documents in inspections provides a systematic solution to select what to be inspected in the case resources are not sufficient to inspect everything. The method presented in this paper uses sampling, inspection and resource scheduling to increase the efficiency of an inspection session. A pre-inspection phase is used in order to determine which documents need most inspection time, i.e. which documents contain most faults. Then, the main inspection is focused on these documents. We describe the sampling method and provide empirical evidence, which indicates that the method is appropriate to use. A Monte Carlo simulation is used to evaluate the proposed method and a case study using industrial data is used to validate the simulation model. Furthermore, we discuss the results and important future research in the area of sampling of software inspections.
Original languageEnglish
Pages (from-to)257-269
JournalJournal of Systems and Software
Issue number2
Publication statusPublished - 2004

Subject classification (UKÄ)

  • Computer Science


  • software inspection
  • Monte Carlo simulation
  • empirical study
  • efficiency
  • sampling


Dive into the research topics of 'Applying sampling to improve software inspections'. Together they form a unique fingerprint.

Cite this