• Home
  • Search
  • Software Defect Prediction via Convolutional Neural Network
  • Cite Icon460
  • https://doi.org/10.1109/qrs.2017.42Copy DOI Icon

Software Defect Prediction via Convolutional Neural Network

  • Jul 1, 2017
  • Jian Li +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

To improve software reliability, software defect prediction is utilized to assist developers in finding potential bugs and allocating their testing efforts. Traditional defect prediction studies mainly focus on designing hand-crafted features, which are input into machine learning classifiers to identify defective code. However, these hand-crafted features often fail to capture the semantic and structural information of programs. Such information is important in modeling program functionality and can lead to more accurate defect prediction.In this paper, we propose a framework called Defect Prediction via Convolutional Neural Network (DP-CNN), which leverages deep learning for effective feature generation. Specifically, based on the programs' Abstract Syntax Trees (ASTs), we first extract token vectors, which are then encoded as numerical vectors via mapping and word embedding. We feed the numerical vectors into Convolutional Neural Network to automatically learn semantic and structural features of programs. After that, we combine the learned features with traditional hand-crafted features, for accurate software defect prediction. We evaluate our method on seven open source projects in terms of F-measure in defect prediction. The experimental results show that in average, DP-CNN improves the state-of-the-art method by 12%.

Similar Papers
  • Addendum
  • Citations3

WITHDRAWN: Software bug prediction and classification by global pooling of different activation of convolution layers

  • Dec 01, 2020
  • Materials Today: Proceedings
  • Pavan Kumar Chaubey +1
  • PDF
  • Research Article
  • Citations137

Software Defect Prediction via Attention-Based Recurrent Neural Network

  • Apr 15, 2019
  • Scientific Programming
  • Guisheng Fan +4
  • Research Article

Bidirectional Recurrent Neural Network Language Model: Cross Entropy Churn Metrics for Defect Prediction Modeling

  • Dec 10, 2020
  • International Journal of Data Mining Techniques and Applications
  • Nivetha R +1
  • Research Article
  • Citations43

An Abstract Syntax Tree Encoding Method for Cross-Project Defect Prediction

  • Jan 01, 2019
  • IEEE Access
  • Ziyi Cai +2
  • Conference Article
  • Citations23

Software Defect Prediction via Transformer

  • May 05, 2020
  • Qihang Zhang +1
  • Research Article
  • Citations63

PathPair2Vec: An AST path pair-based code representation method for defect prediction

  • May 28, 2020
  • Journal of Computer Languages
  • Ke Shi +3
  • PDF
  • Research Article
  • Citations30

An Adversarial Discriminative Convolutional Neural Network for Cross-Project Defect Prediction

  • Jan 01, 2020
  • IEEE Access
  • Lei Sheng +2
  • PDF
  • Research Article
  • Citations45

Transfer Convolutional Neural Network for Cross-Project Defect Prediction

  • Jun 29, 2019
  • Applied Sciences
  • Shaojian Qiu +4
  • Book Chapter
  • Citations3

A Novel Convolutional Neural Network Model to Predict Software Defects

  • Jan 29, 2022
  • Kumar Rajnish +2
  • Conference Article
  • Citations4

A Novel Feature Selection Approach based on Binary Particle Swarm Optimization and Ensemble Learning for Heterogeneous Defect Prediction

  • Jan 15, 2021
  • Ruchika Malhotra +3
  • Research Article
  • Citations22

Just-in-time defect prediction based on AST change embedding

  • Apr 25, 2022
  • Knowledge-Based Systems
  • Weiyuan Zhuang +2
  • Research Article
  • Citations1

Improving model performance for software defect detection and prediction using ensemble method and cross validation techniques

  • Aug 30, 2024
  • International Journal of Science and Research Archive
  • Emmanuel U Oyo-Ita +3
  • Conference Article
  • Citations8

Software Defect Prediction Using Process Metrics Systematic Literature Review: Dataset and Granularity Level

  • Sep 22, 2021
  • Salsabila Ramadhina +5
  • Research Article
  • Citations12

Evaluating the effectiveness of decomposed Halstead Metrics in software fault prediction

  • Nov 27, 2023
  • PeerJ Computer Science
  • Bilal Khan +1
  • PDF
  • Research Article
  • Citations19

Local versus Global Models for Just-In-Time Software Defect Prediction

  • Jun 12, 2019
  • Scientific Programming
  • Xingguang Yang +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.