Affiliation:
1. Computer and Information Sciences Dept., Polytechnic University, 6 Metrotech Center, Brooklyn, N.Y.
Abstract
This paper reports on an empirical evaluation of the fault-detecting ability of two white-box software testing techniques: decision coverage (branch testing) and the all-uses data flow testing criterion. Each subject program was tested using a very large number of randomly generated test sets. For each test set, the extent to which it satisfied the given testing criterion was measured and it was determined whether or not the test set detected a program fault. These data were used to explore the relationship between the coverage achieved by test sets and the likelihood that they will detect a fault.Previous experiments of this nature have used relatively small subject programs and/or have used programs with seeded faults. In contrast, the subjects used here were eight versions of an antenna configuration program written for the European Space Agency, each consisting of over 10,000 lines of C code.For each of the subject programs studied, the likelihood of detecting a fault increased sharply as very high coverage levels were reached. Thus, this data supports the belief that these testing techniques can be more effective than random testing. However, the magnitudes of the increases were rather inconsistent and it was difficult to achieve high coverage levels.
Publisher
Association for Computing Machinery (ACM)
Cited by
50 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. On factors that impact the relationship between code coverage and test suite effectiveness: a survey;2023 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW);2023-04
2. On subsumption relationships in data flow testing;Software Testing, Verification and Reliability;2023-03-21
3. Towards Efficient Data-Flow Test Data Generation;Theories of Programming and Formal Methods;2023
4. Constraint-logic object-oriented programming for test case generation;Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing;2022-04-25
5. A Comprehensive Dynamic Data Flow Analysis of Object-Oriented Programs;Proceedings of the 17th International Conference on Evaluation of Novel Approaches to Software Engineering;2022