基于函数调用的路径覆盖生成技术研究  被引量:27

Research of Path Coverage Generation Techniques Based Function Call Graph

在线阅读下载全文

作  者:张志华[1] 牟永敏[1] 

机构地区:[1]北京信息科技大学计算机学院,北京100101

出  处:《电子学报》2010年第8期1808-1811,共4页Acta Electronica Sinica

基  金:北京市教委科技计划(No.KM201010772014)

摘  要:针对目前路径覆盖方法所存在的缺陷,提出了一种新的基于函数调用的路径覆盖生成方法.根据控制结构与函数调用语法,获取全部的静态函数调用路径,依据程序执行后的动态路径信息,判断测试用例是否覆盖了程序变更部分及受影响部分.该方法既能避免路径数目的急剧增长,又可以保证测试完全.In view of the gaps of current path coverage approach,this paper presents a new path coverage generation method based on the function call.According to control logic and function call syntax,all of the static function call paths are obtained.Dynamic path information is acquired after program running,and whether the test cases cover the program changes and the affected parts could be determined based on it.This method avoids the sharp increase in the number of paths,but also can guarantee that test completely.

关 键 词:路径覆盖 函数调用 控制逻辑 回归测试 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象