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

Cross-version depth defect prediction method capable of relieving class overlapping problem

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: 2020-10-13
IANGSU COLLEGE OF ENG & TECH
View PDF3 Cites 4 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
  • Cross-version depth defect prediction method capable of relieving class overlapping problem
  • Cross-version depth defect prediction method capable of relieving class overlapping problem
  • Cross-version depth defect prediction method capable of relieving class overlapping problem

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 a 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 data sets in the process of software defect prediction, a cross-version software defect deep feature learning method CnnSncr oriented to class overlap is proposed, which uses a hybrid nearest neighbor cleaning strategy to process deep semantics Class overlap during feature learning. Using this method, semantic and structural features can be automatically learned from source code, and feature vectors based on deep semantic learning can be provided for classifiers. The overall process of the met...

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 deep defect prediction method capable of relieving a class overlapping problem. The method comprises 1, a deep semantic learning-oriented overall framework in cross-version software defect prediction; 2, a semantic feature learning model based on a convolutional neural network; 3, a hybrid nearest neighbor cleaning strategy for deep semantic learning. According to the method, a hybrid nearest neighbor cleaning strategy is adopted to relieve the class overlapping problem existing in semantic features learned by deep learning. Specifically, for an abstractsyntax tree corresponding to a source code, a convolutional neural network is adopted to learn deep semantic features, and then a hybrid nearest neighbor cleaning strategy is adopted to perform resampling and data cleaning on a labeled data set. By adopting the hybrid nearest neighbor cleaning strategy, the class imbalance problem and the class overlapping problem can be processed, and the statistical analysis result of the data shows that the 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 deep defect prediction method that can alleviate the class overlapping problem. Background technique [0002] Software defect prediction is used to identify software defects in the software development process. The historical data generated during 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. From the perspective of the software process (software process), historical data-oriented metrics are artificially designed to build classification models, including metrics based on lines of code, Halstead scientific metrics, and McCabe cycle complex Degree (cyclomatic complexity) and so on. The traditional intra-item defect prediction model focuses on the static metric, and the classification model is constructed based on the metric, based on the fact that poten...

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/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