Research on Software Defect Detection Model Based on Neural Network

In this study, a neural network-based software defect detection model is proposed, aiming to address the limitations of traditional methods when facing complex code features and data imbalance problems. The model combines Convolutional Neural Network (CNN) and Attention Mechanism to achieve efficient modelling of code semantic information by extracting local structural features and global dependencies of the code. Meanwhile, the study introduces data enhancement techniques, including SMOTE oversampling and Gaussian noise injection, to improve the model’s detection ability and generalisation performance for minority class defective samples. The experiments are validated on NASA MDP and PROMISE datasets, and the results show that the proposed model significantly outperforms the traditional methods and the underlying neural network model in several metrics, such as precision rate, recall rate, F1 score and AUC value. In addition, the contribution of each component to the model performance is analysed through ablation experiments, demonstrating the effectiveness of the attention mechanism and data enhancement techniques. This study provides an intelligent, efficient solution with good generalisation capability for the software defect detection task, and at the same time provides new ideas and technical references for subsequent research.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/itcem65710.2024.00018
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Software Defect Detection Model Based on Neural Network

Wenyi Wang, Xintong Zhou, Yiqi Liu, Xinbo Wang et al.
Software Engineering Research
article

Research on Software Defect Detection Model Based on Neural Network

Wenyi Wang, Xintong Zhou, Yiqi Liu, Xinbo Wang, Jianhong Gan
article en

Abstract

In this study, a neural network-based software defect detection model is proposed, aiming to address the limitations of traditional methods when facing complex code features and data imbalance problems. The model combines Convolutional Neural Network (CNN) and Attention Mechanism to achieve efficient modelling of code semantic information by extracting local structural features and global dependencies of the code. Meanwhile, the study introduces data enhancement techniques, including SMOTE oversampling and Gaussian noise injection, to improve the model’s detection ability and generalisation performance for minority class defective samples. The experiments are validated on NASA MDP and PROMISE datasets, and the results show that the proposed model significantly outperforms the traditional methods and the underlying neural network model in several metrics, such as precision rate, recall rate, F1 score and AUC value. In addition, the contribution of each component to the model performance is analysed through ablation experiments, demonstrating the effectiveness of the attention mechanism and data enhancement techniques. This study provides an intelligent, efficient solution with good generalisation capability for the software defect detection task, and at the same time provides new ideas and technical references for subsequent research.

Shandong University of Science and Technology (CN)
Openalex Percentile: Top 54%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.