Applying Deep Learning Algorithm to Automatic Bug Localization and Repair

被引:13
|
作者
Yang, Geunseok [1 ]
Min, Kyeongsic [1 ]
Lee, Byungjeong [1 ]
机构
[1] Univ Seoul, Dept Comp Sci, Seoul, South Korea
来源
PROCEEDINGS OF THE 35TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING (SAC'20) | 2020年
基金
新加坡国家研究基金会;
关键词
Bug Localization; Bug Repair; Bug Report; Deep Learning;
D O I
10.1145/3341105.3374005
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Owing to the increasing size and complexity of software, large/small bugs have become inevitable. To fix software bugs in some cases, developers may need to spend a considerable amount of time debugging. Some studies have reported that typographical errors in natural and programming languages are nearly identical. We herein propose a method to solve these mistakes automatically. We perform bug localization using an autoencoder and CNN to compute a rank score. In details, we extract features from bug reports and program source code. Then, we input these features into the autoencoder. Next, the output of autoencoder applies to the CNN. Finally, we compute a rank score between the bug report and program source code. Regarding bug repair, we utilize Seq-GAN algorithm. In details, first, we convert program source code into multiple lines with tokens. Then, we apply the Seq-GAN algorithm to generate the candidate buggy patches. To evaluate the effectiveness of the proposed method, performance comparisons with similar related studies were conducted. The comparison shows that our approach produces better results compared to other studies.
引用
收藏
页码:1634 / 1641
页数:8
相关论文
共 50 条
  • [21] Automatic Localization of Optic Disc Based on Deep Learning in Fundus Images
    Niu, Di
    Xu, Peiyuan
    Wan, Cheng
    Cheng, Jun
    Liu, Jiang
    2017 IEEE 2ND INTERNATIONAL CONFERENCE ON SIGNAL AND IMAGE PROCESSING (ICSIP), 2017, : 208 - 212
  • [22] A Lightweight Automatic Modulation Recognition Algorithm Based on Deep Learning
    Yi, Dong
    Wu, Di
    Hu, Tao
    IEICE TRANSACTIONS ON COMMUNICATIONS, 2023, E106-B (04) : 367 - 373
  • [23] Accurate object localization facilitates automatic esophagus segmentation in deep learning
    Li, Zhibin
    Gan, Guanghui
    Guo, Jian
    Zhan, Wei
    Chen, Long
    RADIATION ONCOLOGY, 2024, 19 (01)
  • [24] Deep Learning Algorithm for Automatic Classification of Power Quality Disturbances
    Albalooshi, Fatema A.
    Qader, M. R.
    APPLIED SCIENCES-BASEL, 2025, 15 (03):
  • [25] Applying a Deep Learning Algorithm to Tsunami Inundation Database of Megathrust Earthquakes
    Mulia, Iyan E.
    Gusman, Aditya Riadi
    Satake, Kenji
    JOURNAL OF GEOPHYSICAL RESEARCH-SOLID EARTH, 2020, 125 (09)
  • [26] Utilizing Topic-Based Similar Commit Information and CNN-LSTM Algorithm for Bug Localization
    Yang, Geunseok
    Lee, Byungjeong
    SYMMETRY-BASEL, 2021, 13 (03): : 1 - 18
  • [27] A Deep Learning based Scene Recognition Algorithm for Indoor Localization
    Labinghisa, Boney
    Lee, Dong Myung
    3RD INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE IN INFORMATION AND COMMUNICATION (IEEE ICAIIC 2021), 2021, : 167 - 170
  • [28] 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
  • [29] Assisting Code Search with Automatic Query Reformulation for Bug Localization
    Sisman, Bunyamin
    Kak, Avinash C.
    2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 309 - 318
  • [30] Evolutionary Algorithm for Bug Localization in the Reconfigurations of Models at Runtime
    Arcega, Lorena
    Font, Jaime
    Cetina, Carlos
    21ST ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2018), 2018, : 90 - 100