期刊文献+

基于程序变异分析的软件错误定位 被引量:3

Software Fault Localization Based on Program Mutation Analysis
下载PDF
导出
摘要 基于覆盖的错误定位(CBFL)方法通过获取成功和失败测试用例的覆盖信息和执行结果对程序中的错误进行定位,但该方法未考虑偶然性成功测试用例的影响,降低了错误定位的准确率。为此,提出一种新的软件错误定位方法,通过分析程序变异减少偶然性成功测试用例的影响,改进怀疑度计算公式,并加入对变异影响的计算。实验结果表明,与传统CBFL方法相比,该方法能够有效提高错误定位的准确率。 Coverage-Based Fault Localization(CBFL) method can locate the fault by analyzing the information and results of success and failure test cases. However, CBFL ignores the impact of accidental successful test cases, and the existence of accidental successful test cases will reduce the accuracy of the fault location. Aiming at this problem, this paper presents a new fault localization method. It reduces the influence of accidental success test cases based on program mutation anatysis, improves the doubt degree calculation formula and adds calculation of the influence of variation. Experimental results show that this method can significantly improve the accuracy of fault localization compared with the traditional CBFL method.
作者 王琦 孙文辉
出处 《计算机工程》 CAS CSCD 北大核心 2017年第12期55-59,共5页 Computer Engineering
关键词 错误定位 程序变异 成功测试用例 代码覆盖 自动化测试 fault localization program mutation successful test case code coverage automated test
  • 相关文献

参考文献5

二级参考文献191

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 2Weiser M.Programmers Use Slices When Debugging[J].Communications of the ACM,1982,25(7):446-452.
  • 3Zhang Xiangyu,He Haifeng.Experimental Evaluation of Using Dynamic Slices for Fault Location[C] //Proc,of the 6th International Symposium on Automated and Analysis-driven Debugging.California,USA:[s.n.] ,2005.
  • 4Sun Jirong,Li Zhshu,Ni Jianchen,et al.Software Fault Localization Based on Testing Requirement and Program Slice[C] //Proc.of International Conference on Networking,Architecture and Storage.Guilin,China:[s.n.] ,2007.
  • 5Zhang Xiangyu,Gupta N.Locating Faults Through Automated Predicate Switching[C] //Proc.of the 28th International Conference on Software Engineering.Shanghai,China:[s.n.] ,2006.
  • 6Jeffrey D, Gupta N, Gupta R. Fault localization using value replacement//Proceedings of the 2008 International Symposium on Software Testing and Analysis (ISSTA ' 08). Seattle, WA, USA, 2008:167-178.
  • 7Zhang X, Gupta N, Gupta R. Locating faults through automated predicate switching//Proceedings of the 28th International Conference on Software Engineering (ICSE ' 06 ). Shanghai, China, 2006:272 -281.
  • 8Reps T, Ball T, Das M, Larus J. The use of program profiling for software maintenance with applications to the year 2000 problem//Proceedings of the 6th European Software Engineering Conference Held Jointly with the 5th ACM SIG- SOFT International Symposium on Foundations of Software Engineering(ESEC'97/FSE-5). Zurich, Switzerland, 1997.- 432 449.
  • 9Harrold M J, Rothermel G, Sayre K, Wu R, Yi L. An empirical investigation of the relationship between spectra differences and regression faults. Software Testing Verification and Reliability, 2000, 10(3): 171-194.
  • 10Jones J A, Harrold M J, Stasko J. Visualization of test information to assist fault localization//Proceedings of the 24th International Conference on Software Engineering (ICSE' 02). Orlando, Florida, 2002: 467-477.

共引文献66

同被引文献19

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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