DocumentCode
2371392
Title
Detection or isolation of defects? An experimental comparison of unit testing and code inspection
Author
Runeson, Per ; Andrews, Anneliese
Author_Institution
Dept. of Commun. Syst., Lund Univ., Sweden
fYear
2003
fDate
17-20 Nov. 2003
Firstpage
3
Lastpage
13
Abstract
Code inspections and white-box testing have both been used for unit testing. One is a static analysis technique, the other, a dynamic one, since it is based on executing test cases. Naturally, the question arises whether one is superior to the other, or, whether either technique is better suited to detect or isolate certain types of defects. We investigated this question with an experiment with a focus on detection of the defects (failures) and isolation of the underlying sources of the defects (faults). The results indicate that there exist significant differences for some of the effects of using code inspection versus testing. White-box testing is more effective, i.e. detects significantly more defects while inspection isolates the underlying source of a larger share of the defects detected. Testers spend significantly more time, hence the difference in efficiency is smaller, and is not statistically significant. The two techniques are also shown to detect and identify different defects, hence motivating the use of a combination of methods.
Keywords
program diagnostics; program testing; software fault tolerance; code inspection; controlled experiment; defect detection; defect isolation; failure detection; fault detection; static analysis; test case execution; unit testing; white-box testing; Data analysis; Design for experiments; Fault diagnosis; Inspection; Instruments; Performance evaluation; Reliability engineering; Software reliability; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
ISSN
1071-9458
Print_ISBN
0-7695-2007-3
Type
conf
DOI
10.1109/ISSRE.2003.1251026
Filename
1251026
Link To Document