期刊名称:International Journal of Signal Processing, Image Processing and Pattern Recognition
印刷版ISSN:2005-4254
出版年度:2016
卷号:9
期号:6
页码:133-148
DOI:10.14257/ijsip.2016.9.6.12
出版社:SERSC
摘要:The coverage test method based on function call path is according to the relationship between functions, not only effectively reduce the number of test case, but also ensure the adequacy of the test coverage, how to accurately extract these paths is the key problem of this test method. Paper proposed that for the single function of C program, analysis and extraction the control flow graph and local function call information stored on a particular data structure, design a algorithm to analysis the local function call information, starting from the main function, expanse the function call information layer by layer, and then get the global function call relationship of the program. Experimental results show that this method can accurately obtain the local function call information and global function call path, accurately restore the function call relationship of the program.
关键词:test coverage; function call path; C program; control flow graph