Skip to main navigation Skip to search Skip to main content

Self-adaptive fault localization algorithm based on predicate execution information analysis

  • Peng Hao
  • , Zheng Zheng*
  • , Zhen Yu Zhang
  • , Yi Chao Gao
  • , Cheng Gong
  • , Yun Zhi Xue
  • *Corresponding author for this work
  • Beihang University
  • CAS - Institute of Software

Research output: Contribution to journalArticlepeer-review

Abstract

Finding the location of a fault in code is an important research and practical problem, which often requires much time and manual effort. Predicate-based statistical fault localization (PBSFL) is a promising method, which obtains the correlative relationship between predicates and faults by comparing the predicate execution information in both correct and incorrect runs. However, experiment results show that existing PBSFL methods fail to locate some faults because they use predicate execution information in a fixed intensity, which may cause insufficient or excessive usage. To solve the problem, we propose a new method, called self-adaptive fault localization algorithm based on predicate execution information analysis, which dynamically select the intensity of information utilization for each predicate through the analysis of test cases run. Experimental results demonstrate that our approach performs well in both accuracy and stability for localizing faults in subject programs of the Siemens and space suites.

Original languageEnglish
Pages (from-to)500-511
Number of pages12
JournalJisuanji Xuebao/Chinese Journal of Computers
Volume37
Issue number3
DOIs
StatePublished - Mar 2014

Keywords

  • Predicate execution information
  • Program analysis
  • Self-adaptive
  • Software testing
  • Statistical fault localization

Fingerprint

Dive into the research topics of 'Self-adaptive fault localization algorithm based on predicate execution information analysis'. Together they form a unique fingerprint.

Cite this