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 条
  • [41] Improving Bug Localization With Effective Contrastive Learning Representation
    Luo, Zhengmao
    Wang, Wenyao
    Cen, Caichun
    IEEE ACCESS, 2023, 11 : 32523 - 32533
  • [42] Comparing learning to rank techniques in hybrid bug localization
    Shi, Zhendong
    Keung, Jacky
    Bennin, Kwabena Ebo
    Zhang, Xingjun
    APPLIED SOFT COMPUTING, 2018, 62 : 636 - 648
  • [43] Applying statistical learning theory to deep learning
    Gerbelot, Cedric
    Karagulyan, Avetik
    Karp, Stefani
    Ravichandran, Kavya
    Stern, Menachem
    Srebro, Nathan
    JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2024, 2024 (10):
  • [44] A New Algorithm for Automatic Optimizing Cross-Cut Saw Based on Deep Learning Algorithm
    Shao M.
    Dong J.
    Linye Kexue/Scientia Silvae Sinicae, 2020, 56 (12): : 123 - 129
  • [45] Deep Learning for Automatic Localization, Identification, and Segmentation of Vertebral Bodies in Volumetric MR Images
    Suzani, Amin
    Rasoulian, Abtin
    Seitel, Alexander
    Fels, Sidney
    Rohling, Robert N.
    Abolmaesumi, Purang
    MEDICAL IMAGING 2015: IMAGE-GUIDED PROCEDURES, ROBOTIC INTERVENTIONS, AND MODELING, 2015, 9415
  • [46] Automatic detection, localization and segmentation of nano-particles with deep learning in microscopy images
    Oktay, Ayse Betul
    Gurses, Anil
    MICRON, 2019, 120 : 113 - 119
  • [47] Impact of Defect Instances for Successful Deep Learning-based Automatic Program Repair
    Kim, Misoo
    Kim, Youngkyoung
    Heo, Jinseok
    Jeong, Hohyeon
    Kim, Sungoh
    Lee, Eunseok
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2022), 2022, : 419 - 423
  • [48] An Automatic Semantic Code Repair Service Based on Deep Learning for Programs with Single Error
    Sun, Zhiyu
    Xin, Chao
    Sun, Yanchun
    2019 IEEE WORLD CONGRESS ON SERVICES (IEEE SERVICES 2019), 2019, : 360 - 361
  • [49] Automatic evaluation of Nail Psoriasis Severity Index using deep learning algorithm
    Paik, Kyungho
    Kim, Bo Ri
    Youn, Sang Woong
    JOURNAL OF DERMATOLOGY, 2024, 51 (10) : 1310 - 1317
  • [50] Automatic and intelligent content visualization system based on deep learning and genetic algorithm
    Murat İnce
    Neural Computing and Applications, 2022, 34 : 2473 - 2493