Embedded software testing pile inserting method based on logic execution block
An embedded software and stub-instrumenting technology, applied in the field of embedded system testing, can solve problems such as unfavorable program structure analysis, disturbing program hierarchical relationship and nesting relationship, etc., and achieve the effect of easy analysis and processing and reducing the amount of code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] to combine figure 1 And embodiment the present invention is described in further detail:
[0029] 1. Organize the program under test, complete the start and end curly braces of each logical execution block, and generate the line number correspondence of the files before and after sorting. Then, according to the different coverage types, the branch statement and loop statement in the program are processed. The specific strategies are as follows:
[0030] (1) If it is a statement coverage test, no processing is required.
[0031] (2) If it is a judgment coverage test, add a branch when the condition is not true to the do-while statement, complete all if statements that lack else, and add an else branch. The added branch does not contain specific execution statements, but acts as a logical execution block.
[0032] (3) If it is a conditional coverage test, a decision / conditional coverage test, or a conditional combination coverage test, the preprocessing methods are th...
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