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
基金
新加坡国家研究基金会;
关键词
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] RLocator: Reinforcement Learning for Bug Localization
    Chakraborty, Partha
    Alfadel, Mahmoud
    Nagappan, Meiyappan
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (10) : 2695 - 2708
  • [32] A Fingerprinting Indoor Localization Algorithm Based Deep Learning
    Felix, Gibran
    Siller, Mario
    Navarro Alvarez, Ernesto
    2016 EIGHTH INTERNATIONAL CONFERENCE ON UBIQUITOUS AND FUTURE NETWORKS (ICUFN), 2016, : 1006 - 1011
  • [33] Bug Localization by Learning to Rank and Represent Bug Inducing Changes
    Loyola, Pablo
    Gajananan, Kugamoorthy
    Satoh, Fumiko
    CIKM'18: PROCEEDINGS OF THE 27TH ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2018, : 657 - 665
  • [34] Automatic software bug prediction using adaptive golden eagle optimizer with deep learning
    Siva, R.
    Kaliraj, S.
    Hariharan, B.
    Premkumar, N.
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (1) : 1261 - 1281
  • [35] Automatic software bug prediction using adaptive golden eagle optimizer with deep learning
    R. Siva
    Kaliraj S
    B. Hariharan
    N. Premkumar
    Multimedia Tools and Applications, 2024, 83 : 1261 - 1281
  • [36] Applying deep learning in automatic and rapid measurement of lattice spacings in HRTEM images
    Zhu, Xiaoyang
    Zhang, Zuoheng
    Mao, Yu
    Li, Yan
    Huang, Xiao
    Gu, Ning
    SCIENCE CHINA-MATERIALS, 2020, 63 (11) : 2365 - 2370
  • [37] Applying deep learning technology for automatic fall detection using mobile sensors
    Wu, Xiaodan
    Zheng, Yumeng
    Chu, Chao-Hsien
    Cheng, Lingyu
    Kim, Jungyoon
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2022, 72
  • [38] 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)
  • [39] An automatic welding defect location algorithm based on deep learning
    Yang, Lei
    Wang, Huaixin
    Huo, Benyan
    Li, Fangyuan
    Liu, Yanhong
    NDT & E INTERNATIONAL, 2021, 120
  • [40] Deep Learning Algorithm for Automatic Classification of Power Quality Disturbances
    Albalooshi, Fatema A.
    Qader, M. R.
    APPLIED SCIENCES-BASEL, 2025, 15 (03):