Software testing method based on combination of control flow graph traversal and slice forward traversal
A software testing method and control flow graph technology, applied in the direction of software testing/debugging, etc., can solve problems such as failure to use, unsafe, adverse effects of slicing technology security, etc., and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058] The present invention is described in more detail below in conjunction with accompanying drawing example:
[0059] combine figure 2 , mainly includes the following steps:
[0060] Step 1: Create the original program and the modified program control flow graphs G and G′ respectively, and establish the correspondence between each test case and the execution path for each test case in the test case set T before the regression test.
[0061] Step 2: Traverse G and G′ synchronous depth-first search, and compare the statement nodes that can be reached by each traversal. For the node that changes the variable definition, skip to step 3; for the lexical inconsistency between nodes N and N' during the comparison process, select all test cases in T that can reach the node.
[0062] Step 3: First, explain the variables and process quantities used in the forward traversal algorithm ForwardWalk (Pairs):
[0063] Algorithm ForwardWalk(Pairs)
[0064] Enter Pairs: (s i , v i ) ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com