Judgment method and system for stubborn variant of parallel program
A judgment method and variant technology, applied in instrumentation, electrical digital data processing, calculation, etc., can solve problems affecting the application of variation testing, and achieve the effect of improving testing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The present disclosure provides a method for determining stubborn variants of parallel programs, including:
[0038] According to the execution status of the mutated statement, the execution order of the sending node of the mutated statement is divided into equivalence classes;
[0039] Identify factors that affect variant recalcitrance;
[0040] According to the factors that affect the recalcitrance of the variant, combined with the influence of the execution order of the sending node after the equivalence class division on the factors, the recalcitrant composite index of the variant is calculated;
[0041] Set the threshold and compare it with the recalcitrant composite index to complete the determination of recalcitrant variants.
[0042] In this embodiment, the execution status of the mutated statement is determined according to the variables in the mutated statement; combined with the influence of communication dependence on variables in the set of variables relat...
Embodiment 2
[0112] In this embodiment, the program triangle is selected as the program under test, figure 2 For the code of the program triangle, the performance of the proposed method is evaluated based on variance analysis. The function of this program is to seek the triangle type formed by the first 3 input variables of the program, and calculate the value of type; in this embodiment, the Implement the mutation operation to obtain the mutation statement "w=w-type".
[0113] In order to verify the effectiveness of the determination index for stubborn variants, the following operations are performed: first, according to the calculation method of variant stubbornness disclosed in the present disclosure, the stubborn variants in the program are determined; then, the random method is used to generate test data covering the variant sentences; Finally, these test data are used to execute the program under test with recalcitrant variants. The plausibility of the disclosure was assessed in ...
Embodiment 3
[0162] This embodiment discloses a system for judging stubborn variants of parallel programs, including an equivalence classification module, a stubborn composite index calculation module, and a stubborn variant judging module;
[0163] The equivalence class division module is configured to: perform equivalence class division on the execution order of the sending nodes of the variant statement according to the execution status of the variant statement;
[0164] The recalcitrant composite index calculation module is configured to: determine the factors affecting the recalcitrance of the variant; according to the factors affecting the recalcitrance of the variant, and in combination with the influence of the execution order of the sending node after the equivalence class division on the factors, calculate the variant The recalcitrant composite index;
[0165] The recalcitrant variant determination module is configured to: set a threshold, compare it with the recalcitrant composi...
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