Convolutional Neural Networks over Control Flow Graphs for Software Defect Prediction

被引:88
|
作者
Anh Viet Phan [1 ]
Minh Le Nguyen [1 ]
Lam Thu Bui [2 ]
机构
[1] Japan Adv Inst Informat Technol, Nomi 9231211, Japan
[2] Le Quy Don Tech Univ, Hanoi, Vietnam
关键词
Software Defect Prediction; Control Flow Graphs; Convolutional Neural Networks;
D O I
10.1109/ICTAI.2017.00019
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Existing defects in software components is unavoidable and leads to not only a waste of time and money but also many serious consequences. To build predictive models, previous studies focus on manually extracting features or using tree representations of programs, and exploiting different machine learning algorithms. However, the performance of the models is not high since the existing features and tree structures often fail to capture the semantics of programs. To explore deeply programs' semantics, this paper proposes to leverage precise graphs representing program execution flows, and deep neural networks for automatically learning defect features. Firstly, control flow graphs are constructed from the assembly instructions obtained by compiling source code; we thereafter apply multi-view multi-layer directed graph-based convolutional neural networks (DGCNNs) to learn semantic features. The experiments on four real-world datasets show that our method significantly outperforms the baselines including several other deep learning approaches.
引用
收藏
页码:45 / 52
页数:8
相关论文
共 50 条
  • [1] Cognitive Complexity and Graph Convolutional Approach Over Control Flow Graph for Software Defect Prediction
    Gupta, Mansi
    Rajnish, Kumar
    Bhattacharjee, Vandana
    IEEE ACCESS, 2022, 10 : 108870 - 108894
  • [2] Analysis of Control Flow Graphs Using Graph Convolutional Neural Networks
    Philipp, Patrick
    Georgi, Rafael X. Morales
    Beyerer, Juergen
    Robert, Sebastian
    2019 6TH INTERNATIONAL CONFERENCE ON SOFT COMPUTING & MACHINE INTELLIGENCE (ISCMI 2019), 2019, : 73 - 77
  • [3] Software Defect Prediction via Convolutional Neural Network
    Li, Jian
    He, Pinjia
    Zhu, Jieming
    Lyu, Michael R.
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 318 - 328
  • [4] Software Defect Prediction using Convolutional Neural Network
    Wongpheng, Kittisak
    Visutsak, Porawat
    35TH INTERNATIONAL TECHNICAL CONFERENCE ON CIRCUITS/SYSTEMS, COMPUTERS AND COMMUNICATIONS (ITC-CSCC 2020), 2020, : 240 - 243
  • [5] Software Defect Prediction Using Neural Networks
    Jindal, Rajni
    Malhotra, Ruchika
    Jain, Abha
    2014 3RD INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (ICRITO) (TRENDS AND FUTURE DIRECTIONS), 2014,
  • [6] Convolutional Neural Networks for Software Defect Categorization: An Empirical Validation
    Malhotra, Ruchika
    Cherukuri, Madhukar
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2025, 31 (01) : 22 - 51
  • [7] Defect Prediction in Software Repositories with Artificial Neural Networks
    Bautista, Ana M.
    San Feliu, Tomas
    TRENDS AND APPLICATIONS IN SOFTWARE ENGINEERING, 2016, 405 : 165 - 174
  • [8] Software defect prediction via optimal trained convolutional neural network
    Balasubramaniam, S.
    Gollagi, Shantappa G.
    ADVANCES IN ENGINEERING SOFTWARE, 2022, 169
  • [9] Temporal Convolutional Networks for Just-in-Time Software Defect Prediction
    Ardimento, Pasquale
    Aversano, Lerina
    Bernardi, Mario
    Cimitile, Marta
    ICSOFT: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES, 2020, : 384 - 393
  • [10] Severity prediction of software vulnerabilities using convolutional neural networks
    Saklani, Santosh
    Kalia, Anshul
    INFORMATION AND COMPUTER SECURITY, 2025,