• DocumentCode
    1968827
  • Title

    Effective Statistical Fault Localization Using Program Slices

  • Author

    Lei, Yan ; Mao, Xiaoguang ; Dai, Ziying ; Wang, Chengsong

  • Author_Institution
    Sch. of Comput., Nat. Univ. of Defense Technol., Changsha, China
  • fYear
    2012
  • fDate
    16-20 July 2012
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Recent techniques for fault localization statistically analyze coverage information of a set of test runs to measure the correlations between program entities and program failures. However, coverage information cannot identify those program entities whose execution affects the output, which weakens the aforementioned correlations. Thus, this paper proposes a novel statistical fault localization approach to address this problem. Our statistical approach utilizes program slices of a set of test runs to capture the influence of a program entity´s execution on the output, and uses statistical analysis to measure the suspiciousness of program entities to be faulty. In addition, this paper presents a new slicing approach called approximate dynamic backward slice to balance the size and accuracy of a slice, and applies this slice to our statistical approach. The experimental results on two standard benchmarks show that our statistical approach significantly outperforms eight representative fault localization techniques.
  • Keywords
    program debugging; program slicing; software metrics; statistical analysis; coverage information analysis; dynamic backward slice approximation; program debugging; program entities; program slices; software complexity measure; statistical fault localization; test runs; Accuracy; Correlation; Heuristic algorithms; Instruments; Satellite broadcasting; Scattering; Vectors; debugging; fault localization; program slices; statistical analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference (COMPSAC), 2012 IEEE 36th Annual
  • Conference_Location
    Izmir
  • ISSN
    0730-3157
  • Print_ISBN
    978-1-4673-1990-4
  • Electronic_ISBN
    0730-3157
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2012.9
  • Filename
    6340248