期刊文献+

基于遗传算法的函数级别软件错误定位 被引量:4

Function-Level Software Fault Location Based on Genetic Algorithm
下载PDF
导出
摘要 针对软件开发过程中的错误定位问题,提出一种以函数调用路径和遗传算法为基础的软件错误定位方法FGAFL。将软件测试中的错误定位问题转化为组合优化问题,结合函数调用路径对错误定位的影响构建适应度函数。通过遗传算法在候选种群中迭代搜索具有较高可疑度的候选错误分布,得到最优解。根据最优解对程序中的函数按可疑度进行排序,依次检查函数并定位错误的具体位置。实验表明,FGAFL方法可以有效降低运算量并缩减代码审查的范围,提高错误定位的精度和效率。 For fault location in software development based on function call path and genetic algorithm,this paper proposes a software fault location method called FGAFL.Firstly,the proposed method transforms fault location into combinatorial optimization in software testing,and constructs fitness function based on the influence of function call path.Then,to obtain the optimal solution,the method searches the candidate fault distribution with high suspicious degree in the candidate population iteratively by genetic algorithm.Finally,according to the optimal solution,the functions in the program are sorted according to the suspicious degree,while the proposed method checks the functions in that order and locate the faults.Experimental results show that FGAFL can reduce the amount of computation and the scope of code review effectively,so as to improve the accuracy and efficiency of fault location.
作者 黄晴雁 牟永敏 崔展齐 张志华 HUANG Qingyan;MU Yongmin;CUI Zhanqi;ZHANG Zhihua(Computer College,Beijing Information Science and Technology University,Beijing 100101,China;Beijing Key Laboratory of Internet Culture and Digital Dissemination Research,Beijing Information Science and Technology University,Beijing 100101,China)
出处 《计算机工程与应用》 CSCD 北大核心 2020年第22期66-73,共8页 Computer Engineering and Applications
基金 北京市自然科学基金(No.Z160002) 网络文化与数字传播北京市重点实验室开放课题(No.5221935409)。
关键词 错误定位 函数调用路径 遗传算法 适应度函数 fault location function call path genetic algorithm fitness function
  • 相关文献

参考文献9

二级参考文献101

  • 1徐宝文,聂长海,史亮,陈火旺.一种基于组合测试的软件故障调试方法[J].计算机学报,2006,29(1):132-138. 被引量:38
  • 2赵伟,张路,梅宏,孙家骕.一种基于功能需求层次凝聚的程序聚类方法[J].软件学报,2006,17(8):1661-1668. 被引量:12
  • 3Jones 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 soft- ware engineering. New York, USA= ACM, 2005 : 273-282.
  • 4Weiser M. Program slicing[J]. IEEE Transactions on Software Engineering, 1984,10(5) : 498-509.
  • 5Renieris M, Reiss S P. Fault localization with nearest neighbor queries[C]//Proceedings of the 18th IEEE International Con ference on Automated Software Engineering. USA: IEEE Com- puter Society, 2003 : 30 -39.
  • 6Jones J A, Harrold M J, Stasko J. Visualization of test informa- tion to assist fault loealization[C]//Proeeedings of the 24th In- ternational Conference on Software Engineering. USA: ACM, 2002 : 467-477.
  • 7Chen M Y, Kiciman E, Fratkin E, et al. Pinpoint:problem deter- mi- nation in large, dynamic internet services[C]//Proceedings of the 2002 International Conference on Dependable Systems and Networks. USA: IEEE Computer Society, 2002 : 595-604.
  • 8Abreu R, Zoeteweij P, van Gemund A J C: On the accuracy of spectrum based fault localization[C]//Proceedings of Testing: Academic and Industrial Conference, Practice and Research Techniques. Washington, DC, USA: IEEE Computer Society, 2007:89-98.
  • 9Liu Chao, Yan Xi-feng, Fei Long, et al. SOBER = statistical mod- el-based bug localization [J]. ACM SIGSOFT Software Engi- neering Notes, 2005,30(5) : 286-295.
  • 10Wong W E, Wei Ting-ting, Qi Yu, et al. A crosstab-based statis- tical method for effective fault localization[C]//Proceedings of the 1st International Conference on Software Testing, Verifica- tion, and Validation. Lillehammer, Washington, DC, USA: IEEEComputer Society, 2008 : 42-51.

共引文献111

同被引文献47

引证文献4

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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