Automatic bug localization using a combination of deep learning and model transformation through node classification

被引:5
|
作者
Yousofvand, Leila [1 ]
Soleimani, Seyfollah [1 ]
Rafe, Vahid [1 ,2 ]
机构
[1] Arak Univ, Fac Engn, Dept Comp Engn, Arak 3815688349, Iran
[2] Goldsmiths Univ London, Dept Comp, London, England
关键词
Deep learning; Bug localization; Node classification; Graph neural networks; PROGRAMS;
D O I
10.1007/s11219-023-09625-5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bug localization is the task of automatically locating suspicious commands in the source code. Many automated bug localization approaches have been proposed for reducing costs and speeding up the bug localization process. These approaches allow developers to focus on critical commands. In this paper, we propose to treat the bug localization problem as a node classification problem. As in the existing training sets, where whole graphs are labeled as buggy and bug-free, it is required first to label all nodes in each graph. To do this, we use the Gumtree algorithm, which labels the nodes by comparing the buggy graphs with their corresponding fixed graphs. In classification, we propose to use a type of graph neural networks (GNNs), GraphSAGE. The used dataset for training and testing is JavaScript buggy code and their corresponding fixed code. The results demonstrate that the proposed method outperforms other related methods.
引用
收藏
页码:1045 / 1063
页数:19
相关论文
共 50 条
  • [31] An explainable deep learning model for automated classification and localization of microrobots by functionality using ultrasound images
    Sadak, Ferhat
    ROBOTICS AND AUTONOMOUS SYSTEMS, 2025, 183
  • [32] Deep Learning-Based Regression and Classification for Automatic Landmark Localization in Medical Images
    Noothout, Julia M. H.
    de Vos, Bob D.
    Wolterink, Jelmer M.
    Postma, Elbrich M.
    Smeets, Paul A. M.
    Takx, Richard A. P.
    Leiner, Tim
    Viergever, Max A.
    Isgum, Ivana
    IEEE TRANSACTIONS ON MEDICAL IMAGING, 2020, 39 (12) : 4011 - 4022
  • [33] A Strategy to Determine When to Stop Using Automatic Bug Localization
    Shi, Zhendong
    Keung, Jacky
    Bennin, Kwabena Ebo
    Limsettho, Nachai
    Song, Qinbao
    PROCEEDINGS 2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS, VOL 1, 2016, : 185 - 190
  • [34] Automatic recognition and localization of underground pipelines in GPR B-scans using a deep learning model
    Liu, Hai
    Yue, Yunpeng
    Liu, Chao
    Spencer, B. F.
    Cui, Jie
    TUNNELLING AND UNDERGROUND SPACE TECHNOLOGY, 2023, 134
  • [35] Deep Learning Model for Automatic Identification and Classification of Distal Radius Fracture
    Gan, Kaifeng
    Liu, Yunpeng
    Zhang, Ting
    Xu, Dingli
    Lian, Leidong
    Luo, Zhe
    Li, Jin
    Lu, Liangjie
    JOURNAL OF IMAGING INFORMATICS IN MEDICINE, 2024, 37 (06): : 2874 - 2882
  • [36] Localization and phenotyping of tuberculosis bacteria using a combination of deep learning and SVMs
    Zachariou, Marios
    Arandjelovic, Ognjen
    Dombay, Evelin
    Sabiiti, Wilber
    Mtafya, Bariki
    Ntinginya, Nyanda Elias
    Sloan, Derek J.
    COMPUTERS IN BIOLOGY AND MEDICINE, 2023, 167
  • [37] Automatic Modulation Classification Based on Constellation Density Using Deep Learning
    Kumar, Yogesh
    Sheoran, Manu
    Jajoo, Gaurav
    Yadav, Sandeep Kumar
    IEEE COMMUNICATIONS LETTERS, 2020, 24 (06) : 1275 - 1278
  • [38] On Using Deep Learning for Automatic Classification System of Microseisms at Cotopaxi Volcano
    Lara-Cueva, Roman
    Iglesias, Ivan
    Rosero, Alejandro
    Benitez, Diego
    Perez-Perez, Noel
    Luis Rojo, Jose
    2024 IEEE COLOMBIAN CONFERENCE ON APPLICATIONS OF COMPUTATIONAL INTELLIGENCE, COLCAC 2024, 2024,
  • [39] Automatic classification of eclipsing binary stars using deep learning methods
    Cokina, M.
    Maslej-Kresnakova, V.
    Butka, P.
    Parimucha, S.
    ASTRONOMY AND COMPUTING, 2021, 36
  • [40] Using Deep Learning ADC for Defect Classification for Automatic Defect Inspection
    Chi, Bryce
    Chen, Andy
    Chen, Jay
    Voots, Terry
    Wu, Maruko
    Kim, Cheolkyu
    Liu, Zhuan
    METROLOGY, INSPECTION, AND PROCESS CONTROL XXXVIII, 2024, 12955