• DocumentCode
    3658667
  • Title

    An Improvement to Fault Localization Technique Based on Branch-Coverage Spectra

  • Author

    Sihan Xu;Jing Xu;Hongji Yang;Jufeng Yang;Chenkai Guo;Liying Yuan;Wenli Song;Guannan Si

  • Author_Institution
    Coll. of Comput. &
  • Volume
    2
  • fYear
    2015
  • fDate
    7/1/2015 12:00:00 AM
  • Firstpage
    282
  • Lastpage
    287
  • Abstract
    For trust in software, developers spend much effort debugging to ensure that software behaviors as expected. Spectrum-based fault localization techniques (SFL) make use of runtime coverage of program elements, like statements, branches and du-pairs, and then check codes in the order of the rank of suspiciousness. So, correct elements with higher suspiciousness than faulty elements cause the loss of precision. In this paper, we focus on a situation where suspiciousness calculated according to coverage and outcome, i.e. Successful or failing, is higher than it should be. It is found that when a branch structure is repeatedly executed, which is normal in real-life programs, and all of its branches are covered within a run, a branch related to faults could lead other branches to be doubted. To reduce effects between branches, we do the following things: First, we utilize branches to monitor program behaviors, second, we take test cases with high similarities as triggered by the same fault, third, for branches mentioned, we propose an algorithm to infer which branch is more likely to be faulty in the failure, finally, experiments based on Siemens benchmark set and flex show that our approach is useful to heighten the ranking of faulty elements by reducing suspiciousness of correct branches.
  • Keywords
    "Flexible printed circuits","Benchmark testing","Software","Measurement","Debugging","Probability","Instruments"
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference (COMPSAC), 2015 IEEE 39th Annual
  • Electronic_ISBN
    0730-3157
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2015.53
  • Filename
    7273630