期刊文献+

基于子路径扩展的不可达路径检测方法 被引量:2

An Approach for Detecting Infeasible Paths Based on Sub-Path Expansion
下载PDF
导出
摘要 不可达路径是造成软件测试资源消耗的一个重要方面.在路径测试之前,检测程序中的不可达路径可以有效节约软件测试资源.提出了一种基于子路径扩展的不可达路径静态检测方法.该方法首先生成程序的子路径集,将路径的可达性问题转换为不等式组的求解问题.使用约束求解器判断子路径的可达性,可以分为:可达子路径,不可达子路径和无法判定三个部分,并对后面两部分的子路径扩展出的路径做二次可达性检测,最终获得程序中所有路径的可达性信息.可达性检测工作主要在子路径集上进行,因此有效地解决了路径爆炸问题.实验结果表明本文方法可以准确有效地检测出程序中的不可达路径. Infeasible paths are one of the most important parts to cost the test resources.Before path testing,infeasible paths detecting in a program can save test resources efficiently. This paper presents a static method to detect infeasible paths which is based on sub-path expansion. First, the proposed method generates sub-path set, and the feasibility issues will be converted into inequalities. Second, the constraint solver is used to solve the inequalities, and then we can distinguish the sub-paths into three parts: one part is infeasible sub-paths, the second part is feasible sub-paths, and the third part is undetermined. The paths that are expanded from the latter two parts will be tested again to determine their feasibility. Eventually, the feasibility of all the paths is detected. Most of the detecting work is on sub-path set, so our method makes an effective solution to the path-explosion problem. Experimental resuits show that the proposed method can detect infeasible paths more accurately and effectively.
出处 《电子学报》 EI CAS CSCD 北大核心 2015年第8期1555-1560,共6页 Acta Electronica Sinica
基金 国家自然科学基金(No.61340037 No.61202006) 中央高校基本科研业务费专项资金(No.2013NB17) 江苏省青蓝工程 江苏省333高层次人才培养工程项目 江苏省研究生培养创新工程(No.CXZZ12-0935) 南通市应用研究计划(No.BK2014055)
关键词 软件测试 子路径扩展 不可达路径检测 约束求解 software testing sub-path expansion infeasible path detection constraint solving
  • 相关文献

参考文献12

  • 1Arlt S, Sch F M. Joogie: Infeasible code detection for JavaE A1. Proceedings of CAV' 12 [ C]. Berlin: Springer, 2012. 767 - 773.
  • 2Ding Sun,Zhang Hongyu, Tan H B K. Detection of infeasible paths:Approaches and challenges[ A]. Proceedings of the 7th International Conference on Evaluation of Novel Approaches to Software Engineering[ C ]. Berlin: Springer, 2013.64 - 78.
  • 3Gong Dun Wei, Yao Xiang Juan.Automatic detection of infea- sible paths in software testing[ J]. IET Software, 2010, 4(5) : 361 - 370.
  • 4Zhuang Xiao Tong, Zhang Tao,Pande S. Using branch correla- tion to identify infeasible paths for anomaly detection[ A]. Pro- ceedings of the 39th Annual IEF.E/ACM Intemational Sympo- sium on Microarchitecture[ C ]. Washington, DC: IEEE Comput- er Society,2006. 113- 122.
  • 5Suhendra V, Milra T, Roychoudhury A, et al. Efficient detection and exploitation of infeasible paths for software timing analysis [ A] .Proceedings of the 43rd Annual Design Automation Con- ference[ C]. New York: ACM, 2006. 358 - 363.
  • 6Delahaye M, Botella B, Gotlieb A. Explanation-based general- ization of infeasible path[ A ]. Proceedings of the 3th Interna- tional Conference on Software Testing, Verification and Valida- tion[ C]. Los Alamitos: IEEE, 2010.215 - 224.
  • 7Jaffar J,Murali V,Navas J,et al. TRACER:A symbolic execu- tion tool for verification[ A ]. Proceedings of CAV' 12[ C ]. Berlin: Springer, 2012.758 - 766.
  • 8Tomb A, Flanagan C. Detecting inconsistencies via universal reachability Analysis [ A ]. Proceedings of ISSTA' 12 [ C ]. New York. ACM,2012.287 - 297.
  • 9Hermadi I, Lokan C, Sarker R. Dynamic stopping criteria for search-based test data generation for path testing[ J]. Informa- tion and Software Technology ,2014,56(4) :395 - 407.
  • 10Ghiduk A S. Automatic generation of basis test paths using variable length genetic algorithm [ J ]. Information Processing Letters, 2014,114(6) :304 - 316.

同被引文献8

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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