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

Software defect prediction method and system based on network embedding

A software defect prediction and software technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as the inability to capture software structural features, and achieve the effect of improving accuracy

Inactive Publication Date: 2020-02-21
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Through network embedding, the directed graph nodes formed by the dependencies between software are projected into the low-dimensional vector space to realize the mining of software structural features, thus effectively solving the problem that traditional measurement features cannot capture software structural features

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 and system based on network embedding
  • Software defect prediction method and system based on network embedding
  • Software defect prediction method and system based on network embedding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the purpose, features and advantages of the present invention more obvious and understandable, the technical core of the present invention will be further described below in conjunction with the accompanying drawings and embodiments Detailed explanation.

[0041] In the present invention, a software defect prediction method based on network embedding is proposed, which can effectively solve the above-mentioned existing problems, and the method includes as follows:

[0042] Such as figure 1 As shown, the construction flow chart of the software defect prediction model based on network embedding is divided into five steps: first, analyze the dependencies between source code classes, then build a directed dependency network between software classes, and then construct a dependency network Above, DeepWalk is used for network embed...

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 software defect prediction method and a system based on network embedding. The method comprises the following steps: firstly, analyzing the inter-class dependency relationshipof source codes; establishing a directed software inter-class dependency network, performing network embedding on the established dependency network to obtain software structure feature data, and finally inputting the obtained software structure feature data into the software defect prediction model for evaluation to obtain software defect prediction in a software project. According to the method, potential structural features in software are automatically mined by using a network embedding method; therefore, the software defects can be more effectively predicted; the problem that structuralinformation in software is not utilized in an original defect prediction method is solved, the accuracy of a defect prediction model is improved, developers are helped to find possible defects in thesoftware in advance, test tasks are reasonably distributed, the test quantity is reduced, and the efficiency of the developers is improved.

Description

technical field [0001] The invention relates to the field of software testing and defect prediction in software engineering, in particular to a software defect prediction method and system based on network embedding. Background technique [0002] Software defect prediction is based on the past software data, and uses the model established to predict the defect of the new code. By predicting software defects, developers can find possible defects in software early, reduce the amount of testing, and improve testing efficiency. [0003] Today's research on software defect prediction technology can be divided into two stages. The first stage is the feature extraction stage, which makes the representation of defects more efficient by manually designing new features or combining features; the second stage is the classification of machine learning methods. stage, by using new machine learning algorithms to build more accurate models to provide better predictions. [0004] In the f...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3604
Inventor 肖海涛姜波卢志刚刘玉岭刘松张辰
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI
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