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 条
  • [31] Deep learning and gradient-based extraction of bug report features related to bug fixing time
    Noyori, Yuki
    Washizaki, Hironori
    Fukazawa, Yoshiaki
    Ooshima, Keishi
    Kanuka, Hideyuki
    Nojiri, Shuhei
    FRONTIERS IN COMPUTER SCIENCE, 2023, 5
  • [32] Automatic Detection of Schizophrenia by Applying Deep Learning over Spectrogram Images of EEG Signals
    Aslan, Zulfikar
    Akin, Mehmet
    TRAITEMENT DU SIGNAL, 2020, 37 (02) : 235 - 244
  • [33] Applying deep learning in digital breast tomosynthesis for automatic breast cancer detection: A review
    Bai, Jun
    Posner, Russell
    Wang, Tianyu
    Yang, Clifford
    Nabavi, Sheida
    MEDICAL IMAGE ANALYSIS, 2021, 71
  • [34] Automatic Defect Recognition and Localization for Aeroengine Turbine Blades Based on Deep Learning
    Wang, Donghuan
    Xiao, Hong
    Huang, Shengqin
    AEROSPACE, 2023, 10 (02)
  • [35] ACCV: automatic classification algorithm of cataract video based on deep learning
    Shenming Hu
    Xinze Luan
    Hong Wu
    Xiaoting Wang
    Chunhong Yan
    Jingying Wang
    Guantong Liu
    Wei He
    BioMedical Engineering OnLine, 20
  • [36] Automatic Power Transmission Towers Detection Based on the Deep Learning Algorithm
    Mo, Yifu
    Xie, Ruibiao
    Pan, Qishen
    Zhang, Baoxing
    2021 2ND INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND INTELLIGENT CONTROL (ICCEIC 2021), 2021, : 11 - 15
  • [37] Automatic Traffic Sign Recognition Artificial Inteligence - Deep Learning Algorithm
    Radu, Mihai Daniel
    Costea, Ilona Madalina
    Stan, Valentin Alexandru
    PROCEEDINGS OF THE 2020 12TH INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTERS AND ARTIFICIAL INTELLIGENCE (ECAI-2020), 2020,
  • [38] Automatic damaged vehicle estimator using enhanced deep learning algorithm
    Qaddour, Jihad
    Siddiqa, Syeda Ayesha
    INTELLIGENT SYSTEMS WITH APPLICATIONS, 2023, 18
  • [39] ACCV: automatic classification algorithm of cataract video based on deep learning
    Hu, Shenming
    Luan, Xinze
    Wu, Hong
    Wang, Xiaoting
    Yan, Chunhong
    Wang, Jingying
    Liu, Guantong
    He, Wei
    BIOMEDICAL ENGINEERING ONLINE, 2021, 20 (01)
  • [40] A clinical and time savings evaluation of a deep learning automatic contouring algorithm
    Ginn, John S.
    Gay, Hiram A.
    Hilliard, Jessica
    Shah, Jainil
    Mistry, Nilesh
    Moehler, Christian
    Hugo, Geoffrey D.
    Hao, Yao
    MEDICAL DOSIMETRY, 2023, 48 (01) : 55 - 60