skip to main content
article
Free Access

Reducing the effects of infeasible paths in branch testing

Authors Info & Claims
Published:01 November 1989Publication History
Skip Abstract Section

Abstract

Branch testing, which is one of the most widely used methods for program testing, see White [1] for example, involves executing a selected set of program paths in an attempt to exercise all program branches. Criteria for selecting such paths have, to date, received scant attention in the literature and it is the issue of developing a suitable path selection strategy to which this paper is addressed. Specifically, a selection strategy, which aims at reducing the number of infeasible paths generated during the branch testing exercise is proposed. The strategy is founded on an assertion concerning the likely feasibility of program paths. Statistical evidence in support of the assertion is provided, a method implementing the strategy is described, and the results obtained from applying the method to a set of program units are reported and analysed.

References

  1. 1 White, L. J. "Software Testing and Verification", Advances in Computers, M. C. Yovits cd., 26, 1987.Google ScholarGoogle Scholar
  2. 2 Howden W. E. "Empirical Studies of Software Validation", Tutorial: Software Testing and Validation Techniques, E. Miller and W. E. Howden eds., IEEE, 1978.Google ScholarGoogle Scholar
  3. 3 Yates, D. F. and Hennell M. A. "An Approach to Branch Testing" Proc 11th International Workshop on Graph Theoretic Techniques in Computer Science, Wurtzburg, 1985.Google ScholarGoogle Scholar
  4. 4 Chatfield, C. " Statistics for Technology ", Chapman and Hall, New York, 1970.Google ScholarGoogle Scholar
  5. 5 Weyuker, E. J. "The Applicability of Program Schema Results to Programs", Int. J. Comput. Inf. Sci., 8, 1979.Google ScholarGoogle Scholar
  6. 6 Brown, J. R. "Practical Application of Automated Software Tools", TRW Report TRW-SS-72-05, TRW Systems, One Space Park, Redondo Beach, California, 1972.Google ScholarGoogle Scholar
  7. 7 Malevris N. Ph.D. thesis, University of Liverpool, U.K., 1988.Google ScholarGoogle Scholar
  8. 8 Dreyfus S. E. "An Appraisal of Some Shortest-Path Algorithms", Operations Research, 17, 1969.Google ScholarGoogle Scholar
  9. 9 Shier D. R. "Iterative Methods for Determining the K Shortest Paths in a Network", Networks, 6, 1976.Google ScholarGoogle Scholar
  10. 10 Minieka E. "On Computing Sets of Shortest Paths in a Graph', Comm. ACM, 17, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Reducing the effects of infeasible paths in branch testing

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • Published in

            cover image ACM SIGSOFT Software Engineering Notes
            ACM SIGSOFT Software Engineering Notes  Volume 14, Issue 8
            Dec. 1989
            213 pages
            ISSN:0163-5948
            DOI:10.1145/75309
            Issue’s Table of Contents
            • cover image ACM Conferences
              TAV3: Proceedings of the ACM SIGSOFT '89 third symposium on Software testing, analysis, and verification
              November 1989
              229 pages
              ISBN:0897913426
              DOI:10.1145/75308

            Copyright © 1989 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 November 1989

            Check for updates

            Qualifiers

            • article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader