Computer Engineering and Applications ›› 2011, Vol. 47 ›› Issue (1): 67-69.DOI: 10.3778/j.issn.1002-8331.2011.01.019
• 研发、设计、测试 • Previous Articles Next Articles
MU Yongmin,JIANG Zhiying,ZHANG Zhihua
Received:
Revised:
Online:
Published:
Contact:
牟永敏,姜智荧,张志华
通讯作者:
Abstract: 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.
摘要: 路径测试法是软件测试的一种基本方法。将C程序按照控制结构进行分类,结合路径测试特点进行插装,在设置探针的同时提取函数静态信息,算法采用先获取局部路径,再进一步获取全局路径的方法。实验结果表明,基于插装的路径获取技术,具有较高的准确率和效率,尤其适用于基于函数的路径提取。
CLC Number:
TP311
MU Yongmin,JIANG Zhiying,ZHANG Zhihua. Path extraction based on C program instrumentation[J]. Computer Engineering and Applications, 2011, 47(1): 67-69.
牟永敏,姜智荧,张志华. 面向C程序插装的路径提取[J]. 计算机工程与应用, 2011, 47(1): 67-69.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/10.3778/j.issn.1002-8331.2011.01.019
http://cea.ceaj.org/EN/Y2011/V47/I1/67