Title :
Generation model of basis-paths based on variable-dependence and interval-arithmetic
Author :
Du Qingfeng ; Lu Qiaoying
Author_Institution :
Sch. of Software Eng., Tongji Univ., Shanghai, China
Abstract :
Basis-path coverage testing is a kind of logic-coverage testing and is based on graph theory and vector theory. Because the combination between path and business logic hasn´t been considered, non-executable paths could be generated after executing the Basis-path algorithm. This generation model defines the non-executable path-segment and presents sub-model for acquisition of potential non-executable path-segments based on variable-dependence as well as sub-model for determination of non-executable path-segment based on interval-arithmetic. The combination of these two sub-models finds out all the nonexecutable path-segments and ensures that the basis-paths generated by the McCabe´s generation model are all executable. Through experimental verification, it is proved that this generation model could effectively generate the executable basis-path suite.
Keywords :
graph theory; program testing; McCabe generation model; basis-path coverage testing; executable basis-path suite generation model; graph theory; interval-arithmetic; logic-coverage testing; nonexecutable path generation; nonexecutable path-segment acquisition; submodels; variable-dependence; vector theory; Business; Educational institutions; Indexes; Software algorithms; Software engineering; Testing; Vectors; Generation model of Basis-paths; Interval-arithmetic; Predicate node; Variable-dependence;
Conference_Titel :
Computer Science and Network Technology (ICCSNT), 2013 3rd International Conference on
Conference_Location :
Dalian
DOI :
10.1109/ICCSNT.2013.6967111