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

被引:0
|
作者
Leila Yousofvand
Seyfollah Soleimani
Vahid Rafe
机构
[1] Arak University,Department of Computer Engineering, Faculty of Engineering
[2] Goldsmiths University of London,Department of Computing
来源
Software Quality Journal | 2023年 / 31卷
关键词
Deep learning; Bug localization; Node classification; Graph neural networks;
D O I
暂无
中图分类号
学科分类号
摘要
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
页数:18
相关论文
共 50 条
  • [1] Automatic bug localization using a combination of deep learning and model transformation through node classification
    Yousofvand, Leila
    Soleimani, Seyfollah
    Rafe, Vahid
    SOFTWARE QUALITY JOURNAL, 2023, 31 (04) : 1045 - 1063
  • [2] Bug Localization with Combination of Deep Learning and Information Retrieval
    An Ngoc Lam
    Anh Tuan Nguyen
    Hoan Anh Nguyen
    Nguyen, Tien N.
    2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, : 218 - 229
  • [3] Applying Deep Learning Algorithm to Automatic Bug Localization and Repair
    Yang, Geunseok
    Min, Kyeongsic
    Lee, Byungjeong
    PROCEEDINGS OF THE 35TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING (SAC'20), 2020, : 1634 - 1641
  • [4] An Imbalanced Deep Learning Model for Bug Localization
    Bui Thi Mai Anh
    Nguyen Viet Luyen
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW 2021), 2021, : 32 - 40
  • [5] Target Advertising Classification using Combination of Deep Learning and Text model
    Phaisangittisagul, E.
    Koobkrabee, Y.
    Wirojborisuth, K.
    Ratanasrimetha, T.
    Aummaro, S.
    2019 10TH INTERNATIONAL CONFERENCE OF INFORMATION AND COMMUNICATION TECHNOLOGY FOR EMBEDDED SYSTEMS (IC-ICTES), 2019,
  • [6] A deep multimodal model for bug localization
    Zhu, Ziye
    Li, Yun
    Wang, Yu
    Wang, Yaojing
    Tong, Hanghang
    DATA MINING AND KNOWLEDGE DISCOVERY, 2021, 35 (04) : 1369 - 1392
  • [7] A deep multimodal model for bug localization
    Ziye Zhu
    Yun Li
    Yu Wang
    Yaojing Wang
    Hanghang Tong
    Data Mining and Knowledge Discovery, 2021, 35 : 1369 - 1392
  • [8] Deep Learning With Customized Abstract Syntax Tree for Bug Localization
    Liang, Hongliang
    Sun, Lu
    Wang, Meilin
    Yang, Yuxing
    IEEE ACCESS, 2019, 7 : 116309 - 116320
  • [9] An Efficient Deep Learning Model for Automatic Modulation Classification
    Liu, Xuemin
    Song, Yaoliang
    Zhu, Jiewei
    Shu, Feng
    Qian, Yuwen
    RADIOENGINEERING, 2024, 33 (04) : 713 - 720
  • [10] Learning deep neural networks for node classification
    Li, Bentian
    Pi, Dechang
    EXPERT SYSTEMS WITH APPLICATIONS, 2019, 137 : 324 - 334