Authors
Yi Li, Shaohua Wang, Tien N. Nguyen
Publication date
2020
Conference
(ICSE 2020) International Conference on Software Engineering 2020
Description
Automated Program Repair (APR) is very useful in helping developers in the process of software development and maintenance. Despite recent advances in deep learning (DL), the DL-based APR approaches still have limitations in learning bug-fixing code changes and the context of the surrounding source code of the bug-fixing code changes. These limitations lead to incorrect fixing locations or fixes. In this paper, we introduce DLFix, a two-tier DL model that treats APR as code transformation learning from the prior bug fixes and the surrounding code contexts of the fixes. The first layer is a tree-based RNN model that learns the contexts of bug fixes and its result is used as an additional weighting input for the second layer designed to learn the bug-fixing code transformations.
We conducted several experiments to evaluate DLFix in two benchmarks: Defect4j and Bugs.jar, and a newly built bug datasets with a total …
Total citations
20192020202120222023202411032758659
Scholar articles
Y Li, S Wang, TN Nguyen - Proceedings of the ACM/IEEE 42nd international …, 2020