期刊文献+

一种改进的程序可达基路径生成方法 被引量:1

Improved Generation Method of Feasible Basis Path in Program
下载PDF
导出
摘要 考虑程序中分支冲突和异常处理结构对控制流信息的影响,提出一种改进的程序可达基路径生成方法。分析不可达路径产生的原因及其判定方法,构建异常控制流图。在此基础上计算相关分支之间的关系,利用深度优先遍历方法得到程序的可达基路径集。实例分析结果表明,该方法能准确生成可达基路径集,满足基路径测试的要求。 This paper proposes an improved method to generate the feasible basis paths, taking into account the influence of branch correlation and exception-handling constructs on the feasibility of paths. It analyzes the causes of generation for infeasible paths and gives its detecting method, constructs exceptional control flow graph which computes the branch correlations to determine the feasibility of paths, builds the feasible basis path set. Case analysis results show that the method can effectively avoid infeasible path in basis path set, and it meets the requirements of the basis path test.
出处 《计算机工程》 CAS CSCD 2012年第9期40-42,共3页 Computer Engineering
基金 国家自然科学基金资助项目(60970032) 江苏省自然科学基金资助项目(BK2008124) 江苏省研究生培养创新工程基金资助项目(CX10B_157Z) 江苏省"青蓝工程"基金资助项目
关键词 分支冲突 异常处理 可达基路径 控制流图 基路径测试 branch conflict exception handling feasible basis path control flow graph basis path test
  • 相关文献

参考文献5

  • 1Jorgensen P C.Software Testing:A Craftsman’s Approach[M].2nd ed.Boca Raton,USA:CRC Press,2002.
  • 2McCabe T J.Structural Testing:A Software Testing MethodologyUsing the Cyclomatic Complexity Metric[M].Washington D.C.,USA:NIST Special Publication,1982.
  • 3陈蕊,张广梅,李晓维.程序中不可达路径的检测方法[J].计算机工程,2006,32(16):86-88. 被引量:7
  • 4Ngo M N,Tan H B.Heuristics-based Infeasible Path Detection forDynamic Test Data Generation[J].Information and SoftwareTechnology,2008,50(7/8):641-655.
  • 5Sinha S,Harrold M J.Control Flow Analysis of Programs withException-handling Constructs[R].The Ohio State University,Technical Report:OSU-CISRC-7/98-TR25,1998.

二级参考文献5

  • 1蒋立源 康慕宁.编译原理[M].西安:西北工业大学出版社,2000..
  • 2Peres L M, Vergilio S R, Jino M, et al. Path Selection in the Structural esting: Proposition, Implementation and Application of Strategies[C].Proceedings of XXL International Conference, Chilean, 2001:240-246.
  • 3Naoi K, Takahashi N. Detection of Infeasible Paths Using Presburger Arithmetic[C]. Proceedings of the 20^th Conference on Computer Software and Applications, 1996.
  • 4Gupta R, Gopinath E Correlation Analysis Techniques for Refining Execution Time Estimates of Resa-time Applications[C]. Proc. of the 11^th IEEE Workshop on Real-time Operating Systems and Software,1994: 54-58.
  • 5Bodik R, Gupta R, Sofia M L. Refining Data Flow Information Using Infeasible Paths Using Infeasible Paths[Z]. ACM SIGSOFT Software Eng. Notes, 1997: 361-377.

共引文献6

同被引文献2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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