Coverage rate dynamic tracking method and device based on function call paths
A function call path, dynamic tracking technology, applied in software testing/debugging and other directions, can solve the problems of incomplete test path and huge path set, and achieve the effect of avoiding explosive growth and improving feasibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0073] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.
[0074] Such as figure 1 As shown, this embodiment provides a method for dynamic tracking of coverage based on function call paths, including:
[0075] Step 1. Perform instrumentation preprocessing on the source code under test to obtain a list of function objects and a list of control keyword objects;
[0076] Step 2, obtain the function call basic path set of the source code;
[0077] Step 3, execute the test case, and run the source code inserted in step 1 to obtain a dynamic path composed of the stub data flow of the execution path of the source code;
[0078] Step 4, according to the information provided by the function object list and the control keyword object list, split the dynamic path obtained in step 3,...
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