Noise injection optimization method for concurrent program test
A technology of noise injection and program testing, which is applied in software testing/debugging, genetic rules, error detection/correction, etc. It can solve problems such as unrepeatable concurrent program testing, difficulty in finding concurrent errors, and high analysis costs, so as to save testing cost, improve test efficiency, and fast convergence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] Taking the optimization of the noise injection scheme of the classic benchmark program "Airlines" as an example, combined with the attached figure 1 A specific implementation of a method for optimizing a noise injection scheme proposed by the present invention will be described.
[0025] Step 1: Coding; use L={1,2,...,i,...,3054} to represent the 3054 program location sets of the program to be tested, where i∈L, 1≤i≤3054, use Inject∈ {0,1,2,3} indicates whether noise is injected into a certain program position and the type of noise injected. When Inject=0, no noise statement is injected at this program position. When Inject=1, noise statement sleep() is injected at this program position. , Inject noise statement wait () at this program position when Inject=2, inject noise statement yield () at this program position during Inject=3;
[0026] Step 2: Construct fitness; for each noise injection scheme, perform noise injection on the program under test according to the noi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


