基于概率与分组方法的有效故障定位
Effective Fault Localization using Probabilistic and Grouping Approach
AI总结:
本研究针对程序调试中的故障定位问题,结合条件概率统计与分组优化方法提出CGFL技术,在11个开源数据集上验证表明其比主流方法有效性平均提升24.56%。
摘要:
研究背景:故障定位(FL)是程序调试过程中的核心环节,该环节的任何改进都能显著降低整体软件开发成本。程序频谱与测试执行结果之间存在内在关联,统计学中的条件概率可刻画一个事件与一个或多个其他事件相关的发生概率。研究目标:本文旨在利用条件概率的概念设计一种有效的故障定位技术。研究方法:本文提出一种故障定位技术,通过条件概率统计推导语句覆盖信息与测试用例执行结果之间的关联,该关联结合失败测试用例结果,可得出特定语句包含故障的概率。随后,我们采用分组方法对得到的语句排序序列进行优化,以提升故障定位效果。实验结果:我们在11个开源数据集上评估了所提方法的有效性。结果表明,平均而言,所提出的CGFL方法比D*、Tarantula、Ochiai、Crosstab、BPNN、RBFNN、DNN和CNN等现有主流故障定位方法的有效性高出24.56%。研究结论:我们将条件概率方法与基于失败测试用例执行的方法相结合,设计出一种有效的故障定位技术。实验评估显示,所提方法的性能优于现有故障定位技术。
英文摘要:
Context: Fault localization (FL) is the key activity while debugging a program. Any improvement to this activity leads to significant improvement in total software development cost. There is an internal linkage between the program spectrum and test execution result. Conditional probability in statistics captures the probability of occurring one event in relationship to one or more other events. Objectives: The aim of this paper is to use the conception of conditional probability to design an effective fault localization technique. Methods: In the paper, we present a fault localization technique that derives the association between statement coverage information and test case execution result using condition probability statistics. This association with the failed test case result shows the fault containing the probability of that specific statement. Subsequently, we use a grouping method to refine the obtained statement ranking sequence for better fault localization. Results: We evaluated the effectiveness of proposed method over eleven open-source data sets. Our obtained results show that on average, the proposed CGFL method is 24.56% more effective than other contemporary fault localization methods such as D*, Tarantula, Ochiai, Crosstab, BPNN, RBFNN, DNN, and CNN. Conclusion: We devised an effective fault localization technique by combining the conditional probabilistic method with failed test case execution-based approach. Our experimental evaluation shows our proposed method outperforms the existing fault localization techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。