p.1463
p.1469
p.1479
p.1488
p.1497
p.1507
p.1511
p.1516
p.1520
Generation of Static Function Calling Paths in C++ Based on Finite-State Machine
Abstract:
Path coverage testing based on the function calling relationship is an important criterion for ensuring testing adequacy. The key to path testing is the determination of path number. This paper proposes an algorithm to generate static function calling paths with control logic based on the finite-state machine (FSM). The algorithm analyzes the C++ static source code and extracts the program information, generating static function calling paths and function calling graphs. The experiment proves that the algorithm can accurately generate static function calling paths with control logic and obtain the path number of the testing program. The accurate extraction of the static function calling paths lays a solid foundation for path coverage testing based on the function calling relationship.
Info:
Periodical:
Pages:
1497-1504
Citation:
Online since:
June 2014
Authors:
Price:
Сopyright:
© 2014 Trans Tech Publications Ltd. All Rights Reserved
Share:
Citation: