期刊文献+

基于变量感染分析的软件错误定位技术

Software Fault Localization Technique Based on Variable Infection
下载PDF
导出
摘要 在实际调试中,程序员往往通过追溯错误的变量值及其传播来定位软件错误,其中具有错误值的变量称为感染变量,感染变量在失败运行中具有错误值的程序位置即为感染位置。提出了一种结合动态正向程序切片和语句覆盖信息对程序变量感染的初始位置进行定位的技术。该技术通过分析感染变量的起源与传播,可以更加精确地找到与感染变量相关的错误语句集合。与传统的基于程序覆盖信息的错误定位技术进行了对比实验,结果表明,该技术可定位程序中的感染变量及其初始感染位置,并且可以显著提高程序错误定位的精度。 In order to fix the fault, the programmers not only need to know the code location of the fault, but also need to understand how the execution of the fault introduces errors into the program state in the form of variable infection, whose propagation results in the failure. This paper proposes a novel technique to locate the first infection by combining the statement coverage information and dynamic forward slicing analysis. This technique can accurately find the fault statements set associated with infected variable by analyzing the origin and spread of the infected variables. This paper also conducts an experiment to compare the new technique with other state-of-the-art fault localization techniques. The results show that the new technique can identify the location of the initial variable infection, and significantly improve the fault localization accuracy.
出处 《计算机科学与探索》 CSCD 2014年第8期966-977,共12页 Journal of Frontiers of Computer Science and Technology
基金 中山大学中央高校基本科研业务费专项资金 No.11LGPY39~~
关键词 错误定位 变量感染 动态程序切片 语句覆盖信息 fault localization variable infection dynamic program slicing statement coverage
  • 相关文献

参考文献28

  • 1Jones J A, Harrold M J. Empirical evaluation of the Tarantula automatic fault-localization technique[C]//Proceedings of the 20th IEEE/ACM International Conference on Automated SoRware Engineering (ASE '05), Long Beach, USA, 2005. New York, NY, USA: ACM, 2005: 273-282.
  • 2Renieris M, Reiss S P. Fault localization with nearest neighbor queries[C]//Proceedings of the 18th IEEE International Con- ference on Automated Software Engineering (ASE '03). Pis- cataway, N J, USA: IEEE, 2003: 30-39.
  • 3Abreu R, Zoeteweij P, van Gemund A J C. An evaluation of similarity coefficients for software fault localization[C]// Proceedings of the 12th Pacific Rim International Sympo- sium on Dependable Computing (PRDC '06). Piscataway, N J, USA: IEEE, 2006: 39-46.
  • 4Pamin C, Orso A. Are automated debugging techniques actu- ally helping programmers?[C]//Proceedings of the 2011 International Symposium on Software Testing and Analysis (ISSTA '11), Toronto, Canada, 2011. New York, NY, USA: ACM, 2011: 199-209.
  • 5Hutchins M, Foster H, Goradia T, et al. Experiments of the effectiveness of dataflow-and-controlflow-based test adequacy criteria[C]//Proceedings of the 16th International Confer-ence on Software Engineering (ICSE '94), Sorrento, Italy, 1994. Los Alamitos, CA, USA: IEEE Computer Society, 1994: 191-200.
  • 6Abreu R, Zoeteweij P, Gemund A J C V. On the accuracy of spectrum-based fault localization[C]//Proceedings of the Testing: Academic and Industrial Conference Practice and Research Techniques (TAICPART-MUTATION '07). Wash- ington, DC, USA: IEEE Computer Society, 2007: 89-98.
  • 7Dallmeier V, Lindig C, Zeller A. Lightweight bug localiza- tion with AMPLE[C]//Proceedings of the 6th International Symposium on Automated Analysis-Driven Debugging (AADEBUG '05). New York, NY, USA: ACM, 2005: 99-104.
  • 8Chen M Y, Kiciman E, Fratkin E, et al. Pinpoint: problem determination in large, dynamic Internet services[C]//Pro- ceedings of the 2002 International Conference on Depend- able Systems and Networks (DSN '02). Washington, DC, USA: IEEE Computer Society, 2002: 595-604.
  • 9Yu Yanbing, Jones J A, Harrold M J. An empirical study of the effects of test-suite reduction on fault localization[C]// Proceedings of the 30th International Conference on Soft- ware Engineering (ICSE '08), Leipzig, Germany, 2008. New York, NY, USA: ACM, 2008: 201-210.
  • 10Wong W E, Debroy V, Choi B. A family of code coverage- based heuristics for effective fault localization[J]. Journal of Systems and Software, 2010, 83(2): 188-208.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部