Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Variant reduction method based on self-organizing mapping neural network

A technology of self-organizing map and neural network, which is applied in the field of variant reduction based on self-organizing map neural network, can solve the problem of increasing the cost of mutation testing, and achieve the effect of reducing the cost of mutation testing and reducing the cost of testing

Pending Publication Date: 2022-02-25
XIAN UNIV OF POSTS & TELECOMM
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, one of the main disadvantages of mutation testing is that a large number of variants are generated for a simple program, and most of the variants are redundant. A large number of variants increases the cost of mutation testing, so reduce redundant variants as much as possible. body, which can greatly improve test efficiency and reduce the cost of variation test

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Variant reduction method based on self-organizing mapping neural network
  • Variant reduction method based on self-organizing mapping neural network
  • Variant reduction method based on self-organizing mapping neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Such as figure 1 As shown, the present invention is based on the weak mutation test and the self-organizing map neural network clustering method, and obtains a subset of variants without affecting the validity of the test, and reduces a large number of redundant variants to reduce the cost of mutation testing. The example program Triangle.java in Table 3 is taken as an example to describe the method of the present invention in detail.

[0044] Table 3 sample program

[0045]

[0046] (1) Generation of mutant kill matrix based on weak mutation test: use the mutation test tool to perform mutation operations on the programs shown in Table 3, and select AOIS, AORB, COI, COR, ODL, ROR, VDL, AOIU method-level mutation operators A total of 8, generating 198 variants, constructing 198 variant branches corresponding to the 198 variants based on the weak mutation transformation method, inserting the 198 variant branches into the positions corresponding to the sample program, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a variant reduction method based on a self-organizing mapping neural network, aiming at the problem that the number of variants in the field of variation testing is huge, so that the variation testing cost is too high. The method comprises the following steps: constructing a variation branch corresponding to a variant according to a weak variation conversion method, inserting the variation branch into an original program to obtain a new program, then executing the new program by using a test case set to obtain a variant killing matrix under a weak variation test, and taking the variant killing matrix as feature data of the variant; further acquiring the featuring variant position information and variation operator type information of variants to generate a variant feature matrix, and then adopting a self-organizing mapping neural network clustering technology for reducing redundant variants. According to the method, a large number of redundant variants can be reduced while the test effectiveness is hardly influenced, so that the variation test cost is reduced, and the software test efficiency is improved.

Description

technical field [0001] The invention belongs to the field of software testing, in particular to the field of variation testing, and relates to a variation reduction method based on a self-organizing mapping neural network. Background technique [0002] Software testing plays a vital role in ensuring software quality. Software testing exists in the entire life cycle of software development and has received extensive attention in the field of software reliability. Mutation testing is a basic software testing technique. The mutation test simulates the errors that may occur in the program. These errors are to make some small changes to a certain statement of the original program, such as replacing the relational operator "<" with "≤", injecting these errors into the original program to generate a new Program, the generated new program is called a variant, and the same test case is used to execute the original program and the variant. If the output of the program is different...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06K9/62G06N3/04G06N3/08G06F11/36
CPCG06N3/04G06N3/088G06F11/3684G06F18/232
Inventor 王曙燕高雨孙家泽王小银
Owner XIAN UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products