首页> 外文会议>International Conference on Trustworthy Systems and Their Applications >A Search Based Context-Aware Approach for Understanding and Localizing the Fault via Weighted Call Graph
【24h】

A Search Based Context-Aware Approach for Understanding and Localizing the Fault via Weighted Call Graph

机译:基于搜索的上下文感知方法,用于通过加权调用图了解和定位故障

获取原文

摘要

Strictly speaking, fault localization includes assessing the code risk of being faulty and identifying the real fault. In practice, only highlighting some possible faulty statements is not helpful enough to reason the roots of the observed failures in a system. Programmers need to manually inspect the highlighted risky statements one by one, reading and understanding their contexts, in order to identify the real faulty ones. However, most related works have been focusing on risk assessment by simply ignoring the fault identification, which makes such techniques much less practical in real world. Therefore, in this paper, we propose a context-aware approach to assist fault comprehension and identification. Built on risk assessment results, our approach searches for the faults on Weighted Call Graph. In our approach the risky statements are re-ordered by function call chains, which can provide much richer information to understand the context and hence reduce the efforts in manual code inspection. Case studies with three open-source systems show that the proposed approach could help to improve the effectiveness of the whole fault localization process.
机译:严格来说,故障定位包括评估发生故障的代码风险和识别实际故障。在实践中,仅突出显示一些可能的错误语句不足以推理出系统中观察到的故障的根源。程序员需要逐一手动检查突出显示的风险陈述,阅读并理解其上下文,以识别真正的错误陈述。但是,大多数相关工作都只是通过简单地忽略故障识别来专注于风险评估,这使得此类技术在现实世界中变得不那么实用。因此,在本文中,我们提出了一种上下文感知的方法来辅助故障理解和识别。基于风险评估结果,我们的方法在加权呼叫图上搜索故障。在我们的方法中,风险声明通过函数调用链进行重新排序,这些函数调用链可以提供更丰富的信息来理解上下文,从而减少手动代码检查的工作量。对三个开源系统的案例研究表明,所提出的方法可以帮助提高整个故障定位过程的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号