• DocumentCode
    3215086
  • Title

    Software Fault Localization Based on Testing Requirement and Program Slice

  • Author

    Sun, Jirong ; Li, Zhshu ; Ni, Jiancheng ; Yin, Feng

  • Author_Institution
    Sch. of Comput. Sci., Sichuan Univ., Chengdu
  • fYear
    2007
  • fDate
    29-31 July 2007
  • Firstpage
    168
  • Lastpage
    176
  • Abstract
    A heuristic approach is proposed to locate a fault according to the priority. To a given test case wt, fault localization has to be proceeded when its output wrong. Firstly, four assistant test cases, one failed and three successful test cases, are selected out according to the biggest cardinality of Req(wt,ti), which stand for the common testing requirements both covered by wt and ti. Then, code prioritization methodology is put forward based on program slice technique. Dynamic slice technique is taken for wt and execution slice technique for four assistant test cases. Some dices are constructed with different priority which means the possibility of containing bug and is evaluated according to the occurrences in the selected slices. Thirdly, the key algorithm including two procedures, refining and augmenting, is followed here to fault localization based on priority. In the refining phase, the most suspicious codes am checked step by step; in the augmenting phase, more codes will be gradually considered on the basis of direct data dependency. At last, experimental studies are performed to illustrate the effectiveness of the technique.
  • Keywords
    program slicing; program testing; software reliability; augmenting phase; direct data dependency; dynamic slice technique; heuristic approach; program slice; software fault localization; testing requirement; Computer bugs; Computer science; Educational institutions; Failure analysis; Societies; Software testing; Sun; TV;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Networking, Architecture, and Storage, 2007. NAS 2007. International Conference on
  • Conference_Location
    Guilin
  • Print_ISBN
    0-7695-2927-5
  • Type

    conf

  • DOI
    10.1109/NAS.2007.51
  • Filename
    4286423