Title :
A program segmentation method for testing data generating based on path coverage
Author_Institution :
Coll. of Inf. Sci. & Technol., Donghua Univ., Shanghai, China
Abstract :
For a program with many statements and complex structures, the testing have a lot of trouble, such as program analysis difficulties and need complex test cases, etc. This paper propose a method of dividing the program under test (PUT) into a several program segments with small cyclomatic complexity. This paper analyzes the relationship between the input variables and the fragments, gives the approach of processing the split point and illustrates the benefits of the method for generating test data both theoretically and experimentally. For each fragment, the method decreases the complexity of large program while structural testing, increases the efficiency of the test data generation.
Keywords :
program testing; software metrics; software quality; path coverage; program segmentation method; program under test; small cyclomatic complexity; test data generation; Algorithm design and analysis; Complexity theory; Flow graphs; IEEE Press; Input variables; Software; Testing; cyclomatic complexity; independent path; program segment;
Conference_Titel :
Software Engineering and Service Sciences (ICSESS), 2010 IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-6054-0
DOI :
10.1109/ICSESS.2010.5552293