Data flow-oriented test case generation method
A test case generation and test case technology, applied in software testing/debugging, electrical digital data processing, genetic laws, etc., can solve problems such as multiple time, resources, consumption, etc., to optimize the generation method process and reduce program instrumentation. the effect of the number of times
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] like figure 1 As shown, a test case generation method oriented to the data flow criterion, including the following steps:
[0032] (1) Perform data flow analysis on the program to be tested to obtain all definition-use pairs in the program;
[0033] (2) Design and train the BP neural network to simulate the fitness function;
[0034] (3) Genetic algorithm is used to generate test cases covering all definition-use pairs.
[0035] In step (1), the specific steps for calculating all definition-use pairs in the program are:
[0036] (11) Use the open source tool SOOT to analyze the program to be tested and construct the corresponding control flow graph CFG, where each node represents an atomic operation, and assign a unique number to each node in the CFG for subsequent analysis;
[0037] (12) Data flow analysis based on CFG. like figure 2 As shown, the depth-first traversal method is used to traverse the program CFG to obtain all the paths of the program. First defin...
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