Method for determining context environmental effect of function call in program path
A technology of function calling and environmental impact, which is applied in the field of automatic testing of software units, can solve the problems that the value cannot meet the path conditions and affect the test coverage, etc., and achieve the effect of improving efficiency and coverage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0070] The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments of the present invention.
[0071] The basic idea of the present invention: by calculating the influence of each function call point in a given path on the context environment, the path-sensitive symbolic interval operation technology is used to determine the context conditions that must be satisfied by each call point of the called function on the path, Finally, a simulated replacement function of the called function is generated according to the condition, which ensures that the program under test is executed according to the target path, thereby achieving the purpose of improving the efficiency and coverage of the unit test.
[0072] figure 1 It is a schematic flowchart of a method for determining the contextual influence of a function call in the program path of the present invention, the method uses a return value, a global ...
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