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

Time will tell: fault localization using time spectra

Authors Info & Claims
Published:10 May 2008Publication History

ABSTRACT

We present an automatic fault localization technique which leverages time spectra as abstractions for program executions. Time spectra have been traditionally used for performance debugging. By contrast, we use them for functional correctness debugging by identifying pieces of program code that take a "suspicious" amount of time to execute. The approach can be summarized as follows: Time spectra are collected from passing and failing runs, observed behavior models are created using the time spectra collected from passing runs, and deviations from these models in failing runs are identified and scored as potential causes of failures. Our empirical evaluations conducted on three real-life projects suggest that the proposed approach can effectively reduce the space of potential root causes for failures, which can in turn improve the turn around time for fixes.

References

  1. ej-technologies. http://www.ej-technologies.com.Google ScholarGoogle Scholar
  2. The Rstat Project. http://cran.r-project.org.Google ScholarGoogle Scholar
  3. H. Agrawal, J. Horgan, S. London, and W. Wong. Fault localization using execution slices and dataflow tests. In ISSRE '95, pages 143--151, 1995.Google ScholarGoogle ScholarCross RefCross Ref
  4. V. Dallmeier, C. Lindig, and A. Zeller. Lightweight defect localization for java. In ECOOP'05, pages 528--550, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. H. Do, S. G. Elbaum, and G. Rothermel. Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact. Empirical Software Engineering: An International Journal, 10(4):405--435, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. R. Engler, B. Chelf, A. Chou, and S. Hallem. Checking system rules using system-specific, programmer-written compiler extensions. In OSDI'00, pages 1--16, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Hangal and M. S. Lam. Tracking down software bugs using automatic anomaly detection. In ICSE '02, pages 291--301, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. J. Harrold, G. Rothermel, K. Sayre, R. Wu, and L. Yi. An empirical investigation of the relationship between fault-revealing test behavior and differences in program spectra. STVR Journal of Software Testing, Verification, and Reliability, (3):171--194, 2000.Google ScholarGoogle Scholar
  9. D. Hovemeyer and W. Pugh. Finding bugs is easy. SIGPLAN Not., 39(12):92--106, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. A. Jones, M. J. Harrold, and J. Stasko. Visualization of test information to assist fault localization. In ICSE '02, pages 467--477, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. B. Liblit, A. Aiken, A. X. Zheng, and M. I. Jordan. Bug isolation via remote program sampling. In PLDI '03, pages 141--154, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. C. Mateis, M. Stumptner, D. Wieland, and F. Wotawa. Model-based debugging of java programs. In AADEBUG '00, 2000.Google ScholarGoogle Scholar
  13. H. Pan and E. Spafford. Heuristics for automatic localization of software faults. Technical Report SERC-TR-116-P, Purdue University, 1992.Google ScholarGoogle Scholar
  14. M. Renieris and S. Reiss. Fault localization with nearest neighbor queries. In ASE '03, pages 30--39, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  15. T. Reps, T. Ball, M. Das, and J. Larus. The use of program profiling for software maintenance with applications to the year 2000 problem. Softw. Eng. Notes, 22(6):432--449, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. P. N. Tan, M. Steinbach, and V. Kumar. Introduction to data mining. Addison Wesley, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. C. Yilmaz, M. B. Cohen, and A. Porter. Covering arrays for efficient fault characterization in complex configuration spaces. SIGSOFT Softw. Eng. Notes, 29(4):45--54, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. C. Yilmaz and C. Williams. An automated model-based debugging approach. In ASE '07, pages 174--183, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. A. Zeller. Isolating cause-effect chains from computer programs. In SIGSOFT '02/FSE-10, pages 1--10, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Time will tell: fault localization using time spectra

    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

      Acceptance Rates

      ICSE '08 Paper Acceptance Rate56of370submissions,15%Overall Acceptance Rate276of1,856submissions,15%

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader