loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
14th International Symposium on Software Reliability Engineering
Detection or Isolation of Defects? An Experimental Comparison of Unit Testing and Code Inspection
Denver, Colorado
November 17-November 21
ISBN: 0-7695-2007-3
Per Runeson, Lund University, Sweden
Anneliese Andrews, Washington State University, Pullman, WA
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.
Index Terms:
Controlled Experiment, Empirical Study, Defect detection, Defect isolation, Unit testing, Code Inspection
Citation:
Per Runeson, Anneliese Andrews, "Detection or Isolation of Defects? An Experimental Comparison of Unit Testing and Code Inspection," issre, pp.3, 14th International Symposium on Software Reliability Engineering, 2003
Usage of this product signifies your acceptance of the Terms of Use.