首页> 外文会议>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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号