Skip Navigation

The Computer Journal 1999 42(8):693-698; doi:10.1093/comjnl/42.8.693
© 1999 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (3)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Leung, H.
Right arrow Articles by Chen, T. Y.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

A New Perspective of the Proportional Sampling Strategy

H. Leung1 and T. Y. Chen2

1 Department of Computer Science, New Mexico State University, Las Cruces, NM 88003, USA Email: tychen@csis.hku.hk 2 Department of Computer Science and Software Engineering, The University of Melbourne, Parkville 3052, Australia and Vocational Training Council, Hong Kong

To compare the performance of different testing strategies, P-measure and E-measure are two effectiveness measures used in previous analytical studies. P-measure, which is defined as the probability of detecting at least one failure, is a measure of how likely it is that failure-causing inputs are selected at least once as test cases. E-measure, which is defined as the expected number of failures detected, is a measure of how frequently failure-causing inputs are selected as test cases. However, we have no a priori knowledge of how many failure-causing inputs there are, or where they may lie. In this paper, we study P-measure and E-measure in terms of how much attention an arbitrary input receives. In the context of P-measure, the attention received by an arbitrary input is the probability that the input is selected at least once as a test case, while in the context of E-measure, the attention is the expected number of times that an input is selected as a test case. The attentions received by an input using the proportional sampling strategy and random testing are then compared. The attention received by an input is found to be the same under the two testing strategies for E-measure, whereas for P-measure the attention is always higher for the proportional sampling strategy than for random testing. This new perspective allows us to provide simpler proofs of some known results. Furthermore, we are able to show that the difference in the expected number of distinct test cases considered by the proportional sampling strategy is larger than that of random testing by at most 2k, where k is the number of partitions and is independent of the number of test cases selected.


Received 4 August, 1997. Revised 12 October, 1999.


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.