Software Bug Prediction Model using Graph Neural Network

被引:0
|
作者
Takeda, Tomohiro [1 ]
Masuda, Satoshi [1 ]
机构
[1] Tokyo City Univ, Informat, Yokohama, Kanagawa, Japan
关键词
Software testing; Graph Analytics; Static Testing; Test Metrics;
D O I
10.1109/ICSTW60967.2024.00035
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To ensure the quality of software source code, numerous software testing approaches have been studied. Software is now integral to numerous devices, enterprise services, and public services. Although the demand for software quality has increased, Software Science has yet to provide a definitive solution for bug prediction methodologies. In this study, we propose a novel bug prediction methodology for software testing using Graph Neural Network (GNN) techniques. We attempt to apply the machine learning technique of Graph Convolutional Neural Networks (GCN) to Control Flow Graphs (CFG) generated from the tri-address information of the test target source code. In the CFG, multiple graph centrality values are utilized as graph feature for bug prediction. Hence, our bug prediction model based on graph neural network (BP-GNN) exhibits a better result with an accuracy value of 82%. This result represents an 15% improvement compared to the outcomes of previous study using Akaike Information Criterion (AIC) with graph centrality annotation for same CFG data.
引用
收藏
页码:122 / 127
页数:6
相关论文
共 50 条
  • [1] Software bug prediction using graph neural networks and graph-based text representations
    Siachos, Ilias
    Kanakaris, Nikos
    Karacapilidis, Nikos
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 259
  • [2] Research of Software Defect Prediction Model Based on Complex Network and Graph Neural Network
    Cui, Mengtian
    Long, Songlin
    Jiang, Yue
    Na, Xu
    ENTROPY, 2022, 24 (10)
  • [3] Software Bug Prediction Model Based on Mathematical Graph Features Metrics
    Takeda, Tomohiro
    Masuda, Satoshi
    Tsuda, Kazuhiko
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2022), 2022, : 229 - 235
  • [4] A Network Traffic Prediction Model Based on Graph Neural Network in Software-Defined Networking
    Li, Guoyan
    Shang, Yihui
    Liu, Yi
    Zhou, Xiangru
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY AND PRIVACY, 2022, 16 (01)
  • [5] BugPre: an intelligent software version-to-version bug prediction system using graph convolutional neural networks
    Wang, Zixu
    Tong, Weiyuan
    Li, Peng
    Ye, Guixin
    Chen, Hao
    Gong, Xiaoqing
    Tang, Zhanyong
    COMPLEX & INTELLIGENT SYSTEMS, 2023, 9 (04) : 3835 - 3855
  • [6] BugPre: an intelligent software version-to-version bug prediction system using graph convolutional neural networks
    Zixu Wang
    Weiyuan Tong
    Peng Li
    Guixin Ye
    Hao Chen
    Xiaoqing Gong
    Zhanyong Tang
    Complex & Intelligent Systems, 2023, 9 : 3835 - 3855
  • [7] A spatial-temporal graph neural network framework for automated software bug triaging
    Wu, Hongrun
    Ma, Yutao
    Xiang, Zhenglong
    Yang, Chen
    He, Keqing
    KNOWLEDGE-BASED SYSTEMS, 2022, 241
  • [8] A SOFTWARE-RELIABILITY PREDICTION MODEL USING A NEURAL-NETWORK
    TAKADA, Y
    MATSUMOTO, K
    TORII, K
    SYSTEMS AND COMPUTERS IN JAPAN, 1994, 25 (14) : 22 - 31
  • [9] A Factor Graph Model for Software Bug Finding
    Kremenek, Ted
    Ng, Andrew Y.
    Engler, Dawson
    20TH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2007, : 2510 - 2516
  • [10] JITGNN: A deep graph neural network framework for Just-In-Time bug prediction
    Keshavarz, Hossein
    Rodriguez-Perez, Gema
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 210