首页> 外文会议>IEEE International Conference on Software Maintenance >Will Fault Localization Work For These Failures ? An Automated Approach to Predict Effectiveness of Fault Localization Tools
【24h】

Will Fault Localization Work For These Failures ? An Automated Approach to Predict Effectiveness of Fault Localization Tools

机译:对这些故障有故障本地化工作吗?一种预测故障定位工具有效性的自动化方法

获取原文

摘要

Debugging is a crucial yet expensive activity to improve the reliability of software systems. To reduce debugging cost, various fault localization tools have been proposed. A spectrum-based fault localization tool often outputs an ordered list of program elements sorted based on their likelihood to be the root cause of a set of failures (i.e., their suspiciousness scores). Despite the many studies on fault localization, unfortunately, however, for many bugs, the root causes are often low in the ordered list. This potentially causes developers to distrust fault localization tools. Recently, Parnin and Orso highlight in their user study that many debuggers do not find fault localization useful if they do not find the root cause early in the list. To alleviate the above issue, we build an oracle that could predict whether the output of a fault localization tool can be trusted or not. If the output is not likely to be trusted, developers do not need to spend time going through the list of most suspicious program elements one by one. Rather, other conventional means of debugging could be performed. To construct the oracle, we extract the values of a number of features that are potentially related to the effectiveness of fault localization. Building upon advances in machine learning, we process these feature values to learn a discriminative model that is able to predict the effectiveness of a fault localization tool output. In this preliminary work, we consider an output of a fault localization tool to be effective if the root cause appears in the top 10 most suspicious program elements. We have experimented our proposed oracle on 200 faulty programs from Space, NanoXML, XML-Security, and the 7 programs in Siemens test suite. Our experiments demonstrate that we could predict the effectiveness of fault localization tool with a precision, recall, and F-measure (harmonic mean of precision and recall) of 54.36%, 95.29%, and 69.23%. The numbers indicate that many ineffective fault localization instances are identified correctly, while only very few effective ones are identified wrongly.
机译:调试是一个至关重要的昂贵的活动,可以提高软件系统的可靠性。为了减少调试成本,已经提出了各种故障定位工具。基于频谱的故障定位工具通常会根据其可能性输出按照一组故障的根本原因排序的节目元素的有序列表(即,他们的可疑地得分)。尽管有许多关于故障定位的研究,但是,对于许多错误,对于许多错误,根本原因通常在有序列表中较低。这可能导致开发人员不信任故障定位工具。最近,Parnin和Orso在他们的用户学习中突出显示,如果在列表中没有找到根本原因,许多调试器并没有发现故障定位。为了缓解上述问题,我们构建了一个可以预测故障定位工具的输出可以信任的Oracle。如果输出不可能信任,开发人员不需要花时间逐一度过大多数可疑程序元素的列表。相反,可以执行其他传统的调试方法。要构建Oracle,我们将提取有可能与故障定位有效性相关的多个功能的值。在机器学习的进步时,我们处理这些特征值以学习能够预测故障定位工具输出的有效性的判别模型。在这项初步工作中,我们考虑一个故障定位工具的输出,如果根本原因出现在十大最具可疑程序元素中,则会有效。我们从Space,Nanoxml,XML-Security和西门子测试套件中的7个程序试验了我们提出的Oracle。我们的实验表明,我们可以预测故障定位工具的有效性,具有精确,召回和F措施(精度和召回的谐波平均值),54.36%,95.29%和69.23%。这些数字表明许多无效的故障定位实例正确地识别,而仅识别出非常有效的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号