摘要
路径测试法是软件测试的一种基本方法。将C程序按照控制结构进行分类,结合路径测试特点进行插装,在设置探针的同时提取函数静态信息,算法采用先获取局部路径,再进一步获取全局路径的方法。实验结果表明,基于插装的路径获取技术,具有较高的准确率和效率,尤其适用于基于函数的路径提取。
Path testing technique is a basic method of software testing.The C program is classified with control structures which will be instrumented combined with the characteristics of path testing;the function static information will be extracted while the probes are set.Algorithm adopts the method of obtaining local path firstly,then gaining the global path.Experimental results show that the extraction path based on instrumentation technology is of high accuracy and efficiency,especially applied in obtaining the path of the function.
出处
《计算机工程与应用》
CSCD
北大核心
2011年第1期67-69,共3页
Computer Engineering and Applications
基金
计算机应用技术学位点建设(No.5028223400)
北京市教委科技计划资助项目(No.KM201010772014)
关键词
路径测试
插装
函数路径
全局路径集
path testing
instrumentation
function path
global path set