Estimating the number of test cases required to satisfy the all-du-paths testing criterion

  • Authors:
  • J. Bieman;J. Schultz

  • Affiliations:
  • Department of Computer Science, Colorado State University, Fort Collins, CO;Department of Statistics, Iowa State University, Ames, IA

  • Venue:
  • TAV3 Proceedings of the ACM SIGSOFT '89 third symposium on Software testing, analysis, and verification
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

The all-du-paths software testing criterion is the most discriminating of the data flow testing criteria of Rapps and Weyuker. Unfortunately, in the worst case, the criterion requires an exponential number of test cases. To investigate the practicality of the criterion, we develop tools to count the number of complete program paths necessary to satisfy the criterion. This count is an estimate of the number of test cases required. In a case study of an industrial software system, we find that in eighty percent of the subroutines the all-du-paths criterion is satisfied by testing ten or fewer complete paths. Only one subroutine out of 143 requires an exponential number of test cases.