Title :
Identifying modules which do not propagate errors
Author :
Khoshgoftaar, Taghi M. ; Allen, Edward B. ; Tang, Wai Hong ; Michael, Christoph C. ; Voas, Jeffrey M.
Author_Institution :
Florida Atlantic Univ., Boca Raton, FL, USA
Abstract :
Our goal is to identify software modules that have some locations which do not propagate errors induced by a suite of test cases. This paper focuses on whether or not data state errors can propagate from a location in the code to the outputs or observable data state during random testing with inputs drawn from an operational distribution. If a code-location´s probability of propagation is estimated to be zero, then a fault in that location could escape defection during testing. Because testing is never exhaustive, there is a risk that failures due to such latent faults could occur during operations. Fault injection is a technique for directly measuring the probability of propagation. However, measurement for every location in the code of a full-scale program is often prohibitively computation-intensive. Our objective is a practical, useful alternative to direct measurement. We present empirical evidence that static software product metrics can be useful for identifying software modules where the effects of a fault in that module are not observable. A case study of an intricate computer game program revealed a useful empirical relationship between static software product metrics and propagation of errors. The case study program was an order of magnitude larger than previously reported studies
Keywords :
program debugging; program testing; software fault tolerance; software metrics; computer game; data state errors; fault injection; latent faults; program errors; program testing; random testing; software faults; static software product metrics; test cases; Computer errors; Computer science; Fault detection; Fault diagnosis; Probability distribution; Software testing; Uniform resource locators;
Conference_Titel :
Application-Specific Systems and Software Engineering and Technology, 1999. ASSET '99. Proceedings. 1999 IEEE Symposium on
Conference_Location :
Richardson, TX
Print_ISBN :
0-7695-0122-2
DOI :
10.1109/ASSET.1999.756768