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

A cross -version depth deficiency prediction method that can alleviate overlap problems

A prediction method and technology for software defect prediction, applied in error detection/correction, software testing/debugging, instrumentation, etc., can solve problems such as class overlapping problems with less research, and achieve the effect of improving performance

Active Publication Date: 2022-08-09
IANGSU COLLEGE OF ENG & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these strategies are all based on traditional static metrics, and there are few studies on class overlap for semantic learning-based software defect prediction.

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
  • A cross -version depth deficiency prediction method that can alleviate overlap problems
  • A cross -version depth deficiency prediction method that can alleviate overlap problems
  • A cross -version depth deficiency prediction method that can alleviate overlap problems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The invention includes an overall framework for deep semantic learning in cross-version software defect prediction, a semantic feature learning model based on convolutional neural network, and a hybrid nearest neighbor cleaning strategy for deep semantic learning.

[0052] 1. An overall framework for deep semantic learning in cross-version software defect prediction

[0053] Aiming at the problem of insufficient use of source code semantic features and class overlap in training datasets in the process of software defect prediction, a class overlap-oriented cross-version software defect deep feature learning method CnnSncr is proposed. This method uses a hybrid nearest neighbor cleaning strategy to deal with deep semantics. Class overlap during feature learning. Using this method, semantic and structural features can be automatically learned from the source code, and feature vectors based on deep semantic learning can be provided for the classifier. The overall process ...

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 cross-version depth defect prediction method that can alleviate the problem of class overlap, including the following: 1. An overall framework for deep semantic learning in cross-version software defect prediction; 2. A semantic feature learning model based on a convolutional neural network 3. Hybrid nearest neighbor cleaning strategy for deep semantic learning. The present invention adopts a hybrid nearest neighbor cleaning strategy to alleviate the class overlap problem existing in the semantic features learned by deep learning. Specifically, for the abstract syntax tree corresponding to the source code, a convolutional neural network is used to learn deep semantic features, and then a hybrid nearest neighbor cleaning strategy is used to resample and clean the labeled dataset. The hybrid nearest neighbor cleaning strategy can deal with the problem of class imbalance and class overlap. The results of statistical analysis of the data show that this strategy can improve the performance of software defect prediction based on deep semantic learning.

Description

technical field [0001] The invention specifically relates to a cross-version depth defect prediction method which can alleviate the problem of class overlap. Background technique [0002] Software defect prediction is used to identify software defects in the software development process. The historical data generated in the software development process constitutes the training data of the software defect prediction classifier, and these data can be labeled from multiple granularities such as files and classes. Historical data-oriented metrics from the software process perspective are manually designed to build classification models, including lines of code-based metrics, Halstead scientific metrics, and McCabe loop complexities Degree (cyclomatic complexity) and so on. The traditional intra-project defect prediction model focuses on static metric elements and builds a classification model based on metric elements. Potential defective modules should have the same statistica...

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 Patents(China)
IPC IPC(8): G06F11/36G06F8/41G06K9/62G06N3/04
CPCG06F11/3608G06F8/427G06F8/436G06N3/045G06F18/23213
Inventor 李芳曲豫宾
Owner IANGSU COLLEGE OF ENG & TECH
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