Check patentability & draft patents in minutes with Patsnap Eureka AI!

Software defect prediction method based on heterogeneous graph neural network

A software defect prediction and neural network technology, applied in the field of software defect testing, can solve problems such as the inability to directly migrate the development management process, cold start, and practical application value limitations, so as to quickly solve existing defects and improve reliability and stability Effect

Active Publication Date: 2022-05-24
BEIHANG UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practical applications, software defect prediction technology driven by machine learning faces the problems of cold start and lack of labeled data, which limits the practical application value of software defect prediction technology based on artificial design features or machine learning methods.
At the same time, cross-project software defect prediction is a relatively difficult point: there are large differences between different projects, and software development backgrounds such as development requirements and application scenarios, actual development content, and development management processes cannot be directly migrated

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
  • Software defect prediction method based on heterogeneous graph neural network
  • Software defect prediction method based on heterogeneous graph neural network
  • Software defect prediction method based on heterogeneous graph neural network

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0125] Use the method described in the present invention to perform software defect prediction on 8 software warehouses maintained by the Apache organization, such as Image 6 The code diagram structure corresponding to the generated MESOS software is shown, such as Figure 7 Shown is the prediction effect of the software defect prediction method under the sampling of small negative samples and the sampling of large negative samples. It is found that the predicted data can effectively rank the correct defect samples among a large number of defect samples. Figure 8 Shown is a comparison of the prediction performance using this heterogeneous graph neural network based method and without using a heterogeneous graph neural network. Through the result analysis, it can be concluded that the software defect prediction method of the present invention can accurately and accurately find potential related defects in the software.

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 discloses a software defect prediction method based on a heterogeneous graph neural network, and belongs to the field of software defect testing. The method comprises the steps that firstly, existing software warehouses and software defect log data are converted into corresponding code graphs and defect chains through corresponding analysis; according to the content of the defect description information, performing cross-domain association on nodes in the code graph and nodes in the defect graph through a prefix tree with a state machine; after representation vectors are generated for the code nodes and the defect nodes respectively, the representation vectors are sent into a heterogeneous graph neural network for multi-level attention aggregation, information transmission of content and semantic paths is obtained, and the code nodes and the defect nodes which are connected are obtained; decoding the connection nodes by using a knowledge graph representation learning method, and normalizing decoding scores to obtain whether the code nodes have defects or not; according to the method, software defect prediction is carried out in a new mode, and the accuracy of a software defect prediction tool is improved.

Description

technical field [0001] The invention belongs to the field of software defect testing, in particular to a software defect prediction method based on a heterogeneous graph neural network. Background technique [0002] In the process of software development, software defects will inevitably be introduced, and software defects have an important impact on software quality. [0003] With the rise of mobile Internet, cloud computing, blockchain and artificial intelligence, the scope of software quality assurance has also expanded from the traditional software industry to the emerging software field, and higher requirements have been put forward for software quality assurance. Diversified software applications have covered all walks of life. With the continuous iteration and updating of software technologies, the complexity of the software is also increasing. At this time, the reliability and stability of the software system is an issue that cannot be ignored. It is closely related...

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): G06F11/36G06N3/04G06N3/08
CPCG06F11/3668G06N3/04G06N3/08Y02D10/00
Inventor 姜博熊扬帆高小鹏王世海孙海龙
Owner BEIHANG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More