Method for test case reduction based on program behavior slices
Abstract
The present invention provides a method of test cases reduction based on program behavior slices. In the present invention, during a static analysis stage, analyzing a control flow and an information flow of a program according to input program codes, extracting control dependence and data dependence of the program; calculating potential dependence of the program according to the control dependence and the data dependence of the program; on the basis of the control dependence, the data dependence and the potential dependence, constructing combination dependence of the program; during a dynamic execution stage, according to an execution path and the dependence relation, calculating program behavior slices covered by the path and program behavior slices uncovered by the path, and guiding symbolic execution to generate a path capable of covering new program slices according to the uncovered program behavior slices.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of test cases reduction based on program behavior slices, comprising: S 1 ) analyzing control flow and information flow of a under test program and extracting a control dependence and a data dependence of the under test program, according to the under test program and by using a static program analysis method; S 2 ) calculating a potential dependence of the under test program, according to the control dependence and the data dependence of the under test program; S 3 ) constructing a combination dependence of the under test program in a program control flow graph, according to the cont
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗