首页> 外文会议>Networking Architecture and Storage, 2007 International Conference on; Guilin,China >Software Fault Localization Based on Testing Requirement and Program Slice
【24h】

Software Fault Localization Based on Testing Requirement and Program Slice

机译:基于测试需求和程序切片的软件故障定位

获取原文
获取原文并翻译 | 示例

摘要

A heuristic approach is proposed to locate a fault according to the priority. To a given test case wt, fault localization has to be proceeded when its output wrong. Firstly, four assistant test cases, one failed and three successful test cases, are selected out according to the biggest cardinality of Req(wt,ti), which stand for the common testing requirements both covered by wt and ti. Then, code prioritization methodology is put forward based on program slice technique. Dynamic slice technique is taken for wt and execution slice technique for four assistant test cases. Some dices are constructed with different priority which means the possibility of containing bug and is evaluated according to the occurrences in the selected slices. Thirdly, the key algorithm including two procedures, refining and augmenting, is followed here to fault localization based on priority. In the refining phase, the most suspicious codes am checked step by step; in the augmenting phase, more codes will be gradually considered on the basis of direct data dependency. At last, experimental studies are performed to illustrate the effectiveness of the technique.
机译:提出了一种启发式方法来根据优先级定位故障。对于给定的测试用例wt,当其输出错误时必须进行故障定位。首先,根据Req(wt,t i )的最大基数,选择四个辅助测试用例,一个失败和三个成功的测试用例,它们代表了wt涵盖的通用测试需求和t i 。然后,基于程序切片技术提出了代码优先化方法。 wt采用动态切片技术,而四个辅助测试用例采用执行切片技术。某些骰子的优先级不同,这意味着存在错误的可能性,并根据所选切片中的出现情况进行评估。第三,在此基于优先级的故障定位算法采用了包括精炼和扩充两个过程的关键算法。在提炼阶段,逐步检查最可疑的代码。在扩充阶段,将在直接数据依赖的基础上逐步考虑更多代码。最后,进行了实验研究以说明该技术的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号