Message passing interface program branch coverage test suite generation method based on genetic algorithm
A message passing interface and coverage testing technology, which is applied in the field of message passing interface program branch coverage test suite generation, can solve the problems of impractical path coverage testing and failure to detect error conditions, and achieve the effect of improving the efficiency of test generation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] This part uses C / C++ language to write programs, realizes the method proposed by the present invention, and describes it in detail in conjunction with specific drawings and examples.
[0035] figure 1 It is a flow chart of a method for generating a message passing interface program branch coverage test suite based on a genetic algorithm proposed by the present invention. Before giving the specific implementation steps of the proposed method, the global variables shown in Representation 1 are defined here.
[0036]
[0037] The specific implementation steps of the proposed method are as follows:
[0038] Step 1: Define the minimum normalized branch distance
[0039] Cover process p for collection i The information of the middle branch needs to be inserted figure 2 Probes shown. figure 2 Among them, the array flagtrue is used to store the coverage flag of the true branch, where the coverage is 1, otherwise it is 0; the array flagfalse is used to store the covera...
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