Title :
An improved method of acquiring basis path for software testing
Author :
Zhonglin, Zhang ; Lingxia, Mei
Author_Institution :
Sch. of Electron. & Inf. Eng., Lanzhou Jiaotong Univ., Lanzhou, China
Abstract :
Basis path testing, as an important method of white box testing, uses cyclomatic complexity to define a basic set of feasible paths. But use this method to generate a set of linearly independent paths, when data dependence exists in variables involved in decision node before and after, many basis paths themselves are infeasible. This paper combines the baseline method with the dependence relationship analysis, can avoid selecting infeasible paths from the control flow graph. Example proves that it is effective.
Keywords :
flow graphs; program testing; basis path testing; control flow graph; cyclomatic complexity; dependence relationship analysis; software testing; white box testing; Complexity theory; Flow graphs; Lead; Presses; Software quality; Software testing; basis path testing; cyclomatic complexity; infeasible path;
Conference_Titel :
Computer Science and Education (ICCSE), 2010 5th International Conference on
Conference_Location :
Hefei
Print_ISBN :
978-1-4244-6002-1
DOI :
10.1109/ICCSE.2010.5593820