skip to main content
article
Free Access

A controlled experiment in program testing and code walkthroughs/inspections

Published:01 September 1978Publication History
Skip Abstract Section

Abstract

This paper describes an experiment in program testing, employing 59 highly experienced data processing professionals using seven methods to test a small PL/I program. The results show that the popular code walkthrough/inspection method was as effective as other computer-based methods in finding errors and that the most effective methods (in terms of errors found and cost) employed pairs of subjects who tested the program independently and then pooled their findings. The study also shows that there is a tremendous amount of variability among subjects and that the ability to detect certain types of errors varies from method to method.

References

  1. 1 Fagan, M.E. Design and code inspections to reduce errors in program development. IBM Syst. J. 15, 3 (1976), 182-211.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Goodenough, J.B., and Gerhart, S.L. Toward a theory of test data selection. 1EEE Trans. Software Eng. SE-1, 2 (1975), 156-173.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Gould, J.D. Some psychological evidence on how people debug computer programs. Int. J. Man-Machine Studies 7, 2 (1975), 151-182.Google ScholarGoogle ScholarCross RefCross Ref
  4. 4 Gould, J.D., and Drongowski, P. An exploratory study of computer program debugging. Human Factors 16, 3 (1974), 258-277.Google ScholarGoogle ScholarCross RefCross Ref
  5. 5 Griffith, P.F., and Henry, R.M. An investigatory study into human problem solving capabilities as they relate to programmer efficiency. Comptr. Personnel 3, 3 (1972), 10--15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Hetzel, W.C. An experimental analysis of program verification methods. Ph.D. Th., U. of North Carolina, Chapel Hill, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 Howden, W.E. Symbolic testing and the DISSECT symbolic evaluation system. IEEE Trans. Software Eng. SE-3, 4 (1977), 266-278.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Jelinski, Z., and Moranda, P.B. Applications of a probabilitybased model to a code reading experiment. Rec. 1973 IEEE Symp. Comptr. Software Reliability, IEEE, New York, 1973, pp. 78-81.Google ScholarGoogle Scholar
  9. 9 Myers, G.J. Software Reliability: Principles and Practices. Wiley- Interscience, New York, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Naur, P. Programming by action clusters. BIT 9, 3 (1969), 250-258.Google ScholarGoogle ScholarCross RefCross Ref
  11. 11 Shneiderman, B. Experimental testing in programming languages, stylistic considerations and design techniques. Proc. AFIPS 1975 NCC, AFIPS Press, Montvale, N.J., 1975, pp. 653--656.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A controlled experiment in program testing and code walkthroughs/inspections

              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 Communications of the ACM
                Communications of the ACM  Volume 21, Issue 9
                Sept. 1978
                82 pages
                ISSN:0001-0782
                EISSN:1557-7317
                DOI:10.1145/359588
                Issue’s Table of Contents

                Copyright © 1978 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 September 1978

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader