计算机科学 ›› 2009, Vol. 36 ›› Issue (10): 168-171.

• 软件工程与数据库技术 • 上一篇    下一篇

基于执行轨迹的软件缺陷定位方法研究

王新平,顾庆,陈翔,张鑫,陈道蓄   

  1. (南京大学计算机软件新技术国家重点实验室 南京 210093)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家863项目(2006AA01Z177),国家自然科学基金项目NSFC(60873027) ,江苏省自然科学基金基础研究项目(BK2006115)资助

Research on Software Fault Localization Based on Execution Trace

WANG Xin-ping, GU Qing, CHEN Xiang, GHANG Xin, CHEN Dao-xu   

  • Online:2018-11-16 Published:2018-11-16

摘要: 软件中隐含的缺陷数目与可靠性直接相关,软件缺陷定位是移除软件缺陷的关键,缺陷定位的及时性和有效性直接影响软件的可用性。基于执行轨迹的软件缺陷定位能够很好地与自动化测试相结合,有较强的现实意义。讨论了基于执行轨迹的软件缺陷定位方法通用框架FLOC,详细介绍了该框架的各个阶段,包括执行轨迹的组织、执行轨迹的选择、怀疑率的计算、定位报告的评价。分析了现有的基于执行轨迹的软件缺陷定位方法,并按照框架的结构比较了这些方法的特点,提出了改进的思路。最后对缺陷定位的发展提出展望。

关键词: 软件调试,缺陷定位,执行轨迹,相似度,怀疑率

Abstract: Software reliability is directly relevant to the count of faults in software. Fault localization is the key to detect and eliminate the faults. Execution traccbased fault localization is of great significance because it can be integrated well with automatic software testing. Proposed the framework of execution traccbased fault localization FLOC, which can be divided into four components; organization of execution trace, selection of execution trace, computation of suspiciousness, and evaluation of the output. The typical current execution trace-based approaches were described and compared in FL0C. Finally some improvements were proposed according to FLOC. The purpose of this paper is to compare the advantages and disadvantages of those localization approaches in a unified framework,and provide some improvements on those approaches.

Key words: Software debugging, Fault localization, Execution trace, Similarity degree, Suspiciousness ratio

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!