Skip to main content
Log in

Measuring C program coverage based on binary decision diagrams

  • Letters
  • Published:
Journal of Electronics (China)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

References

  1. Glenford J. Myers, The Art of Software Testing, Wiley Pages, New York, 1979, Chapter 2.

    Google Scholar 

  2. Phyllis G. Frankl, Elaine J. Weyuker, Provide improvements on branch testing, IEEE Transactions on Software Engineering, 19(1993)10, 962–975.

    Article  Google Scholar 

  3. John J. Chilenski, Steven P. Miller, Applicability of modified condition/decision coverage to software testing, Software Engineering Journal, 9(1994)5, 193–200.

    Article  Google Scholar 

  4. Simeon C. Ntafos, A comparison of some structural testing strategies, IEEE Transactions on Software Engineering, 14(1988)6, 868–874.

    Article  Google Scholar 

  5. 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.

  6. Mark Weiser, John D. Gannon, et al., Comparison of structural test coverage metrics, IEEE Software, 2(1985)2, 80–85.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

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

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02687957

Key words

Navigation