Comparing the Effectiveness of Software Testing Strategies.
MARYLAND UNIV COLLEGE PARK DEPT OF COMPUTER SCIENCE
Pagination or Media Count:
This study compares the results of code reading, functional testing, and structural testing in three aspects of software testing fault detection effectiveness, fault detection cost, and classes of faults detected. Thirty two professional programmers and 42 advanced students applied the three techniques to four unit-sized programs in a fractional experimental design. The major results of this study are the following, 1 With the professional programmers, code reading detected more software faults and had a higher detection rate than did functional or structural testing, while functional testing detected more faults than did structural testing, but functional and structural testing were not different in fault detection rate, 2 In one advanced student subject group, code reading and functional testing were not different in faults found, but were superior to structural testing, while in the other advanced student subject group there was no difference among the techniques. 3 With the advanced student subjects, the three techniques were not different in fault detection rate. 4 Number of faults observed, fault detection rate, and total effort in detection depended on the type of software tested. 5 Code reading detected more interface faults than did the other methods. 6 Functional testing detected nor control than did the other methods. 7 When asked to estimate the percentage of faults detected, code readers gave the most accurate estimates while functional testers gave the least accurate estimates. Appendix B includes the source code for the word.
- Computer Programming and Software