Autor: |
Wong, W. Eric, Horgan, Joseph R., London, Saul, Mathur, Aditya P. |
Zdroj: |
Software: Practice and Experience; April 1998, Vol. 28 Issue: 4 p347-369, 23p |
Abstrakt: |
Given a test set Tto test a program P, there are at least two attributes of Tthat determine its fault detection effectiveness. One attribute is the size of Tmeasured as the number of test cases in T. Another attribute is the code coverage measured when Pis executed on all elements of T. The fault detection effectiveness of Tis the ratio of the number of faults guaranteed to result in program failure when Pis executed on Tto the total number of faults present in P. An empirical study was conducted to determine the relative importance of the size and coverage attributes in affecting the fault detection effectiveness of a randomly selected test set for some program P. Results from this study indicate that as the size of a test set is reduced, while the code coverage is kept constant, there is little or no reduction in the fault detection effectiveness of the new test set so generated. For the study reported, of the two attributes mentioned above, the code coverage attribute of a test set is more important than its size attribute. © 1998 John Wiley & Sons, Ltd. |
Databáze: |
Supplemental Index |
Externí odkaz: |
|