The Community for Technology Leaders
Green Image
Issue No. 03 - May-June (2012 vol. 38)
ISSN: 0098-5589
pp: 547-560
Rick Mercer , University of Arizona, Tucson
Jay F. Nunamaker , University of Arizona, Tucson
Jerod W. Wilkerson , Pennsylvania State University, Erie, Erie
This study is a quasi experiment comparing the software defect rates and implementation costs of two methods of software defect reduction: code inspection and test-driven development. We divided participants, consisting of junior and senior computer science students at a large Southwestern university, into four groups using a two-by-two, between-subjects, factorial design and asked them to complete the same programming assignment using either test-driven development, code inspection, both, or neither. We compared resulting defect counts and implementation costs across groups. We found that code inspection is more effective than test-driven development at reducing defects, but that code inspection is also more expensive. We also found that test-driven development was no more effective at reducing defects than traditional programming methods.
Agile programming, code inspections and walk throughs, reliability, test-driven development, testing strategies, empirical study.
Rick Mercer, Jay F. Nunamaker, Jerod W. Wilkerson, "Comparing the Defect Reduction Benefits of Code Inspection and Test-Driven Development", IEEE Transactions on Software Engineering, vol. 38, no. , pp. 547-560, May-June 2012, doi:10.1109/TSE.2011.46
109 ms
(Ver 3.1 (10032016))