Method for evolving and generating path coverage test data facing defects
A path coverage testing, defect-oriented technology, applied in the field of computer software testing, can solve the problems that the program cannot run normally or can be found by the compilation system, cannot be detected by the compilation system, and the program running result is incorrect, etc., and achieves high efficiency. , improve efficacy, targeted effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] The embodiments of the present invention will be described in detail below with reference to specific drawings and examples.
[0030] Step 1. Establishment of mathematical model
[0031] 1.1 Decision variables
[0032] Consider a program under test, because different input data will traverse different paths of the program, and different defects on the path may be detected. Therefore, when establishing a mathematical model of defect-oriented path coverage test data generation problem, select the program under test As the decision variable, denoted as x = (x 1 , X 2 ,..., x n ), where n is the number of data that needs to be input to run the tested program, x i , I=1, 2,..., n is the component of the input data, which can be real numbers, integers, or even characters, etc. For example, in a bubble sorting program of 5 integers, n=5, x i , I=1, 2,..., 5 is an integer.
[0033] 1.2 Constraint function
[0034] The path representation method when calculating layer proximity refers to...
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