skip to main content
10.1145/1368088.1368116acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

An empirical study of the effects of test-suite reduction on fault localization

Published:10 May 2008Publication History

ABSTRACT

Fault-localization techniques that utilize information about all test cases in a test suite have been presented. These techniques use various approaches to identify the likely faulty part(s) of a program, based on information about the execution of the program with the test suite. Researchers have begun to investigate the impact that the composition of the test suite has on the effectiveness of these fault-localization techniques. In this paper, we present the first experiment on one aspect of test-suite composition--test-suite reduction. Our experiment studies the impact of the test-suite reduction on the effectiveness of fault-localization techniques. In our experiment, we apply 10 test-suite reduction strategies to test suites for eight subject programs. We then measure the differences between the effectiveness of four existing fault-localization techniques on the unreduced and reduced test suites. We also measure the reduction in test-suite size of the 10 test-suite reduction strategies. Our experiment shows that fault-localization effectiveness varies depending on the test-suite reduction strategy used, and it demonstrates the trade-offs between test-suite reduction and fault-localization effectiveness.

References

  1. R. Abreu, P. Zoeteweij, and A. J. C. van Gemund. On the accuracy of spectrum-based fault localization. In Testing: Academic and Industrial Conference, Practice and Research Techniques, Windsor, UK, September 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. H. Agrawal, J. Horgan, S. London, and W. Wong. Fault localization using execution slices and dataflow tests. In Proceedings of IEEE Software Reliability Engineering, pages 143--151, 1995.Google ScholarGoogle ScholarCross RefCross Ref
  3. Aristotle Research Group. Aristotle analysis system, 2007. http://www.cc.gatech.edu/aristotle/.Google ScholarGoogle Scholar
  4. B. Baudrey, F. Fleurey, and Y. L. Traon. Improving test suites for efficient fault localization. In International Conference on Software Engineering, pages 82--91, Shanghai, China, May 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. T. Y. Chen and M. F. Lau. Dividing strategies for the optimization of a test suite. Information Processing Letters, 60(3):135--141, Mar. 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. H. Cleve and A. Zeller. Locating causes of program failures. In Proceedings of the International Conference on Software Engineering, pages 342--351, St. Louis, Missouri, May 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Hao, Y. Pan, L. Zhang, W. Zhao, H. Mei, and J. Sun. A similarity-aware approach to testing based fault localization. In Proceedings of the Conference on Automated Software Engineering, pages 291--294, November 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. J. Harrold, R. Gupta, and M. L. Soffa. A methodology for controlling the size of a test suite. ACM Transactions on Software Engineering and Methodology, 2(3):270--285, July 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. R. Horgan and S. A. London. ATAC: A data flow coverage testing tool for C. In Proceedings of the Symp. on Assessment of Quality Software Development Tools, pages 2--10, May 1992.Google ScholarGoogle Scholar
  10. M. Hutchins, H. Foster, T. Goradia, and T. Ostrand. Experiments on the effectiveness of dataflow- and controlflow-based test adequacy criteria. In Proceedings of the International Conference on Software Engineering, pages 191--200, May 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. Jones and M. J. Harrold. Empirical evaluation of the tarantula automatic fault-localization technique. In Proceedings of the International Conference on Automated Software Engineering, pages 273--282, November 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. J. Jones, M. J. Harrold, and J. Stasko. Visualization of test information to assist fault localization. In Proceedings of the International Conference on Software Engineering, pages 467--477, Orlando, Florida, May 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. B. Liblit, M. Naik, A. X. Zheng, A. Aiken, and M. I. Jordan. Scalable statistical bug isolation. In Proceedings of the conference on Programming language design and implementation, pages 15--26, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. C. Liu, X. Yan, L. Fei, J. Han, and S. P. Midkiff. SOBER: statistical model-based bug localization. In Proceedings of European Software Engineering Conference and Foundations on Software Engineering, pages 286--295, September 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. Offutt, J. Pan, and J. M. Voas. Procedures for reducing the size of coverage-based test sets. In Proceedings of the International Conference on Testing Comp. Software, pages 111--123, June 1995.Google ScholarGoogle Scholar
  16. M. Renieris and S. Reiss. Fault localization with nearest neighbor queries. In Proceedings of the International Conference on Automated Software Engineering, pages 30--39, Montreal, Quebec, October 2003.Google ScholarGoogle ScholarCross RefCross Ref
  17. F. Vokolos and P. Frankl. Empirical evaluation of the textual differencing regression testing techniques. In Proceedings of the International Conference on Software Maintenance, November 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An empirical study of the effects of test-suite reduction on fault localization

    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
    • Published in

      cover image ACM Conferences
      ICSE '08: Proceedings of the 30th international conference on Software engineering
      May 2008
      558 pages
      ISBN:9781605580791
      DOI:10.1145/1368088

      Copyright © 2008 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: 10 May 2008

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader