The Dynamic Function Calling Path Generation Based on Instrumentation

Article Preview

Abstract:

Path coverage testing is almost impossible to achieve because of the large number of paths. The function calling path coverage analysis method can guaranty adequate test coverage rate effectively on the precondition of unit testing completion. Based on function calling relations, the methods of dynamic generation function calling path is proposed. For cycle and recursive calling, design instrumentation rules and probe function, complete source code instrumentation, ensure the stub point flow can trace to the function calling relations. The function calling path generation algorithms were designed to split the stub point flow to the dynamic function calling path. Experimental results show that the dynamic function calling path generation method based instrumentation can extract the function calling paths which are executed by test cases and gain the coverage of information automatically.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

1469-1478

Citation:

Online since:

June 2014

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] In Chinese: Yin Hao, Yu XiuShan: Analysis and practice of program design defects[M]. Publishing House of electronics industry, 2011: 24-36.

Google Scholar

[2] In Chinese: LvJinHe: Computer & Information Technology, 2010, z1: 71-75.

Google Scholar

[3] In Chinese: Hou Yun, Gu Gang, GaoHaiChang: An improved method of automatic generation for path coverage. Computer Engineering, 2007, 33(4): 67-69.

Google Scholar

[4] In Chinese: Du QingFeng, Li Na. Computer Engineering, 2009, 35(15): 100-102.

Google Scholar

[5] MU Yong min, ZHENG Yu hui, ZHANG Zhihua et al. CHINESE JOURNAL OF ELECTRONICS, 2012, 21(2): 236-240.

Google Scholar

[6] In Chinese: Zhang Zhihua, Mu Yongmin: Research of Path Coverage Generation Techniques Based Function Call Graph. Acta Electronica Sinica, 2010, 138(8): 1808-1811.

Google Scholar

[7] Huiyu ZHENG, Yongmin MU, Zhihua Zhang: Research on the Static Function Call Path Generating Automatically[C]. 2010 The Second IEEE International Conference on Information Management and Engineering, ChengDu, 2010: 317-322.

DOI: 10.1109/icime.2010.5478114

Google Scholar