Abstract
Test coverage analysis is a structural testing technique, which helps to evaluate the sufficiency of software testing. This letter presents two test generation algorithms based on binary decision diagrams to produce tests for the Multiple-Condition Criterion(M-CC) and the Modified Condition/Decision Criterion(MC/DC), and describes the design of the C program Coverage Measurement Tool (CCMT), which can record dynamic behaviors of C programs and quantify test coverage.
References
Glenford J. Myers, The Art of Software Testing, Wiley Pages, New York, 1979, Chapter 2.
Phyllis G. Frankl, Elaine J. Weyuker, Provide improvements on branch testing, IEEE Transactions on Software Engineering, 19(1993)10, 962–975.
John J. Chilenski, Steven P. Miller, Applicability of modified condition/decision coverage to software testing, Software Engineering Journal, 9(1994)5, 193–200.
Simeon C. Ntafos, A comparison of some structural testing strategies, IEEE Transactions on Software Engineering, 14(1988)6, 868–874.
Neelam Gupta, Aditya Mathur, et al., Generating test data for branch coverage, 15th IEEE International Conference on Automated Software Engineering (ASE’2000), Grenoble, France, September 2000, 219–228.
Mark Weiser, John D. Gannon, et al., Comparison of structural test coverage metrics, IEEE Software, 2(1985)2, 80–85.
Author information
Authors and Affiliations
Additional information
Supported in part by National Natural Science Foundation of China (No.60373066), National Grand Fundamental Research 973 Program of China (2002CB312000), National Research Foundation for the Doctoral Program of Higher Education of China (20020286004)
Communicate author: Shi Liang, born in 1979, male, graduate student. Department of Computer Science & Engineering, Southeast University, Nanjing 210096, China.
About this article
Cite this article
Shi, L., Xu, B. & Chen, L. Measuring C program coverage based on binary decision diagrams. J. of Electron.(China) 22, 90–93 (2005). https://doi.org/10.1007/BF02687957
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02687957