DLFix
Yi Li, Shaohua Wang, Tien N. Nguyen · 2020
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.
Cited by 209 works. doi:10.1145/3377811.3380345
Authors
References
- Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks
- Get To The Point: Summarization with Pointer-Generator Networks
- GenProg: A Generic Method for Automatic Software Repair
- Automatic patch generation learned from human-written patches
- Deep learning code fragments for code clone detection
- An Evaluation of Similarity Coefficients for Software Fault Localization
- Automatic patch generation by learning correct code
- SemFix: program repair via semantic analysis
- DeepFix: Fixing Common C Language Errors by Deep Learning
- Automatic patch generation learned from human-written patches